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 244899

Summary: *** Profiler Engine: internal error: got unknown event type in CPUDataFrameProcessor: 0 at 74
Product: profiler Reporter: Jiri Skrivanek <jskrivanek>
Component: EngineAssignee: Tomas Hurka <thurka>
Status: VERIFIED FIXED    
Severity: normal CC: gordonre
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 210115
Attachments: stacktrace

Description Jiri Skrivanek 2014-06-05 08:47:33 UTC
Build: NetBeans IDE Dev (Build prototypes-profiler-14-on-20140604)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 7

User Comments:
jskrivanek: While profiling Anagram project I switched from Telemetry to Objects and to Methods with combined view enabled from previous runs (single class selected for profiling).




Stacktrace: 
java.nio.BufferUnderflowException
   at java.nio.Buffer.nextGetIndex(Buffer.java:500)
   at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:135)
   at org.netbeans.lib.profiler.results.AbstractDataFrameProcessor.getTimeStamp(AbstractDataFrameProcessor.java:144)
   at org.netbeans.lib.profiler.results.cpu.CPUDataFrameProcessor.doProcessDataFrame(CPUDataFrameProcessor.java:109)
   at org.netbeans.lib.profiler.results.AbstractDataFrameProcessor.processDataFrame(AbstractDataFrameProcessor.java:97)
   at org.netbeans.lib.profiler.results.ProfilingResultsDispatcher$1.run(ProfilingResultsDispatcher.java:140)
Comment 1 Jiri Skrivanek 2014-06-05 08:47:35 UTC
Created attachment 147576 [details]
stacktrace
Comment 2 Tomas Hurka 2014-07-09 15:10:00 UTC
The exception is caused by:
*** Profiler Engine: internal error: got unknown event type in CPUDataFrameProcessor: 0 at 74
Comment 3 Tomas Hurka 2015-04-21 13:36:23 UTC
This should be fixed in dev. build.
Comment 4 Jiri Skrivanek 2015-04-22 09:39:18 UTC
Verified. Thanks.
Comment 5 Tomas Hurka 2016-08-12 12:31:38 UTC
*** Bug 257628 has been marked as a duplicate of this bug. ***