Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 221632 - When opening nps file with extension npss When opening nps file with extension npss
Product: profiler
Classification: Unclassified
Component: Base
All All
: P3 (vote)
: 7.3
Assigned To: Jiri Sedlacek
Depends on:
  Show dependency treegraph
Reported: 2012-11-07 12:38 UTC by Ralph Ruijs
Modified: 2013-07-04 07:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT

stacktrace (890 bytes, text/plain)
2012-11-07 12:38 UTC, Ralph Ruijs

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Ruijs 2012-11-07 12:38:49 UTC
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

Stacktrace: Invalid header nBpR
   at org.netbeans.modules.profiler.LoadedSnapshot$SamplesInputStream.readHeader(
   at org.netbeans.modules.profiler.LoadedSnapshot$SamplesInputStream.<init>(
   at org.netbeans.modules.profiler.SampledCPUSnapshot.<init>(
   at org.netbeans.modules.profiler.snaptracer.impl.IdeSnapshot.<init>(
   at org.netbeans.modules.profiler.snaptracer.impl.NpssDataObject.openImpl(
   at org.netbeans.modules.profiler.snaptracer.impl.NpssDataObject.access$000(
Comment 1 Ralph Ruijs 2012-11-07 12:38:50 UTC
Created attachment 127303 [details]
Comment 2 Jiri Sedlacek 2012-11-08 12:13:10 UTC
Applied the same fix as in Bug 205547. Error dialog now displays a 'Not a NPSS snapshot' message.

Fixed by
Comment 3 Quality Engineering 2012-11-15 02:45:32 UTC
Integrated into 'main-golden', will be available in build *201211150001* on (upload may still be in progress)
User: Jiri Sedlacek <>
Log: Bugfix #221632, display an error dialog with Not a 'NPSS snapshot message' for .nps files with .npss extension

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo