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.

Bug 171526 - NullPointerException at org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.preferredProject
Summary: NullPointerException at org.netbeans.modules.project.ui.OpenProjectList$LoadO...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jaroslav Tulach
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-04 19:47 UTC by choces
Modified: 2009-09-19 10:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 157874


Attachments
stacktrace (1.29 KB, text/plain)
2009-09-04 19:47 UTC, choces
Details

Note You need to log in before you can comment on or make changes to this bug.
Description choces 2009-09-04 19:47:31 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.preferredProject(OpenProjectList.java:334)
        at org.netbeans.modules.project.ui.OpenProjectList.preferredProject(OpenProjectList.java:232)
        at org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.resultChanged(OpenProjectList.java:430)
        at org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.run(OpenProjectList.java:300)
        at org.netbeans.core.windows.WindowManagerImpl$Exclusive.run(WindowManagerImpl.java:1355)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Comment 1 choces 2009-09-04 19:47:35 UTC
Created attachment 87142 [details]
stacktrace
Comment 2 Milan Kubec 2009-09-07 14:09:49 UTC
LazyProject loading, Jardo please evalaute. Thanks.
Comment 3 Jaroslav Tulach 2009-09-18 12:42:17 UTC
Looks like there is some broken project. I've added assert to find who's that project is: core-main#d67e2b91a8a6
Comment 4 Quality Engineering 2009-09-19 10:59:16 UTC
Integrated into 'main-golden', will be available in build *200909190201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d67e2b91a8a6
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #171526: More descriptive assert instead of NPE