JDK-8196095 : javax/swing/JFileChooser/DeserializedJFileChooser/DeserializedJFileChooserTest.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9,10,11
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2018-01-24
  • Updated: 2020-03-09
  • Resolved: 2020-03-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Duplicate :  
Description
This test fails on macos : reported here :
https://bugs.openjdk.java.net/browse/JDK-8152332
but I find it also fails on windows 7

The issues may be different enough to have this as a separate bug.

---------System.err:(6/451)----------
java.lang.NullPointerException
	at java.desktop/javax.swing.JFileChooser.isTraversable(JFileChooser.java:1623)
	at java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader.run0(BasicDirectoryModel.java:304)
	at java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader.run(BasicDirectoryModel.java:279)
	at java.base/java.lang.Thread.run(Thread.java:844)
STATUS:Failed.`main' threw exception: java.lang.NullPointerException
----------rerun:(24/2862)*----------
Comments
Will be fixed as part of JDK-8240690
09-03-2020

I tried to reproduce this with JDK 11 on Windows 10 1. When run as standalone test with jtreg, it is not reproducible 2. When run in a group, like when full JFileChooser is run, this fails. Looks like aa execution failure.
29-01-2018