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 203248 - NullPointerException in ProfilerRuntimeSampler$Sampling.sample
Summary: NullPointerException in ProfilerRuntimeSampler$Sampling.sample
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 15:56 UTC by Tomas Hurka
Modified: 2011-10-10 12:23 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 Tomas Hurka 2011-10-06 15:56:40 UTC
In closing profiler session. See log:
Profiler Agent: Initializing...
Profiler Agent: Options: >/Users/thurka/Projects/Source/more-crippled-netbeans/main/nbbuild/netbeans/profiler/lib,5140,10<
Profiler Agent: Initialized successfully
Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 12)
Profiler Agent: Established connection with the tool
Profiler Agent: Local accelerated session
Exception in thread "*** Profiler Agent Special Execution Thread 10" java.lang.NullPointerException
Profiler Agent: Connection with agent closed
Profiler Agent: Connection with agent closed
	at org.netbeans.lib.profiler.server.ProfilerRuntimeSampler$Sampling.sample(ProfilerRuntimeSampler.java:90)
	at org.netbeans.lib.profiler.server.SamplingThread.run(SamplingThread.java:74)
BUILD SUCCESSFUL (total time: 2 minutes 36 seconds)
Comment 1 Tomas Hurka 2011-10-06 16:28:08 UTC
Fixed in profiler-main

changeset:   203560:db46c25d2464
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Oct 06 18:24:29 2011 +0200
summary:     bugfix #203248, ignore empty samples
Comment 2 Quality Engineering 2011-10-10 12:23:13 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/db46c25d2464
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #203248, ignore empty samples