Community
Participate
Working Groups
Build Identifier: 20110218-0911 Hi, this code only in debug mode (not in run) with only JDK 6.18, 6.24, 6.25 (not with JRE 1.6) public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException { JFileChooser chooser = new JFileChooser(); } fail with Exception in thread "main" java.lang.NullPointerException at sun.awt.shell.Win32ShellFolder2$1.call(Win32ShellFolder2.java:230) at sun.awt.shell.Win32ShellFolder2$1.call(Win32ShellFolder2.java:225) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Win32ShellFolderManager2.java:492) at java.lang.Thread.run(Thread.java:662) I use WIN 7 64 bit -- Configuration Details -- Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.jee.product) Installed Features: org.eclipse.platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi Reproducible: Always Steps to Reproduce: 1.use my code 2. select JDK (not JRE) 3. debug (not start)
The trace is different but probably the same problem. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6973685
(In reply to comment #1) > The trace is different but probably the same problem. > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6973685 Thanks for looking this up Remy