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 148456 - Exception appears in Loki, when inaccuracy tests are working
Summary: Exception appears in Loki, when inaccuracy tests are working
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexey Vladykin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-26 08:16 UTC by soldatov
Modified: 2008-09-27 05:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2008-09-26 08:16:51 UTC
Exception appears in Loki, when inaccuracy tests are working:
      java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
	at java.util.ArrayList.get(ArrayList.java:322)
	at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionExpression.getParameter(CsmCompletionExpression.java:503)
	at
org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.createClassInstantiation(CsmCompletionQuery.java:1786)
	at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveItem(CsmCompletionQuery.java:1366)
	at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveExp(CsmCompletionQuery.java:952)
	at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.getResult(CsmCompletionQuery.java:298)
	at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.query(CsmCompletionQuery.java:280)
	at org.netbeans.modules.cnd.completion.csm.CompletionUtilities.findItemAtCaretPos(CompletionUtilities.java:156)
	at org.netbeans.modules.cnd.completion.impl.xref.ReferencesSupport.findDeclaration(ReferencesSupport.java:352)
	at org.netbeans.modules.cnd.completion.impl.xref.ReferencesSupport.findDeclaration(ReferencesSupport.java:298)
	at org.netbeans.modules.cnd.completion.impl.xref.ReferencesSupport.findReferencedObject(ReferencesSupport.java:201)
	at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.getReferencedObject(ReferenceImpl.java:75)
	at
org.netbeans.modules.cnd.highlight.error.IdentifierErrorProvider$ReferenceVisitor.visit(IdentifierErrorProvider.java:104)
	at org.netbeans.modules.cnd.completion.impl.xref.FileReferencesImpl._accept(FileReferencesImpl.java:138)
	at org.netbeans.modules.cnd.completion.impl.xref.FileReferencesImpl.accept(FileReferencesImpl.java:95)
	at org.netbeans.modules.cnd.highlight.error.IdentifierErrorProvider.doGetErrors(IdentifierErrorProvider.java:82)
	at org.netbeans.modules.cnd.api.model.syntaxerr.CsmErrorProvider.getErrors(CsmErrorProvider.java:89)
	at org.netbeans.modules.cnd.api.model.syntaxerr.CsmErrorProvider$AsynchronousMerger$1.run(CsmErrorProvider.java:170)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 Alexey Vladykin 2008-09-26 09:22:37 UTC
Fixed in http://hg.netbeans.org/main/rev/35185739cc2e
Comment 2 Quality Engineering 2008-09-27 05:37:32 UTC
Integrated into 'main-golden', will be available in build *200809270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/35185739cc2e
User: Alexey Vladykin <alexey_vladykin@netbeans.org>
Log: Fixed IZ#148456: Exception appears in Loki, when inaccuracy tests are working