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.
Product Version: NetBeans IDE Dev (Build 200708270000) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) Steps to reproduce: Create AnagramGame project and perform profiling in Memory mode. Close tested application. Add Triggered profiling point with Loaded classes exceeds 3 Run profiling again. The NPE is thrown: java.lang.NullPointerException at java.io.DataOutputStream.writeUTF(DataOutputStream.java:330) at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306) at com.sun.tools.profiler.results.memory.MemoryResultsSnapshot.writeToStream(MemoryResultsSnapshot.java:159) at com.sun.tools.profiler.results.memory.AllocMemoryResultsSnapshot.writeToStream(AllocMemoryResultsSnapshot.java:59) at org.netbeans.modules.profiler.LoadedSnapshot.save(LoadedSnapshot.java:166) at org.netbeans.modules.profiler.ResultsManager.saveSnapshot(ResultsManager.java:354) at org.netbeans.modules.profiler.ppoints.TriggeredTakeSnapshotProfilingPoint.takeSnapshotHit(TriggeredTakeSnapshotProfilingPoint.java:234) at org.netbeans.modules.profiler.ppoints.TriggeredTakeSnapshotProfilingPoint.hit(TriggeredTakeSnapshotProfilingPoint.java:211) at org.netbeans.modules.profiler.ppoints.GlobalProfilingPointsProcessor.processTriggeredProfilingPoint(GlobalProfilingPointsProcessor.java:222) at org.netbeans.modules.profiler.ppoints.GlobalProfilingPointsProcessor.processTriggeredProfilingPoints(GlobalProfilingPointsProcessor.java:178) at org.netbeans.modules.profiler.ppoints.GlobalProfilingPointsProcessor.processTelemetryEvent(GlobalProfilingPointsProcessor.java:143) at org.netbeans.modules.profiler.ppoints.GlobalProfilingPointsProcessor.dataChanged(GlobalProfilingPointsProcessor.java:285) at com.sun.tools.profiler.results.DataManager$1.run(DataManager.java:63) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) [catch] at java.lang.Thread.run(Thread.java:619)
this is not longer reproducible on Dev Build 20070831 - there were some changes in the way the incoming results were being handled and this seems to be fixed as a side-effect
Verified in build 200710081200