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 224478 - [73cat] ClassCastException: org.netbeans.modules.debugger.jpda.projects.ConstantPool$EntryNULL cannot be cast to org.netbeans.modules.debugger.jpda.projects.ConstantPool$EntryNameType
Summary: [73cat] ClassCastException: org.netbeans.modules.debugger.jpda.projects.Const...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-04 12:47 UTC by misterm
Modified: 2013-01-10 03:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197154


Attachments
stacktrace (4.92 KB, text/plain)
2013-01-04 12:47 UTC, misterm
Details
stacktrace (4.93 KB, text/plain)
2013-01-04 17:47 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2013-01-04 12:47:55 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

Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.debugger.jpda.projects.ConstantPool$EntryNULL cannot be cast to org.netbeans.modules.debugger.jpda.projects.ConstantPool$EntryNameType
   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)
   at org.netbeans.modules.debugger.jpda.ExpressionPool.createExpressionAt(ExpressionPool.java:186)
   at org.netbeans.modules.debugger.jpda.ExpressionPool.getExpressionAt(ExpressionPool.java:102)
Comment 1 misterm 2013-01-04 12:47:58 UTC
Created attachment 129890 [details]
stacktrace
Comment 2 misterm 2013-01-04 17:47:16 UTC
Created attachment 129909 [details]
stacktrace
Comment 3 Martin Entlicher 2013-01-09 07:49:45 UTC
Fixed by parsing the new JDK8 entries in constant pool
changeset:   244196:dc8e452b9795
http://hg.netbeans.org/core-main/rev/dc8e452b9795
Comment 4 Quality Engineering 2013-01-10 03:35:00 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.