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:||NPE on startup|
|Product:||projects||Reporter:||_ tboudreau <tboudreau>|
|Component:||Generic Infrastructure||Assignee:||Petr Hrebejk <phrebejk>|
|OS:||Mac OS X|
|Issue Type:||DEFECT||Exception Reporter:|
|Bug Depends on:|
|Attachments:||Reproduced on Milos' mac|
Description _ tboudreau 2004-07-31 23:13:14 UTC
(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)
Comment 1 Jesse Glick 2004-08-01 02:17:05 UTC
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.
Comment 2 _ tboudreau 2004-08-01 03:52:14 UTC
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.
Comment 3 _ tboudreau 2004-08-02 12:02:05 UTC
Created attachment 16600 [details] Reproduced on Milos' mac
Comment 4 _ tboudreau 2004-08-02 12:02:51 UTC
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 / ?
Comment 5 Jesse Glick 2004-08-02 12:43:19 UTC
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 ***
Comment 6 Marian Mirilovic 2005-07-12 10:13:41 UTC