-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
b28
-
x86
-
linux
-
Verified
Name: iaR10016 Date: 08/25/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b15
(not reproducible with JDK1.5.0-b14, JDK1.4.2-b28)
JCK : JCK1.5-runtime
Platform[s] : Suse Linux 8.2 (GNOME2), Suse Linux 8.1 (GNOME2)
(I am not able to reproduce the failure on any other Windows, Solaris and Linux machines I have.
This failure is also not reproducible on Suse Linux 8.2 with KDE)
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling tests :
api/javax_swing/plaf/metal/MetalFileChooserUI/index.html#public [MetalFileChooserUI2008]
Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-5/tests/api/javax_swing/plaf/metal/MetalFileChooserUI/publicTests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/jck15/linux/suse8.0_gnome_server_linux-2/workDir/api/javax_swing/plaf/metal/MetalFileChooserUI/index_public.jtr
How to reproduce:
=================
Run the following script (you may need to change it's 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"
#JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
#JDK="/net/linux-15/export/home/java/jdk1.5.0/linux"
export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java -showversion javasoft.sqe.tests.api.javax.swing.plaf.metal.MetalFileChooserUI.publicTests -TestCaseID MetalFileChooserUI2008 -TestURL file://$JCK/tests/api/javax_swing/plaf/metal/MetalFileChooserUI/index.html#public -TestWorkDirURL file://`pwd`
--- script end ---
Test output:
============
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b15)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b15, mixed mode)
java.lang.NullPointerException
at sun.swing.FilePane.ensureIndexIsVisible(FilePane.java:1189)
at sun.swing.FilePane.ensureFileIsVisible(FilePane.java:1197)
at javax.swing.plaf.metal.MetalFileChooserUI.ensureFileIsVisible(MetalFileChooserUI.java:747)
at javasoft.sqe.tests.api.javax.swing.plaf.metal.MetalFileChooserUI.publicTests.MetalFileChooserUI2008(publicTests.java:375)
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.tests.api.javax.swing.plaf.metal.MetalFileChooserUI.publicTests.invokeTestCase(publicTests.java:134)
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.plaf.metal.MetalFileChooserUI.publicTests.main(publicTests.java:152)
MetalFileChooserUI2008: Failed. Test case throws exception: java.lang.NullPointerException
====== MetalFileChooserUI2008 ====== public void ensureFileIsVisible(JFileChooser fc, File f)
STATUS:Failed.test cases: 1; all failed; first test case failure: MetalFileChooserUI2008
Specific machine info:
======================
Hostname: linux-2
OS: Suse Linux 8.2 (GNOME2)
Hostname: linux-12
OS: Suse Linux 8.1 (GNOME2)
======================================================================