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 247166 - java.io.IOException: Snapshot file is corrupted: malformed input around byte 96
Summary: java.io.IOException: Snapshot file is corrupted: malformed input around byte 96
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.0.1
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2014-09-16 11:51 UTC by Tomas Hurka
Modified: 2014-09-19 09:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 211902


Attachments
stacktrace (2.50 KB, text/plain)
2014-09-16 11:51 UTC, Tomas Hurka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2014-09-16 11:51:21 UTC
Build: NetBeans IDE Dev (Build 20140916-1e837da0700f)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.60-b09, Java(TM) SE Runtime Environment, 1.7.0_60-b19
OS: Mac OS X

User Comments:
thurka: open old (<=8.0) memory snapshot




Stacktrace: 
java.io.IOException: Snapshot file is corrupted: malformed input around byte 96
   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 Tomas Hurka 2014-09-16 11:51:22 UTC
Created attachment 149256 [details]
stacktrace
Comment 2 Tomas Hurka 2014-09-16 13:16:06 UTC
This is caused by bugfix #245580. There is incompatible change in memory snapshot format.
Comment 3 Tomas Hurka 2014-09-16 14:22:09 UTC
It will be fixed in release801 branch only by reverting fix for issue #245580.
Comment 4 Tomas Hurka 2014-09-16 14:56:51 UTC
Fixed in release801:

changeset:   288274:d35c088d6296
branch:      release801
tag:         tip
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Sep 16 16:53:05 2014 +0200
summary:     spec. version increased after bugfix #247166

changeset:   287658:fd09f5322de7
branch:      release801
parent:      285200:710af4092ca1
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Sep 16 16:28:06 2014 +0200
summary:     bugfix #247166, reverted fix for issue #245580
Comment 5 Quality Engineering 2014-09-17 12:14:42 UTC
Integrated into 'releases/release801', will be available in build *201409171118* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/fd09f5322de7
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #247166, reverted fix for issue #245580