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.
NPE occurs when NB copies the settings from the previous version. No dialog or message, only the stacktrace in the logfile: ------------------------------------8<----------------------------------- INFO [org.netbeans.upgrade.AutoUpgrade]: Importing from C:\Dokumente und Einstellungen\JF\.netbeans\6.8 to C:\Dokumente und Einstellungen\JF\.netbeans\6.9 WARNING [org.netbeans.core.startup.Main] java.lang.NullPointerException at org.netbeans.upgrade.CopyFiles.copyFolder(CopyFiles.java:102) at org.netbeans.upgrade.CopyFiles.copyFolder(CopyFiles.java:104) at org.netbeans.upgrade.CopyFiles.copyFolder(CopyFiles.java:104) at org.netbeans.upgrade.CopyFiles.copyFolder(CopyFiles.java:104) at org.netbeans.upgrade.CopyFiles.copyFolder(CopyFiles.java:104) at org.netbeans.upgrade.CopyFiles.copyFolder(CopyFiles.java:104) at org.netbeans.upgrade.CopyFiles.copyFolder(CopyFiles.java:104) at org.netbeans.upgrade.CopyFiles.copyFolder(CopyFiles.java:104) at org.netbeans.upgrade.CopyFiles.copyDeep(CopyFiles.java:97) at org.netbeans.upgrade.AutoUpgrade.copyToUserdir(AutoUpgrade.java:258) at org.netbeans.upgrade.AutoUpgrade.main(AutoUpgrade.java:97) Caused: java.lang.reflect.InvocationTargetException 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:597) at org.netbeans.core.startup.Main$1ImportHandler.run(Main.java:384) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) [catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
I tried it three times with the same result. When I looked into the config directory there are directories and files but I didn't check wether they are complete. After starting 6.9 without importing the settings everything worked fine. From now on the import settings dialog dows not come up.
Thanks for report. It's a known problem, traced as issue 186867. Already fixed in the next release and also part of upcoming patch of NetBeans 6.9. *** This bug has been marked as a duplicate of bug 186867 ***