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 193115 - AssertionError at org.netbeans.modules.cnd.modelimpl.csm.NamespaceImpl.removeNestedNamespace
Summary: AssertionError at org.netbeans.modules.cnd.modelimpl.csm.NamespaceImpl.remove...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-09 11:02 UTC by Exceptions Reporter
Modified: 2010-12-29 07:08 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 154122


Attachments
stacktrace (4.21 KB, text/plain)
2010-12-09 11:02 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2010-12-09 11:02:48 UTC
This issue was reported manually by vv159170.
It already has 4 duplicates 


Build: NetBeans IDE 7.0 M2 (Build 201010151251)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261
OS: Mac OS X

User Comments:
GUEST: Trying to remove folder




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.cnd.modelimpl.csm.NamespaceImpl.removeNestedNamespace(NamespaceImpl.java:378)
   at org.netbeans.modules.cnd.modelimpl.csm.NamespaceImpl.addRemoveInParentNamespace(NamespaceImpl.java:547)
   at org.netbeans.modules.cnd.modelimpl.csm.NamespaceImpl.removeNamespaceDefinition(NamespaceImpl.java:571)
   at org.netbeans.modules.cnd.modelimpl.csm.NamespaceDefinitionImpl.dispose(NamespaceDefinitionImpl.java:238)
   at org.netbeans.modules.cnd.modelimpl.csm.core.Utils.disposeAll(Utils.java:134)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.disposeAll(FileImpl.java:763)
Comment 1 Exceptions Reporter 2010-12-09 11:02:52 UTC
Created attachment 103814 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2010-12-15 21:54:36 UTC
let's evaluate exceptions as P2 issues
Comment 3 Vladimir Voskresensky 2010-12-23 19:10:18 UTC
http://hg.netbeans.org/cnd-main/rev/e1f9ea8f37db

this was because we called FileImpl.dispose at the same time from different threads (project notification, file listener on file delete)
Comment 4 Quality Engineering 2010-12-29 07:08:00 UTC
Integrated into 'main-golden', will be available in build *201012290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e1f9ea8f37db
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #193115 -  AssertionError at org.netbeans.modules.cnd.modelimpl.csm.NamespaceImpl.removeNestedNamespace