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 163215 - AssertionError: no object for UID null
Summary: AssertionError: no object for UID null
Status: RESOLVED DUPLICATE of bug 164374
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Voskresensky
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-21 11:00 UTC by Egor Ushakov
Modified: 2009-05-04 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 149867


Attachments
stacktrace (4.06 KB, text/plain)
2009-04-21 11:01 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2009-04-21 11:00:52 UTC
Build: NetBeans IDE Dev (Build 090421)
VM: Java HotSpot(TM) Server VM, 11.0-b15, Java(TM) Platform, Standard Edition for Business, 1.6.0_10-b33
OS: SunOS, 5.11, x86

Stacktrace: 
java.lang.AssertionError: no object for UID null
        at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableBase._getFile(OffsetableBase.java:142)
        at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableBase.getContainingFile(OffsetableBase.java:119)
        at org.netbeans.modules.cnd.modelimpl.csm.deep.LoopStatementImpl.render(LoopStatementImpl.java:105)
        at org.netbeans.modules.cnd.modelimpl.csm.deep.LoopStatementImpl.renderIfNeed(LoopStatementImpl.java:100)
        at org.netbeans.modules.cnd.modelimpl.csm.deep.LoopStatementImpl.getCondition(LoopStatementImpl.java:70)
        at org.netbeans.modules.cnd.modelimpl.csm.deep.LoopStatementImpl.getScopeElements(LoopStatementImpl.java:121)
Comment 1 Egor Ushakov 2009-04-21 11:01:09 UTC
Created attachment 80576 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2009-04-21 11:09:53 UTC
Probably dirty repository. No way to reproduce.
I have added trace to track when such invalid object with "null" file can be created
http://hg.netbeans.org/cnd-main?cmd=changeset;node=922da92fdf27
Comment 3 Quality Engineering 2009-04-22 08:44:12 UTC
Integrated into 'main-golden', will be available in build *200904220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/922da92fdf27
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: trace for IZ#163215: AssertionError: no object for UID null
- track creation of invalid object with "null" file
Comment 4 Vladimir Voskresensky 2009-05-04 13:44:30 UTC

*** This issue has been marked as a duplicate of 164374 ***