-
Bug
-
Resolution: Duplicate
-
P2
-
7
-
b64
-
generic
-
windows_vista
Font2DTest demo doesn't run with JDK7-b64.
------------------------------------------------------------------------------------
Exception in thread "main" java.lang.ExceptionInInitializerError
at javax.swing.filechooser.FileSystemView.getRoots(FileSystemView.java:385)
at javax.swing.filechooser.WindowsFileSystemView.getHomeDirectory(FileSystemView.java:689)
at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(MetalFileChooserUI.java:274)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:157)
at javax.swing.plaf.metal.MetalFileChooserUI.installUI(MetalFileChooserUI.java:153)
at javax.swing.JComponent.setUI(JComponent.java:664)
at javax.swing.JFileChooser.updateUI(JFileChooser.java:1782)
at javax.swing.JFileChooser.setup(JFileChooser.java:374)
at javax.swing.JFileChooser.<init>(JFileChooser.java:347)
at javax.swing.JFileChooser.<init>(JFileChooser.java:300)
at Font2DTest.setupDialog(Font2DTest.java:323)
at Font2DTest.<init>(Font2DTest.java:161)
at Font2DTest.main(Font2DTest.java:1024)
Caused by: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
at sun.awt.shell.ShellFolder.<clinit>(ShellFolder.java:205)
... 13 more
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
Exception in thread "main" java.lang.ExceptionInInitializerError
at javax.swing.filechooser.FileSystemView.getRoots(FileSystemView.java:385)
at javax.swing.filechooser.WindowsFileSystemView.getHomeDirectory(FileSystemView.java:689)
at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(MetalFileChooserUI.java:274)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:157)
at javax.swing.plaf.metal.MetalFileChooserUI.installUI(MetalFileChooserUI.java:153)
at javax.swing.JComponent.setUI(JComponent.java:664)
at javax.swing.JFileChooser.updateUI(JFileChooser.java:1782)
at javax.swing.JFileChooser.setup(JFileChooser.java:374)
at javax.swing.JFileChooser.<init>(JFileChooser.java:347)
at javax.swing.JFileChooser.<init>(JFileChooser.java:300)
at Font2DTest.setupDialog(Font2DTest.java:323)
at Font2DTest.<init>(Font2DTest.java:161)
at Font2DTest.main(Font2DTest.java:1024)
Caused by: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
at sun.awt.shell.ShellFolder.<clinit>(ShellFolder.java:205)
... 13 more
------------------------------------------------------------------------------------
- duplicates
-
JDK-6857870 Regression tests are failing with ExceptionInInitializerError
-
- Closed
-