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 224500

Summary: [73cat] IndexOutOfBoundsException: Index: 215, Size: 38
Product: debugger Reporter: misterm <misterm>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal CC: nnguyen
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 183502
Attachments: stacktrace

Description misterm 2013-01-04 17:38:56 UTC
Build: NetBeans IDE Dev (Build jdk8lambda-1604-on-20121214)
VM: OpenJDK 64-Bit Server VM, 25.0-b11, OpenJDK Runtime Environment, 1.8.0-ea-lambda-nightly-h2364-20121217-b69-b00
OS: Windows 7

User Comments:
nnguyen: Stepping in debugger




Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 215, Size: 38
   at java.util.ArrayList.RangeCheck(ArrayList.java:608)
   at java.util.ArrayList.get(ArrayList.java:386)
   at org.netbeans.modules.debugger.jpda.projects.ConstantPool.getMethodName(ConstantPool.java:90)
   at org.netbeans.modules.debugger.jpda.projects.AST2Bytecode.matchSourceTree2Bytecode(AST2Bytecode.java:153)
   at org.netbeans.modules.debugger.jpda.projects.EditorContextImpl.computeOperations(EditorContextImpl.java:2634)
   at org.netbeans.modules.debugger.jpda.projects.EditorContextImpl.getOperations(EditorContextImpl.java:1726)
Comment 1 misterm 2013-01-04 17:38:57 UTC
Created attachment 129905 [details]
stacktrace
Comment 2 Martin Entlicher 2013-01-09 07:49:48 UTC
Fixed by parsing the new JDK8 entries in constant pool
changeset:   244196:dc8e452b9795
http://hg.netbeans.org/core-main/rev/dc8e452b9795
Comment 3 Quality Engineering 2013-01-10 03:30:24 UTC
Integrated into 'main-golden', will be available in build *201301100107* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/dc8e452b9795
User: mentlicher@netbeans.org
Log: #224478, #224500, #224501, #224502: Parsing of constant pool updated to include new JDK8 entries.