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 100246 - AssertError on FileKey when remove folder during parsing
Summary: AssertError on FileKey when remove folder during parsing
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-06 17:39 UTC by Vladimir Voskresensky
Modified: 2007-04-06 18:11 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 Vladimir Voskresensky 2007-04-06 17:39:11 UTC
When mysql was in parse I removed folder
java.lang.AssertionError: no object for UID KeyBasedUID on FileKey
(/home/vv159170/SunStudioProjects/configuredPrjs/prj/mysqlConfigured,
/export/home/vv159170/Projects/sfbay/mysql-5.0.18/sql/item_cmpfunc.h)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableBase._getFile(OffsetableBase.java:158)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableBase.getContainingFile(OffsetableBase.java:134)
        at
org.netbeans.modules.cnd.modelimpl.csm.TypeImpl.renderClassifier(TypeImpl.java:216)
        at
org.netbeans.modules.cnd.modelimpl.csm.TypeImpl.getClassifier(TypeImpl.java:206)
        at
org.netbeans.modules.cnd.classview.ChildrenUpdater.findNode(ChildrenUpdater.java:220)
        at
org.netbeans.modules.cnd.classview.ChildrenUpdater.update(ChildrenUpdater.java:144)
        at
org.netbeans.modules.cnd.classview.ChildrenUpdater.update(ChildrenUpdater.java:95)
        at
org.netbeans.modules.cnd.classview.ClassViewModel.update(ClassViewModel.java:119)
[catch] at
org.netbeans.modules.cnd.classview.ClassViewUpdater.run(ClassViewUpdater.java:155)
Comment 1 Vladimir Voskresensky 2007-04-06 18:11:40 UTC
fixed:
- all owners of CsmType fields dispose field when disposed itself

cvs log:
Checking in VariableImpl.java;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/VariableImpl.java,v
 <--  VariableImpl.java
new revision: 1.2.2.5.4.22; previous revision: 1.2.2.5.4.21
done
Checking in EnumeratorImpl.java;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/EnumeratorImpl.java,v
 <--  EnumeratorImpl.java
new revision: 1.2.2.3.4.15; previous revision: 1.2.2.3.4.14
done
Checking in TypedefImpl.java;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/TypedefImpl.java,v
 <--  TypedefImpl.java
new revision: 1.2.2.3.4.19; previous revision: 1.2.2.3.4.18
done
Checking in core/OffsetableBase.java;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/core/OffsetableBase.java,v
 <--  OffsetableBase.java
new revision: 1.2.2.5.4.15; previous revision: 1.2.2.5.4.14
done