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 224501 - [73cat] java.io.UTFDataFormatException: malformed input around byte 2
Summary: [73cat] java.io.UTFDataFormatException: malformed input around byte 2
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 17:41 UTC by misterm
Modified: 2013-01-10 03:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 197175


Attachments
stacktrace (1.51 KB, text/plain)
2013-01-04 17:41 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 17:41: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

Stacktrace: 
java.io.UTFDataFormatException: malformed input around byte 2
   at java.io.DataInputStream.readUTF(DataInputStream.java:656)
   at java.io.DataInputStream.readUTF(DataInputStream.java:564)
   at org.netbeans.modules.debugger.jpda.projects.ConstantPool.parse(ConstantPool.java:118)
   at org.netbeans.modules.debugger.jpda.projects.AST2Bytecode.matchSourceTree2Bytecode(AST2Bytecode.java:110)
   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:41:58 UTC
Created attachment 129906 [details]
stacktrace
Comment 2 Martin Entlicher 2013-01-09 07:49:51 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:19 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.