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 - NPE from ProjectChooserAccessory.addSubprojects
Summary: NPE from ProjectChooserAccessory.addSubprojects
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords: RANDOM
: 83429 97310 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-07 12:36 UTC by Tomas Danek
Modified: 2007-03-06 19:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.