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 196254 - AssertionError: why null item? object std::map::_Tp[stl_map.h 84:28-84:40] iof class org.netbeans.modules.cnd.modelimpl.csm.TemplateParameterImpl in exprexpID=DOT_OPEN, token count=2, token0='->', tok
Summary: AssertionError: why null item? object std::map::_Tp[stl_map.h 84:28-84:40] io...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 19:37 UTC by czikus
Modified: 2011-03-05 05:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 177226


Attachments
stacktrace (1.91 KB, text/plain)
2011-03-03 19:37 UTC, czikus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description czikus 2011-03-03 19:37:07 UTC
This bug was originally marked as duplicate of bug 188849, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

User Comments:
czikus: I was trying to show code completion.




Stacktrace: 
java.lang.AssertionError: why null item? object std::map::_Tp[stl_map.h 84:28-84:40] iof class org.netbeans.modules.cnd.modelimpl.csm.TemplateParameterImpl in exprexpID=DOT_OPEN, token count=2, token0='->', token1='.', parm count=2
    parm0=[    expID=VARIABLE, token count=1, token0='it', parm count=0]
    parm1=[    expID=VARIABLE, token count=1, token0='second', parm count=0]
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.convertData(CsmCompletionQuery.java:2778)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.access$1300(CsmCompletionQuery.java:126)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$CsmCompletionResult.<init>(CsmCompletionQuery.java:2441)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveExp(CsmCompletionQuery.java:1157)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.getResult(CsmCompletionQuery.java:349)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.query(CsmCompletionQuery.java:330)
Comment 1 czikus 2011-03-03 19:37:11 UTC
Created attachment 106669 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2011-03-03 20:09:20 UTC
http://hg.netbeans.org/cnd-main/rev/29b3b81dab28
Comment 3 Quality Engineering 2011-03-05 05:44:30 UTC
Integrated into 'main-golden', will be available in build *201103050000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/29b3b81dab28
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #196254 -  AssertionError: why null item? object std::map::_Tp[stl_map.h 84:28-84:40]