-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
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
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
- relates to
-
JDK-4473540 Solaris: NullPointerException when setting icon for frame
-
- Resolved
-