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

JavaTest abort when launch with Merlin b69 on Linux only

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • client-libs
    • beta2
    • x86
    • linux
    • Verified

      JavaTest cannot be launch with b69 on Linux without -batch parameter
      It fails with example 1 (with GUI)
      $JDK_PATH/bin/java javasoft.sqe.javatest.tool.Main $OUTPUTDIR/tckjaxp11.jtp

      It works with example 2 (without GUI)
      $JDK_PATH/bin/java javasoft.sqe.javatest.tool.Main -batch $OUTPUTDIR/tckjaxp11.jtp


      After talk to Allan Jacobs. We believe it is a AWT bug in Merlin b69.

      To reproduce

      1) edit enviroment in the attached Run.sh to correct path
      eg.

      JDK_PATH=/net/sqesvr/export/vsn/VM/merlin/weekly/jdk1.4/b69/linux-i386
      SUITEDIR=/net/sqesvr/export/xlt/xml/Merlin/tcks/TCK-ws/suite-multiJVM
      OUTPUTDIR=/net/sqesvr/export/st2/suites/merlin/xml/tcks/b69/multiJVM/linux/redhat6.2/test_b69

      2) login a linux

      3) at command line type in: sh Run.sh

      4) got the following massage:
      [tester@lexington test_b69]$ sh Run.sh
      JDK_PATH=/net/sqesvr/export/vsn/VM/merlin/weekly/jdk1.4/b69/linux-i386
      SUITEDIR=/net/sqesvr/export/xlt/xml/Merlin/tcks/TCK-ws/suite-multiJVM
      VM_OPT=-Xmixed
      OUTPUTDIR=/net/sqesvr/export/st2/suites/merlin/xml/tcks/b69/multiJVM/linux/redhat6.2/test_b69
      RES_DIR=
      Linux lexington 2.2.14-6.1.1 #1 Thu Apr 13 20:01:58 EDT 2000 i686 unknown
      ****PWD is /net/sqesvr/export/st2/suites/merlin/xml/tcks/b69/multiJVM/linux/redhat6.2/test_b69
      This is Linux
      TCKENVRUN=optck-multiJVM-solaris
      TCKSUITEDIR=/net/sqesvr.eng/export/xlt/xml/Merlin/tcks/TCK-ws/TCK-jaxp1.1
      PWD is /net/sqesvr/export/st2/suites/merlin/xml/tcks/b69/multiJVM/linux/redhat6.2/test_b69
      Jun 27, 2001 1:23:24 PM java.util.prefs.FileSystemPreferences$4 run
      WARNING: Recreated user preferences directory.
      Jun 27, 2001 1:23:25 PM java.util.prefs.FileSystemPreferences$6 run
      WARNING: java.io.IOException: No such file or directory
      Error: unexpected exception occurred
      java.lang.NullPointerException: NullPointerException
              at sun.awt.motif.MFramePeer.pSetIconImage(Native Method)
              at sun.awt.motif.MFramePeer.setIconImage(MFramePeer.java:162)
              at java.awt.Frame.setIconImage(Frame.java:538)
              at javasoft.sqe.javatest.tool.ToolFrame.initGUI(ToolFrame.java:200)
              at javasoft.sqe.javatest.tool.ToolFrame.<init>(ToolFrame.java:76)
              at javasoft.sqe.javatest.tool.Main.showTool(Main.java:229)
              at javasoft.sqe.javatest.tool.Main.go(Main.java:145)
              at javasoft.sqe.javatest.Main.run(Main.java:126)
              at javasoft.sqe.javatest.tool.Main.main(Main.java:61)
      grep: /net/sqesvr/export/st2/suites/merlin/xml/tcks/b69/multiJVM/linux/redhat6.2/test_b69/report/summary.tx: No such file or directory
      grep: /net/sqesvr/export/st2/suites/merlin/xml/tcks/b69/multiJVM/linux/redhat6.2/test_b69/report/summary.tx: No such file or directory
      JAVA HOME : /net/sqesvr/export/vsn/VM/merlin/weekly/jdk1.4/b69/linux-i386
      PATH : /net/sqesvr/export/vsn/VM/merlin/weekly/jdk1.4/b69/linux-i386/bin:/usr/bin:/net/sqesvr/export/st2/sutes/merlin/xml/jdk1.4/b69/linux/j2sdk1.4.0/bin:/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin
      CLASSPATH = /net/sqesvr.eng/export/xlt/xml/Merlin/tcks/TCK-ws/TCK-jaxp1.1/javatest.jar:/net/sqesvr.eng/expot/xlt/xml/Merlin/tcks/TCK-ws/TCK-jaxp1.1/javatest.jar
      Done with TCK testing

            dmikhalksunw Denis Mikhalkin (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: