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 247355 - java.io.IOException: Snapshot file is corrupted: malformed input around byte 69
Summary: java.io.IOException: Snapshot file is corrupted: malformed input around byte 69
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-22 09:18 UTC by Jiri Skrivanek
Modified: 2014-09-29 07:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 212090


Attachments
stacktrace (2.50 KB, text/plain)
2014-09-22 09:18 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2014-09-22 09:18:48 UTC
This bug was originally marked as duplicate of bug 247166, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201409220001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 7

User Comments:
jskrivanek: To reproduce open snapshot from NetBeans 8.0 or older.




Stacktrace: 
java.io.IOException: Snapshot file is corrupted: malformed input around byte 69
   at org.netbeans.modules.profiler.LoadedSnapshot.load(LoadedSnapshot.java:451)
   at org.netbeans.modules.profiler.LoadedSnapshot.loadSnapshot(LoadedSnapshot.java:228)
   at org.netbeans.modules.profiler.ResultsManager.loadSnapshotFromFileObject(ResultsManager.java:1246)
   at org.netbeans.modules.profiler.ResultsManager.loadSnapshotImpl(ResultsManager.java:1269)
   at org.netbeans.modules.profiler.ResultsManager.loadSnapshot(ResultsManager.java:740)
   at org.netbeans.modules.profiler.ui.NpsDataObject.open(NpsDataObject.java:87)
Comment 1 Jiri Skrivanek 2014-09-22 09:18:50 UTC
Created attachment 149409 [details]
stacktrace
Comment 2 Tomas Hurka 2014-09-27 06:46:39 UTC
Fixed in profiler-main

changeset:   278236:21e62aec8470
user:        Tomas Hurka <thurka@netbeans.org>
date:        Sat Sep 27 08:44:57 2014 +0200
summary:     bugfix #247355, do not serialize new native field - it is used only for CPU profiling and JMethodIdTable is not serialized in such case
Comment 3 Quality Engineering 2014-09-29 01:38:58 UTC
Integrated into 'main-silver', will be available in build *201409290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/21e62aec8470
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #247355, do not serialize new native field - it is used only for CPU profiling and JMethodIdTable is not serialized in such case