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

REGRESSION: java/awt/Frame/RemoveNotifyTest/RemoveNotifyTest.html fails

XMLWordPrintable

    • b37
    • x86
    • linux
    • Verified



      Name: iaR10016 Date: 09/01/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b17, JDK1.5.0-b16
                     (passes with JDK1.5.0-b15, JDK1.4.2-b28)
      Testbase : Regression-test
      Platform[s] : Suse Linux 8.2 (GNOME2)
                     (not reproducible on any other systems I have including Suse Linux 8.1/Gnome2)
      switch/Mode : -server
                     (not reproducible with "-client" switch)
      Falling test: java/awt/Frame/RemoveNotifyTest/RemoveNotifyTest.html

      Regression-test java/awt/Frame/RemoveNotifyTest/RemoveNotifyTest.html test fails with JDK1.5.0-b16

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/java/awt/Frame/RemoveNotifyTest/RemoveNotifyTest.html

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b16/regtest/linux/suse8.2_gnome_linux-2/workDir/test/java/awt/Frame/RemoveNotifyTest/RemoveNotifyTest.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change it's variables):
      --- script start ---
      #!/bin/sh
      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir
      JT_HOME="/net/linux-15/export/home/java/jct"
      JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/linux"
      TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/test"
      TESTVMOPTS="-server"
      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"
      TEST="java/awt/Frame/RemoveNotifyTest/RemoveNotifyTest.html"

      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 -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JT_HOME/jemmy/jemmy.jar,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-2" -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/$TEST"
      --- script end ---

      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(2/203)----------
      Note: /net/linux-15/export/home/java/regtest.tiger/test.b16/java/awt/Frame/RemoveNotifyTest/RemoveNotifyTest.java uses or overrides a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      result: Passed. Compilation successful

      #section:applet
      ----------messages:(3/147)----------
      command: applet RemoveNotifyTest.html
      reason: User specified action: run applet/timeout=1800 RemoveNotifyTest.html
      elapsed time (seconds): 11.768
      ----------System.out:(0/0)----------
      ----------System.err:(36/2066)----------
      Atom was 137739680
      java.lang.NullPointerException: Failed to retrieve atom name.
           at sun.awt.X11.XlibWrapper.XGetAtomName(Native Method)
           at sun.awt.X11.XAtom.<init>(XAtom.java:219)
           at sun.awt.X11.XAtom.get(XAtom.java:146)
           at sun.awt.X11.XAtom.getAtomListProperty(XAtom.java:565)
           at sun.awt.X11.XAtom.getAtomListPropertyList(XAtom.java:576)
           at sun.awt.X11.XProtocol.checkProtocol(XProtocol.java:37)
           at sun.awt.X11.XNETProtocol.doStateProtocol(XNETProtocol.java:265)
           at sun.awt.X11.XNETProtocol.supportsState(XNETProtocol.java:25)
           at sun.awt.X11.XWM.setExtendedState(XWM.java:1071)
           at sun.awt.X11.XFramePeer.setExtendedState(XFramePeer.java:321)
           at sun.awt.X11.XFramePeer.setupState(XFramePeer.java:127)
           at sun.awt.X11.XFramePeer.setVisible(XFramePeer.java:369)
           at sun.awt.X11.XComponentPeer.show(XComponentPeer.java:450)
           at sun.awt.X11.XComponentPeer.postInit(XComponentPeer.java:142)
           at sun.awt.X11.XPanelPeer.postInit(XPanelPeer.java:35)
           at sun.awt.X11.XWindowPeer.postInit(XWindowPeer.java:125)
           at sun.awt.X11.XDecoratedPeer.postInit(XDecoratedPeer.java:63)
           at sun.awt.X11.XFramePeer.postInit(XFramePeer.java:73)
           at sun.awt.X11.XBaseWindow.init(XBaseWindow.java:112)
           at sun.awt.X11.XBaseWindow.<init>(XBaseWindow.java:145)
           at sun.awt.X11.XWindow.<init>(XWindow.java:76)
           at sun.awt.X11.XComponentPeer.<init>(XComponentPeer.java:100)
           at sun.awt.X11.XCanvasPeer.<init>(XCanvasPeer.java:22)
           at sun.awt.X11.XPanelPeer.<init>(XPanelPeer.java:27)
           at sun.awt.X11.XWindowPeer.<init>(XWindowPeer.java:47)
           at sun.awt.X11.XDecoratedPeer.<init>(XDecoratedPeer.java:31)
           at sun.awt.X11.XFramePeer.<init>(XFramePeer.java:41)
           at sun.awt.X11.XToolkit.createFrame(XToolkit.java:330)
           at java.awt.Frame.addNotify(Frame.java:474)
           at java.awt.Window.show(Window.java:489)
           at RemoveNotifyTest.start(RemoveNotifyTest.java:81)
           at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:133)
           at java.lang.Thread.run(Thread.java:549)
      STATUS:Failed.Applet thread threw exception: java.lang.NullPointerException: Failed to retrieve atom name.
      result: Failed. Execution failed: Applet thread threw exception: java.lang.NullPointerException: Failed to retrieve atom name.

      Specific machine info:
      ======================
      Hostname: linux-2
      OS: Suse Linux 8.2 (GNOME2)

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

            agerasimsunw Alexander Gerasimov (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: