Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6848898

few regression tests are failing with NEP.

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Bug Info
      =========
       closed/javax/swing/JRootPane/4975355/bug4975355.java
       closed/javax/swing/JSpinner/4973721/bug4973721.java
       closed/javax/swing/plaf/synth/6278565/bug6278565.java
       closed/javax/swing/plaf/synth/JTableConfigureEnclosingScrollPane/bug6259817.java
       closed/javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java
       closed/javax/swing/plaf/synth/SynthButtonUI/6352358/bug6352358.java
       closed/javax/swing/plaf/synth/SynthMenuItemUI/6276836/bug6276836.java
       closed/javax/swing/plaf/synth/SynthParser/unitTest/UnitTest.java

       The above tests are failing with the following exception.

      java.lang.NullPointerException
      at java.awt.Window.setBackground(Window.java:3600)
      at javax.swing.JFrame.frameInit(JFrame.java:259)
      at javax.swing.JFrame.<init>(JFrame.java:225)
      at UnitTest.main(UnitTest.java:49)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:717)

      Its fails in all platforms like (Windowxp,Solaris 10 and RHEL5.0)

      JDK Info
      =========
      java version "1.7.0-internal"
      Java(TM) SE Runtime Environment (build 1.7.0-internal-administrator_2009_06_01_0
      1_18-b00)
      Java HotSpot(TM) Client VM (build 16.0-b03, mixed mode, sharing)

      Steps to reproduce
      ===================
      Set the following envrionment and run the test.

      1. Set JTREG PATH
      2. Set JDK HOME
      3. Set WORK DIR and REPORT DIR
      4. Set the SUITE(ex: SUITE=/net/sqindia.india/export/disk01/vinay/src/jdk/test/closed/javax/swing/plaf/synth/SynthParser/unitTest/UnitTest.java)
      5. Run the following command once set the above environment.

      ksh ${JTREG_PATH}/bin/jtreg -v -jdk:${JDK_HOME} -r:${REPORT_DIR} -w:${WORK_DIR} ${SUITE}

      Please find the attached test log file more details.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anthony Anthony Petrov (Inactive)
                Reporter:
                vthotasunw Vinay Thota (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: