This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | An unexpected exception happened in thread AWT-EventQueue-0 java.lang.NullPointerException when install Netbeans | ||
---|---|---|---|
Product: | installer | Reporter: | iamzifei |
Component: | JDK bundle | Assignee: | Yulia Novozhilova <ynov> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | log for nullpointer error when installing |
Description
iamzifei
2010-06-23 08:26:55 UTC
Created attachment 100347 [details]
log for nullpointer error when installing
This is jdk bug. According to http://netbeans.org/bugzilla/show_bug.cgi?id=186615 reverting to 1.6.0_18 should help. *** This bug has been marked as a duplicate of bug 186615 *** "Could not get shell folder ID list" bug is this one (fixed in 6u18): http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6544857 We'll need to update bundled JRE to 6u20 (or 21) with the next NB/JDK bundle. (In reply to comment #2) > This is jdk bug. According to > http://netbeans.org/bugzilla/show_bug.cgi?id=186615 reverting to 1.6.0_18 > should help. > > *** This bug has been marked as a duplicate of bug 186615 *** Actually I've done this action before I post here and the problem is still there. Does JFileChooser demo works fine on your system? "C:\Program Files (x86)\Java\jdk1.6.0_20\bin\java.exe" -jar "C:\Program Files (x86)\Java\jdk1.6.0_20\demo\jfc\FileChooserDemo\filechooserdemo.jar" (In reply to comment #5) > Does JFileChooser demo works fine on your system? > > "C:\Program Files (x86)\Java\jdk1.6.0_20\bin\java.exe" -jar "C:\Program Files > (x86)\Java\jdk1.6.0_20\demo\jfc\FileChooserDemo\filechooserdemo.jar" Seems not, however I'm using jdk1.6.0_18, I run this in Windows7 cmd and got this: C:\Users\Zifei>"C:\Program Files (x86)\Java\jdk1.6.0_18\bin\java.exe" -jar "C:\P rogram Files (x86)\Java\jdk1.6.0_18\demo\jfc\FileChooserDemo\FileChooserDemo.jar " Exception in thread "main" java.lang.NullPointerException at sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:548) at sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:545) at sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Win32ShellFo lderManager2.java:511) at sun.awt.shell.ShellFolder.invoke(ShellFolder.java:399) at sun.awt.shell.ShellFolder.invoke(ShellFolder.java:385) at sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Win32ShellFolder2.j ava:545) at sun.awt.shell.Win32ShellFolder2.access$300(Win32ShellFolder2.java:55) at sun.awt.shell.Win32ShellFolder2$11.call(Win32ShellFolder2.java:725) at sun.awt.shell.Win32ShellFolder2$11.call(Win32ShellFolder2.java:716) 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(ThreadPoolExec utor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:908) at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Win32ShellFol derManager2.java:480) at java.lang.Thread.run(Thread.java:619) (In reply to comment #4) > (In reply to comment #2) > > This is jdk bug. According to > > http://netbeans.org/bugzilla/show_bug.cgi?id=186615 reverting to 1.6.0_18 > > should help. > > > > *** This bug has been marked as a duplicate of bug 186615 *** > > > > Actually I've done this action before I post here and the problem is still > there. I also tried JDK6U10 and even JDK5U22 but all got the same errors with both Netbeans6.8 or Netbeans6.9 installer. I guess there're maybe something wrong with my windows registry? As the issue is reproducible with FileChooser demo, then it is likely the JDK bug which we cannot do anything with. Please report the it to http://bugreport.sun.com/bugreport/index.jsp and make a note at this issue about the number of the bug submitted (please note at that bug that you have problems with FileChooser demo). Thanks. |