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 66622 - Cannot find myself
Summary: Cannot find myself
Status: CLOSED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-12 15:07 UTC by Nam Nguyen
Modified: 2005-12-12 15:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Cannot find self exception stack (1.36 KB, text/plain)
2005-10-12 15:09 UTC, Nam Nguyen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nam Nguyen 2005-10-12 15:07:11 UTC
Steps:
1. Create module suite X with module list includes platform6, ide6, enterprise2, ...
2. Have some modules in the suite X, with some java source files.
3. (Might need reboot) Use project customizer to exclude (unchecked) one unused
of the cluster from module list say enterprise2.
4. Rename one of the source files.

Will get this exception:
java.lang.AssertionError: Cannot find myself
   at
org.netbeans.modules.apisupport.project.NbModuleProject.createEvaluator(NbModuleProject.java:314)
   at
Comment 1 Nam Nguyen 2005-10-12 15:09:01 UTC
Created attachment 25875 [details]
Cannot find self exception stack
Comment 2 Jesse Glick 2005-10-12 17:01:39 UTC
Cannot reproduce from your instructions. Exception indicates something is messed
up but hard to guess what that would be without seeing the metadata files or
having some steps to reproduce.

Also note that the assertion is on line 315 of NbModuleProject.java in current
sources - you are using something at least two weeks old. Bug reports should be
filed for the current trunk only (at most a couple of days old).
Comment 3 Tomas Danek 2005-12-12 15:10:20 UTC
cannot reproduce, please try to reproduce and add detailed steps to reproduce,
and reopen. thanks in advance.