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.
(May be something hosed in my user dir - same one in which I earlier encountered an exception when closing 42 projects, after which some became unclosable). Looked at it, but I'm not sure I want to know what an "OpenProjectsTrampoline" is (though it's a neat visual image). java.lang.NullPointerException at org.netbeans.api.project.ui.OpenProjects.addPropertyChangeList ener(OpenProjects.java:79) at org.netbeans.modules.search.project.ProjectsSearchAction.link(P rojectsSearchAction.java:67) at org.netbeans.modules.search.project.Installer.restored(Installer.j ava:26) at org.netbeans.core.modules.NbInstaller.loadCode(NbInstaller.java :322) at org.netbeans.core.modules.NbInstaller.load(NbInstaller.java:240) at org.netbeans.core.modules.ModuleManager.enable(ModuleMana ger.java:861) at org.netbeans.core.modules.ModuleList.installNew(ModuleList.jav a:350) at org.netbeans.core.modules.ModuleList.trigger(ModuleList.java: 284) at org.netbeans.core.modules.ModuleSystem.restore(ModuleSyste m.java:253) at org.netbeans.core.NonGui.run(NonGui.java:369) at org.netbeans.core.Main.run(Main.java:168) at org.netbeans.core.NbTopManager.getNbTopManager(NbTopMan ager.java:232) at org.netbeans.core.NbTopManager.get(NbTopManager.java:187) at org.netbeans.core.Main.start(Main.java:310) at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java: 90) [catch] at java.lang.Thread.run(Thread.java:552)
Need your whole log file. Your default lookup is apparently broken here. BTW I will put assertions into org.netbeans.modules.project.uiapi.Utilities to ensure that lookup items are really found, and to fail quickly if not.
I'd provide it, but I deleted my userdir in order to get code-completion/refactoring working again... Will see if I can reproduce it.
Created attachment 16600 [details] Reproduced on Milos' mac
Easily reproduced after creating an installer on Milos' machine and running it. May be related to the fact that when started from the desktop, the working dir is / ?
Yes, due to cwd being '/' and it being a Unix machine. The NPE is a secondary effect; the true problem lies earlier in the log file. *** This issue has been marked as a duplicate of 46759 ***
closed