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.
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)
Created attachment 80576 [details] stacktrace
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
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
*** This issue has been marked as a duplicate of 164374 ***