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

Regression .../JInternalFrame/4732229/bug4732229.java fails on WinXP

    Details

    • Subcomponent:
    • Resolved In Build:
      b16
    • CPU:
      x86
    • OS:
      windows_98, windows_xp
    • Verification:
      Verified

      Description



      Name: asR10013 Date: 01/15/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b12
      Testbase : RegTest-test
      Platform[s] : Windows XP
      Falling test[s]:
              javax/swing/JInternalFrame/4732229/bug4732229.java

      RegTest-test javax/swing/JInternalFrame/4732229/bug4732229.java test fails on Windows XP
      with NullPointerException:

      java.lang.NullPointerException
      at com.sun.java.swing.plaf.windows.WindowsInternalFrameUI$XPBorder.paintBorder(WindowsInternalFrameUI.java:132)

      The test fails with the same result on both our Windows XP platforms: Pro and Home.
      The test fails regardless whether the server or the client VM is used.

      The test has been used for testing in NSK since Mantis-b08.
      The test was run for all available Windows platforms with the following results:

            win_xp win_98 win_me win_nt win_2000
      b08: failed passed passed passed passed
      b12: failed passed passed passed passed


      Test source location:
      =====================
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/javax/swing/JInternalFrame/4732229/bug4732229.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/win32/winXP_PRO_-server_smp_linux-16/workDir/test/javax/swing/JInternalFrame/4732229/bug4732229.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
       
      --- script start ---
      #!/bin/sh

      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir
      JT_HOME="h:/java/jct"
      JAVA_HOME="h:/java/jdk1.4.2/win32"
      TEST_BASE_PATH="h:/java/regtest/test"

      TESTWITH=$JAVA_HOME
      TESTJAVA=$JAVA_HOME

      JTOPTS="-server"
      TESTVMOPTS="-server"

      CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar"

      export JAVA_HOME
      export JT_HOME
      export TESTWITH
      export CLASSPATH

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1

      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1

      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -cp $CLASSPATH $JTOPTS -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,windir=$windir,PATH=${SHELL%/*},TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-16" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/javax/swing/JInternalFrame/4732229/bug4732229.java"

      --- script end ---

      Script output:
      ==============

      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(36/2646)----------
      java.lang.NullPointerException
      at com.sun.java.swing.plaf.windows.WindowsInternalFrameUI$XPBorder.paintBorder(WindowsInternalFrameUI.java:132)
      at javax.swing.JComponent.paintBorder(JComponent.java:707)
      at javax.swing.JComponent.paint(JComponent.java:809)
      at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4795)
      at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4748)
      at javax.swing.JComponent._paintImmediately(JComponent.java:4692)
      at javax.swing.JComponent.paintImmediately(JComponent.java:4495)
      at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
      at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)


      Specific machine info:
      ======================
      Hostname: linux-16
      OS: Windows XP Pro



      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                leifs Leif Samuelsson (Inactive)
                Reporter:
                alssunw Als Als (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: