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.
This bug was originally marked as duplicate of bug 205547, 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 20121107-33bfdb7d7bc2) VM: OpenJDK 64-Bit Server VM, 23.2-b09, OpenJDK Runtime Environment, 1.7.0_07-b30 OS: Linux User Comments: ralphbenjamin: tried to open snapshot from http://netbeans.org/bugzilla/show_bug.cgi?id=213588 Stacktrace: java.io.IOException: Invalid header nBpR at org.netbeans.modules.profiler.LoadedSnapshot$SamplesInputStream.readHeader(LoadedSnapshot.java:615) at org.netbeans.modules.profiler.LoadedSnapshot$SamplesInputStream.<init>(LoadedSnapshot.java:551) at org.netbeans.modules.profiler.SampledCPUSnapshot.<init>(SampledCPUSnapshot.java:82) at org.netbeans.modules.profiler.snaptracer.impl.IdeSnapshot.<init>(IdeSnapshot.java:78) at org.netbeans.modules.profiler.snaptracer.impl.NpssDataObject.openImpl(NpssDataObject.java:101) at org.netbeans.modules.profiler.snaptracer.impl.NpssDataObject.access$000(NpssDataObject.java:67)
Created attachment 127303 [details] stacktrace
Applied the same fix as in Bug 205547. Error dialog now displays a 'Not a NPSS snapshot' message. Fixed by http://hg.netbeans.org/profiler-main/rev/9f2d9c44c268.
Integrated into 'main-golden', will be available in build *201211150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9f2d9c44c268 User: Jiri Sedlacek <jis@netbeans.org> Log: Bugfix #221632, display an error dialog with Not a 'NPSS snapshot message' for .nps files with .npss extension