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.
This issue was reported manually by vv159170. It already has 1 duplicates Build: NetBeans IDE 7.0 Beta (Build 201011152355) VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04 OS: Linux User Comments: GUEST: Typing out a typedef, at the time of the problem "typedef unsigned short int ushorr", and I may have just pressed backspace as it popped up. C++ Application project, working in initial main.cpp Stacktrace: java.lang.AssertionError at org.netbeans.modules.cnd.modelimpl.csm.BuiltinTypes$BuiltinImpl.getName(BuiltinTypes.java:94) at org.netbeans.modules.cnd.modelimpl.csm.TypeFactory.createType(TypeFactory.java:227) at org.netbeans.modules.cnd.modelimpl.csm.TypeFactory.createType(TypeFactory.java:156) at org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.renderTypedef(AstRenderer.java:949) at org.netbeans.modules.cnd.modelimpl.csm.deep.DeclarationStatementImpl$DSRenderer.render(DeclarationStatementImpl.java:199) at org.netbeans.modules.cnd.modelimpl.csm.deep.DeclarationStatementImpl.render(DeclarationStatementImpl.java:107)
Created attachment 103826 [details] stacktrace
let's evaluate exceptions as P2 issues
I've added assert to see where incorrect object can be created http://hg.netbeans.org/cnd-main?cmd=changeset;node=1c3f2f1a99cf http://hg.netbeans.org/cnd-main?cmd=changeset;node=59b816effcd3
Integrated into 'main-golden', will be available in build *201012210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/1c3f2f1a99cf User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing #193122 - AssertionError at org.netbeans.modules.cnd.modelimpl.csm.BuiltinTypes$BuiltinImpl.getName -- added assert in places where incorrect name could be created
We do not have enough information to fix this bug. But new assertion added, so let's wait for new exception report.