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 219698 - Profiling broken by modifying memory profiling
Summary: Profiling broken by modifying memory profiling
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-08 11:32 UTC by Jiri Sedlacek
Modified: 2012-10-09 02:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2012-10-08 11:32:36 UTC
Product Version: NetBeans IDE Dev (Build 20121008-9d5d0e5dabae)
Java: 1.6.0_35; Java HotSpot(TM) 64-Bit Server VM 20.10-b01
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)

Steps:
 1/ Start Quick memory profiling, display Live Results
 2/ Modify profiling to Advanced memory, wait for live results
 3/ Modify profiling back to Quick memory, profiler hangs in EDT till timeout

Exception is thrown on profiled app side:
java.lang.NullPointerException
	at org.netbeans.lib.profiler.wireprotocol.WireIO.sendComplexResponse(WireIO.java:312)
	at org.netbeans.lib.profiler.server.ProfilerServer.sendComplexResponseToClient(ProfilerServer.java:713)
	at org.netbeans.lib.profiler.server.ProfilerServer.handleClientCommand(ProfilerServer.java:1659)
	at org.netbeans.lib.profiler.server.ProfilerServer.listenToClient(ProfilerServer.java:1728)
	at org.netbeans.lib.profiler.server.ProfilerServer.run(ProfilerServer.java:690)
Comment 1 Tomas Hurka 2012-10-08 15:13:03 UTC
Fixed in profiler-main

changeset:   235218:524ce71c0092
user:        Tomas Hurka <thurka@netbeans.org>
date:        Mon Oct 08 17:09:06 2012 +0200
summary:     bugfix #219698, make sure that the Histogram internal data is initialized only once
Comment 2 Jiri Sedlacek 2012-10-08 15:18:16 UTC
Verified.
Comment 3 Quality Engineering 2012-10-09 02:03:25 UTC
Integrated into 'main-golden', will be available in build *201210090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/524ce71c0092
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #219698, make sure that the Histogram internal data is initialized only once