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

Summary: NullPointerException at org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.preferredProject
Product: projects Reporter: choces <choces>
Component: Generic Projects UIAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=157874
Issue Type: DEFECT Exception Reporter: 157874
Attachments: stacktrace

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