-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
tiger
-
generic
-
generic
-
Verified
Name: mmR10223 Date: 08/06/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b13
JCK : JCK1.5-runtime (b02)
Platform[s] : all
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]: api/javax_swing/text/LabelView/index.html#misc2 [LabelView2008]
This test passes using JDK1.5.0-b12, JDK1.4.2-b28 on all platforms
Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-5/tests/api/javax_swing/text/LabelView/misc2Tests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b13/jck15/sparc/sol10_sparc_gnomeatch_smp_linux-8/workDir/api/javax_swing/text/LabelView/index_misc2.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
JCK="/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15"
JDK="/java/re/jdk/1.5.0/promoted/latest/binaries/solaris-sparc"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.javax.swing.text.LabelView.misc2Tests -TestCaseID LabelView2008
--- script end ---
Test output:
============
java.lang.NullPointerException
at javax.swing.text.GlyphView.<init>(GlyphView.java:54)
at javax.swing.text.LabelView.<init>(LabelView.java:29)
at javasoft.sqe.tests.api.javax.swing.text.LabelView.misc2Tests.LabelView2008(misc2Tests.java:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
at javasoft.sqe.tests.api.javax.swing.text.LabelView.misc2Tests.main(misc2Tests.java:26)
LabelView2008: Failed. Test case throws exception: java.lang.NullPointerException
=== public Color getForeground() ===
STATUS:Failed.test cases: 1; all failed; first test case failure: LabelView2008
Specific machine info:
======================
Hostname: linux-8
OS: Solaris 10 (sparc) (GNOME)
Hostname: linux-24
OS: RedHat Linux
======================================================================