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 88079 - Profiler doesn't work because of NPE from HeapDumpWatch
Summary: Profiler doesn't work because of NPE from HeapDumpWatch
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-26 12:54 UTC by ehucka
Modified: 2006-11-09 14:38 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 ehucka 2006-10-26 12:54:03 UTC
profiler 061026

I cannot start any profiling task for a j2se application. Every profiling ends by:

java.lang.NullPointerException
org.netbeans.modules.profiler.heapwalk.HeapDumpWatch.monitor(HeapDumpWatch.java:66)
org.netbeans.modules.profiler.actions.AntActions.activateOOMProtection(AntActions.java:670)
org.netbeans.modules.profiler.actions.AntActions.doProfileProject(AntActions.java:574)
org.netbeans.modules.profiler.actions.AntActions.access$000(AntActions.java:60)
org.netbeans.modules.profiler.actions.AntActions$6.perform(AntActions.java:362)
org.netbeans.modules.project.ui.actions.MainProjectAction.actionPerformed(MainProjectAction.java:123)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
Comment 1 J Bachorik 2006-10-26 14:44:54 UTC
This was caused by hardcoding the path to generated heapdumps for demo purposes
(c:\temp as we did the demo on windows). 
It's fixed by IN#102572. Now the default system TEMP dir is used
Comment 2 ehucka 2006-11-09 14:38:15 UTC
verified