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 231373 - IllegalStateException at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder.addMethodExits
Summary: IllegalStateException at org.netbeans.lib.profiler.results.cpu.StackTraceSnap...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
: 231374 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-17 14:47 UTC by Egor Ushakov
Modified: 2013-06-18 07:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 201488


Attachments
stacktrace (1.96 KB, text/plain)
2013-06-17 14:47 UTC, Egor Ushakov
Details
snapshot (689.68 KB, application/octet-stream)
2013-06-17 15:30 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2013-06-17 14:47:01 UTC
Build: NetBeans IDE Dev (Build 201306162301)
VM: Java HotSpot(TM) Client VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: SunOS

User Comments:
gorrus: opened a snapshot




Stacktrace: 
java.lang.IllegalStateException
   at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder.addMethodExits(StackTraceSnapshotBuilder.java:531)
   at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder.processDiffs(StackTraceSnapshotBuilder.java:482)
   at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder.processDiffs(StackTraceSnapshotBuilder.java:427)
   at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder.processThreadDump(StackTraceSnapshotBuilder.java:352)
   at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder.addStacktrace(StackTraceSnapshotBuilder.java:319)
   at org.netbeans.modules.profiler.SampledCPUSnapshot.getTimestamp(SampledCPUSnapshot.java:116)
Comment 1 Egor Ushakov 2013-06-17 14:47:03 UTC
Created attachment 135897 [details]
stacktrace
Comment 2 Tomas Hurka 2013-06-17 15:25:08 UTC
Please attach the snapshot. Thanks.
Comment 3 Tomas Hurka 2013-06-17 15:25:39 UTC
*** Bug 231374 has been marked as a duplicate of this bug. ***
Comment 4 Egor Ushakov 2013-06-17 15:30:39 UTC
Created attachment 135904 [details]
snapshot
Comment 5 Egor Ushakov 2013-06-17 15:31:31 UTC
BTW is it possible to make it display the snapshot data even if there were exceptions during the load?
Comment 6 Tomas Hurka 2013-06-18 07:45:40 UTC
Fixed in profiler-main

changeset:   255896:72d0066c6e64
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Jun 18 09:36:33 2013 +0200
summary:     better fix for #231152 - remove ignored threads from lastStackTrace
Comment 7 Tomas Hurka 2013-06-18 07:46:07 UTC
(In reply to comment #5)
> BTW is it possible to make it display the snapshot data even if there were
> exceptions during the load?
I don't think so.