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 90745

Summary: NPE from ProjectChooserAccessory.addSubprojects
Product: projects Reporter: Tomas Danek <musilt2>
Component: Generic InfrastructureAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: blocker Keywords: RANDOM
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomas Danek 2006-12-07 12:36:09 UTC
NetBeans IDE Dev (Build 200612061900)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104
Linux version 2.6.17-10-generic running on i386
cs_CZ (nb); UTF-8
--------------------------------------------------
just invoked Open Project,selected all 5 modules in apisupport dir, unchecked
open depending projects and pushed Open project button.

java.lang.NullPointerException
	at
org.netbeans.modules.project.ui.ProjectChooserAccessory.addSubprojects(ProjectChooserAccessory.java:395)
	at
org.netbeans.modules.project.ui.ProjectChooserAccessory$ModelUpdater.run(ProjectChooserAccessory.java:663)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:541)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:963)
Comment 1 Jesse Glick 2006-12-07 17:46:59 UTC
Some race condition maybe? Put in more defensive code.

Checking in ProjectChooserAccessory.java;
/shared/data/ccvs/repository/projects/projectui/src/org/netbeans/modules/project/ui/ProjectChooserAccessory.java,v
 <--  ProjectChooserAccessory.java
new revision: 1.46; previous revision: 1.45
done
Comment 2 Milos Kleint 2007-01-03 11:37:21 UTC
*** Issue 83429 has been marked as a duplicate of this issue. ***
Comment 3 Jesse Glick 2007-03-06 19:37:16 UTC
*** Issue 97310 has been marked as a duplicate of this issue. ***
Comment 4 Jesse Glick 2007-03-06 19:38:27 UTC
Earlier dupes.