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 236379 - AssertionError: Instantiations must not be empty
Summary: AssertionError: Instantiations must not be empty
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-25 16:54 UTC by Alexander Simon
Modified: 2013-11-15 16:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204153


Attachments
stacktrace (2.58 KB, text/plain)
2013-09-25 16:55 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2013-09-25 16:54:57 UTC
Build: NetBeans IDE 7.4 RC1 (Build 20130925-30385d1690fa)
VM: Java HotSpot(TM) Client VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: SunOS

User Comments:
alexvsimon: navigate in Sema.cpp file (LLVM33) in line 420




Stacktrace: 
java.lang.AssertionError: Instantiations must not be empty
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveItem(CsmCompletionQuery.java:2698)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveParams(CsmCompletionQuery.java:1537)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveExp(CsmCompletionQuery.java:1569)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveType(CsmCompletionQuery.java:1434)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.getTypeList(CsmCompletionQuery.java:3083)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveItem(CsmCompletionQuery.java:2659)
Comment 1 Alexander Simon 2013-09-25 16:55:00 UTC
Created attachment 140476 [details]
stacktrace
Comment 2 petrk 2013-09-26 08:51:09 UTC
If there are no instantiation parameters, a null should be passed to CsmTypeResolver: https://enum.ru.oracle.com/hg/pythia-platform/rev/82f2749e6bcc, method isApplicable
Comment 3 Alexander Simon 2013-09-26 08:56:31 UTC
fixed, change set:
c138dba481c2
Comment 4 Quality Engineering 2013-10-01 01:59:22 UTC
Integrated into 'main-silver', will be available in build *201310010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/acb05e4bac5b
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #236379 AssertionError: Instantiations must not be empty
(transplanted from c138dba481c2072273e58b5336329281ef8cf4ff)
Comment 5 Alexander Pepin 2013-11-15 16:17:21 UTC
Verified in build 201311142201.