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 101173 - AssertionError at FileImpl.fixFakeRegistrations
Summary: AssertionError at FileImpl.fixFakeRegistrations
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-16 15:54 UTC by Alexander Simon
Modified: 2007-12-05 08:55 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 Alexander Simon 2007-04-16 15:54:54 UTC
java.lang.AssertionError: no object for UID DeclarationUID:KeyBasedUID on
OffsDeclKey: release[FUNCTION_DEFINITION 17981-18095]
{/export/home/as204739/Projects/sfbay/clucene-0.9.10/src/CLucene/store/FSDirectory.cpp;
/home/as204739/clucene-0.9.10_5}
        at
org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDsToList(UIDCsmConverter.java:119)
        at
org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDsToDeclarations(UIDCsmConverter.java:100)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.fixFakeRegistrations(FileImpl.java:859)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getDeclarations(FileImpl.java:654)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.findContext(Resolver3.java:71)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.getContainingNamespace(Resolver3.java:57)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.processTypedefsInUpperNamespaces(Resolver3.java:244)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.gatherMaps(Resolver3.java:271)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.gatherMaps(Resolver3.java:206)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.gatherMaps(Resolver3.java:191)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.gatherMaps(Resolver3.java:187)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.gatherMaps(Resolver3.java:187)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.gatherMaps(Resolver3.java:187)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.resolve(Resolver3.java:415)
        at
org.netbeans.modules.cnd.modelimpl.csm.FunctionImplEx.findOwner(FunctionImplEx.java:64)
        at
org.netbeans.modules.cnd.modelimpl.csm.FunctionImplEx.findQualifiedName(FunctionImplEx.java:106)
        at
org.netbeans.modules.cnd.modelimpl.csm.FunctionDefinitionImpl.findQualifiedName(FunctionDefinitionImpl.java:129)
        at
org.netbeans.modules.cnd.modelimpl.csm.FunctionImplEx.getQualifiedName(FunctionImplEx.java:100)
        at
org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl.getUniqueNameWithoutPrefix(FunctionImpl.java:197)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableDeclarationBase.getUniqueName(OffsetableDeclarationBase.java:47)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.DeclarationContainer.putDeclaration(DeclarationContainer.java:134)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.registerDeclaration(ProjectBase.java:264)
        at
org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl.registerInProject(FunctionImpl.java:156)
        at
org.netbeans.modules.cnd.modelimpl.csm.FunctionImplEx.registerInProject(FunctionImplEx.java:137)
        at
org.netbeans.modules.cnd.modelimpl.csm.FunctionDefinitionImpl.<init>(FunctionDefinitionImpl.java:56)
        at
org.netbeans.modules.cnd.modelimpl.csm.ConstructorDefinitionImpl.<init>(ConstructorDefinitionImpl.java:34)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(AstRenderer.java:90)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(AstRenderer.java:62)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(AstRenderer.java:62)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(AstRenderer.java:48)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.render(FileImpl.java:242)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl._reparse(FileImpl.java:283)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.reparse(FileImpl.java:256)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsed(FileImpl.java:208)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:66)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:60)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
        at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Alexander Simon 2007-04-19 12:14:34 UTC
fixed

CVS log:

Checking in
modelimpl/src/org/netbeans/modules/cnd/modelimpl/repository/RepositoryUtils.java;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/repository/RepositoryUtils.java,v
 <--  RepositoryUtils.java
new revision: 1.1.2.12; previous revision: 1.1.2.11
done
Checking in
modelimpl/src/org/netbeans/modules/cnd/modelimpl/uid/UIDCsmConverter.java;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/uid/UIDCsmConverter.java,v
 <--  UIDCsmConverter.java
new revision: 1.1.2.19; previous revision: 1.1.2.18
done
Checking in qnavigator/src/org/netbeans/modules/cnd/qnavigator/NavigationView.java;
/shared/data/ccvs/repository/cnd/qnavigator/src/org/netbeans/modules/cnd/qnavigator/NavigationView.java,v
 <--  NavigationView.java
new revision: 1.2.2.11.2.5; previous revision: 1.2.2.11.2.4
done
Checking in modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/core/FileImpl.java;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/core/FileImpl.java,v
 <--  FileImpl.java
new revision: 1.2.2.41.4.60; previous revision: 1.2.2.41.4.59
done