-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
5.0
-
sparc
-
solaris_2.6
Name: apR10229 Date: 02/03/2004
Filed By : SPB JCK team (###@###.###)
JDK : jdk15-beta2-b36
JCK : 1.5
Platform[s] : Linux
switch/Mode :
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test [s] :
api/javax_swing/JFileChooser/descriptions.html#getset[JFileChooser2008]
api/javax_swing/JFileChooser/descriptions.html#getset[JFileChooser2011]
api/javax_swing/JFileChooser/descriptions.html#getset[JFileChooser2012]
api/javax_swing/JFileChooser/descriptions.html#getset[JFileChooser2010_14]
Problem description
===================
Following tests:
api/javax_swing/JFileChooser/descriptions.html#getset[JFileChooser2008]
api/javax_swing/JFileChooser/descriptions.html#getset[JFileChooser2011]
api/javax_swing/JFileChooser/descriptions.html#getset[JFileChooser2012]
api/javax_swing/JFileChooser/descriptions.html#getset[JFileChooser2010_14]
fail with NPE on jdk15-beta2-b36.
Typical output is:
java.lang.NullPointerException
at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1116)
at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1059)
at javax.swing.plaf.basic.BasicListUI.getPreferredSize(BasicListUI.java:331)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1542)
at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:769)
at java.awt.Container.layout(Container.java:1398)
at java.awt.Container.doLayout(Container.java:1388)
at java.awt.Container.validateTree(Container.java:1470)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validate(Container.java:1445)
at java.awt.Window.pack(Window.java:487)
at javax.swing.JFileChooser.createDialog(JFileChooser.java:772)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:708)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:620)
at javasoft.sqe.tests.api.javax.swing.JFileChooser.getsetTests.JFileChooser2012(getsetTests.java:389)
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:494)
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.JFileChooser.getsetTests.main(getsetTests.java:175)
JFileChooser2012: Failed. Test case throws exception: java.lang.NullPointerException
JCK test source location:
==========================
/java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests
Specific Machine Info:
=====================
Linux hammer 2.4.23 #6 27 14:05:57 MSK 2004 i686 unknown
======================================================================
- duplicates
-
JDK-4980406 PIT: JFileChooser hangs when navigating through the sub dirs
- Closed