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 240464 - IndexOutOfBoundsException: Index: 4, Size: 2
Summary: IndexOutOfBoundsException: Index: 4, Size: 2
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-14 16:58 UTC by infonaut
Modified: 2014-01-20 10:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 200202


Attachments
stacktrace (3.07 KB, text/plain)
2014-01-14 16:58 UTC, infonaut
Details

Note You need to log in before you can comment on or make changes to this bug.
Description infonaut 2014-01-14 16:58:01 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
mps77: inspect

GUEST: Run Inspect... with Java Netbeans hints all set open-ig.googlecode.com

mps77: inspect & tranform on full j2se project...

infonaut: on opening a java source file

mps77: inspect




Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 4, Size: 2
   at com.sun.tools.javac.util.List.get(List.java:462)
   at org.netbeans.modules.java.hints.suggestions.ExpectedTypeResolver.visitMethodOrNew(ExpectedTypeResolver.java:553)
   at org.netbeans.modules.java.hints.suggestions.ExpectedTypeResolver.visitMethodInvocation(ExpectedTypeResolver.java:527)
   at org.netbeans.modules.java.hints.suggestions.ExpectedTypeResolver.visitMethodInvocation(ExpectedTypeResolver.java:144)
   at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1477)
   at org.netbeans.modules.java.hints.suggestions.ExpectedTypeResolver.scan(ExpectedTypeResolver.java:246)
Comment 1 infonaut 2014-01-14 16:58:03 UTC
Created attachment 143953 [details]
stacktrace
Comment 2 Svata Dedic 2014-01-20 10:24:39 UTC
Supposedly fixed by changes made for issue #229951, whcih also improved varargs handling.