Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 207632 - NPE from profiled application during Stop profiling
NPE from profiled application during Stop profiling
Product: profiler
Classification: Unclassified
Component: Engine
PC Windows 7
: P3 (vote)
: 7.3
Assigned To: Tomas Hurka
: 200273 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2012-01-23 14:51 UTC by Jiri Sedlacek
Modified: 2012-11-15 02:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2012-01-23 14:51:45 UTC
Product Version: NetBeans IDE Dev (Build 20120123-de5ca11607e2)
Java: 1.6.0_30; Java HotSpot(TM) 64-Bit Server VM 20.5-b03
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)


 1/ Started profiling AnagramGame, CPU, Profile application, default roots, Profile all classes
 2/ Didn't open Live Results, clicked Stop profiling icon in Profiler Control Panel shortly after starting the profiling session

The following exception has been thrown into profiled app Output. Probably not easily reproducible. Profiling session has been terminated correctly, profiled application has been stopped.

Exception in thread "main" java.lang.NullPointerException
	at org.netbeans.lib.profiler.server.ProfilerRuntimeCPU.copyLocalBuffer(
	at org.netbeans.lib.profiler.server.ProfilerRuntimeCPU.writeTimeStampedEvent(
	at org.netbeans.lib.profiler.server.ProfilerRuntimeCPUFullInstr.methodExit(
	at java.util.HashMap.get(
	at javax.swing.plaf.synth.SynthStyle.installDefaults(
	at javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(
	at javax.swing.plaf.synth.SynthPanelUI.updateStyle(
	at javax.swing.plaf.synth.SynthPanelUI.installDefaults(
	at javax.swing.plaf.basic.BasicPanelUI.installUI(
	at javax.swing.plaf.synth.SynthPanelUI.installUI(
	at javax.swing.JComponent.setUI(
	at javax.swing.JPanel.setUI(
	at javax.swing.JPanel.updateUI(
	at javax.swing.JPanel.<init>(
	at javax.swing.JPanel.<init>(
	at javax.swing.JPanel.<init>(
	at javax.swing.JRootPane.createGlassPane(
	at javax.swing.JRootPane.<init>(
	at javax.swing.JFrame.createRootPane(
	at javax.swing.JFrame.frameInit(
	at javax.swing.JFrame.<init>(
	at com.toy.anagrams.ui.Anagrams.<init>(
	at com.toy.anagrams.ui.Anagrams.main(
Comment 1 Tomas Hurka 2012-11-08 10:36:34 UTC
*** Bug 200273 has been marked as a duplicate of this bug. ***
Comment 2 Tomas Hurka 2012-11-08 11:52:01 UTC
Hopefully fixed in profiler-main

changeset:   238600:b74fb5f26d4c
user:        Tomas Hurka <>
date:        Thu Nov 08 12:50:41 2012 +0100
summary:     bugfix #207632, make sure eventBuffer is still valid
Comment 3 Quality Engineering 2012-11-15 02:48:48 UTC
Integrated into 'main-golden', will be available in build *201211150001* on (upload may still be in progress)
User: Tomas Hurka <>
Log: bugfix #207632, make sure eventBuffer is still valid

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