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 171756 - IllegalStateException: Adding stacktrace with timestamp 4999072337859 is not allowed after a stacktrace with timestamp 4999072745299 has been added
Summary: IllegalStateException: Adding stacktrace with timestamp 4999072337859 is not ...
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Tomas Hurka
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
: 171186 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-08 21:54 UTC by Marian Mirilovic
Modified: 2010-04-23 06:56 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 157904


Attachments
stacktrace (530 bytes, text/plain)
2009-09-16 08:31 UTC, Karol Harezlak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2009-09-08 21:54:08 UTC
37 duplicates in last 4 days ... P2

Build: NetBeans IDE Dev (Build 200909080527)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86
User comments: Starting application

Stacktrace: 
java.lang.IllegalStateException: Adding stacktrace with timestamp 4999072337859 is not allowed after a stacktrace with
timestamp 4999072745299 has been added
        at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder.addStacktrace(StackTraceSnapshotBuilder.java:207)
        at org.netbeans.modules.profiler.actions.SelfSamplerAction$Controller$1.run(SelfSamplerAction.java:232)
        at java.util.TimerThread.mainLoop(TimerThread.java:512)
        at java.util.TimerThread.run(TimerThread.java:462)
Comment 1 Karol Harezlak 2009-09-16 08:31:16 UTC
Build: NetBeans Platform Dev (Build 200909140908)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-b02, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b02
OS: Linux, 2.6.24-24-generic, i386

User Comments: 
Profiling NB module, pops up at the start of IDE

Stacktrace: 
java.lang.IllegalStateException: Adding stacktrace with timestamp 1253086202002271000 is not allowed after a stacktrace with timestamp 1253086202248019000 has been added
        at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder.addStacktrace(StackTraceSnapshotBuilder.java:208)
        at org.netbeans.modules.profiler.actions.SelfSamplerAction$Controller$1.run(SelfSamplerAction.java:232)
        at java.util.TimerThread.mainLoop(TimerThread.java:512)
        at java.util.TimerThread.run(TimerThread.java:462)
Comment 2 Karol Harezlak 2009-09-16 08:31:30 UTC
Created attachment 87735 [details]
stacktrace
Comment 3 Exceptions Reporter 2009-09-16 08:32:15 UTC
This issue already has 52 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=157904
Comment 4 Tomas Hurka 2009-09-16 10:29:01 UTC
I am not able to reproduce it. Does anybody has steps how to reproduce it?
Comment 5 Tomas Hurka 2009-09-16 10:47:03 UTC
*** Issue 171186 has been marked as a duplicate of this issue. ***
Comment 6 Tomas Hurka 2009-09-16 17:32:31 UTC
montonicity of System.nanoTime is not presently guaranteed

changeset:   145141:1ee566c00097
user:        Tomas Hurka <thurka@netbeans.org>
date:        Wed Sep 16 18:24:33 2009 +0200
summary:     bugfix #171756, ignore misplaced samples
Comment 7 Quality Engineering 2009-09-18 22:28:51 UTC
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1ee566c00097
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #171756, ignore misplaced samples
Comment 8 Marian Mirilovic 2010-04-23 06:56:45 UTC
v/c