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 163110 - AssertionError: Not a suite component: NbModuleProject[/Users/josh/NetBeansProjects/NBThor/Particle System API]
Summary: AssertionError: Not a suite component: NbModuleProject[/Users/josh/NetBeansPr...
Status: RESOLVED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: rmichalsky
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-20 12:49 UTC by jportway
Modified: 2009-04-21 13:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 149819


Attachments
stacktrace (3.77 KB, text/plain)
2009-04-20 12:49 UTC, jportway
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jportway 2009-04-20 12:49:45 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.6, x86_64

User Comments:
jportway: tried to remove a module dependency from a project, but the actual project folder for that module had already been deleted on disk



Stacktrace: 
java.lang.AssertionError: Not a suite component: NbModuleProject[/Users/josh/NetBeansProjects/NBThor/Particle System API]
        at org.netbeans.modules.apisupport.project.ui.customizer.SuiteUtils.removeModule(SuiteUtils.java:281)
        at org.netbeans.modules.apisupport.project.ui.customizer.SuiteUtils.access$100(SuiteUtils.java:86)
        at org.netbeans.modules.apisupport.project.ui.customizer.SuiteUtils$2.run(SuiteUtils.java:150)
        at org.netbeans.modules.apisupport.project.ui.customizer.SuiteUtils$2.run(SuiteUtils.java:140)
        at org.openide.util.Mutex.writeAccess(Mutex.java:433)
        at org.netbeans.modules.apisupport.project.ui.customizer.SuiteUtils.replaceSubModules(SuiteUtils.java:140)
Comment 1 jportway 2009-04-20 12:49:50 UTC
Created attachment 80513 [details]
stacktrace
Comment 2 rmichalsky 2009-04-21 13:58:50 UTC
Cannot reproduce. I've create new suite and modules m1, m2, m1 has compile dep on m2. Tried:
1) deleting m2 from IDE while m1 and suite projects are opened - correctly removed from both projects
2) deleting m2 from IDE while m1 and suite projects are closed - correctly removed from both projects
3) deleting m2 on disk while IDE is not running - although m2 remains in metadata of both m1 and suite, no dependency
node is displayed and build of suite fails (correctly) with message about no such folder 'm2'

Feel free to reopen, please provide similar reproducible steps in such case.