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 205547 - java.io.IOException: Invalid header nBpR
Summary: java.io.IOException: Invalid header nBpR
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-25 08:18 UTC by Petr Cyhelsky
Modified: 2011-11-28 16:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 183178


Attachments
stacktrace (908 bytes, text/plain)
2011-11-25 08:18 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2011-11-25 08:18:36 UTC
Build: NetBeans IDE Dev (Build 201111230600)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13
OS: Linux

User Comments:
cyhelsky: popped on opening ordinary snapshot (but with .npss extension) as an IDE snapshot (via the main menu item)




Stacktrace: 
java.io.IOException: Invalid header nBpR
   at org.netbeans.modules.profiler.LoadedSnapshot$SamplesInputStream.readHeader(LoadedSnapshot.java:603)
   at org.netbeans.modules.profiler.LoadedSnapshot$SamplesInputStream.<init>(LoadedSnapshot.java:539)
   at org.netbeans.modules.profiler.SampledCPUSnapshot.<init>(SampledCPUSnapshot.java:78)
   at org.netbeans.modules.profiler.snaptracer.impl.IdeSnapshot.<init>(IdeSnapshot.java:76)
   at org.netbeans.modules.profiler.snaptracer.impl.IdeSnapshotAction.snapshot(IdeSnapshotAction.java:104)
   at org.netbeans.modules.profiler.snaptracer.impl.IdeSnapshotAction.access$000(IdeSnapshotAction.java:64)
Comment 1 Petr Cyhelsky 2011-11-25 08:18:38 UTC
Created attachment 113521 [details]
stacktrace
Comment 2 Jiri Sedlacek 2011-11-28 16:09:38 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/db33b2c8eb32.