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 216162 - NullPointerException at org.netbeans.modules.profiler.actions.ProfilingSupport$1.run
Summary: NullPointerException at org.netbeans.modules.profiler.actions.ProfilingSuppor...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-31 04:37 UTC by Exceptions Reporter
Modified: 2012-11-16 10:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 191172


Attachments
stacktrace (284 bytes, text/plain)
2012-07-31 04:37 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-07-31 04:37:08 UTC
This bug was originally marked as duplicate of bug 130498, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) Client VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b06
OS: Windows 7

User Comments:
GUEST: I want to attach profile one project. Meet this issue. Could you please help on this?

GUEST: trying to run profiler

bartvdc: tried to attach to local app (maven)

GUEST: Wrote a simple HalloWorld and wanted to try the profiler. I'm on OSX 10.5.6 with 32bit Java5.

ivansidorkin: try to attach dynamic

GUEST: I tried to attach the profiler to monito CPU usage.

mrhaki: I wanted to change the Profiler settings for a profiling session for a remote application.

GUEST: I was attaching the Profiler to my main Project.

liammorren: trying to attach the profiler to a java application running on the same machine outside of netbeans

GUEST: I was adding the Profiler to a running process

ivansidorkin: run anagram
try to connect profiler using dynamic

GUEST: I want to profile a project, this error occurs when clicking the "Attach" button in the profile dialog




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.profiler.actions.ProfilingSupport$1.run(ProfilingSupport.java:292)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
Comment 1 Exceptions Reporter 2012-07-31 04:37:09 UTC
Created attachment 122555 [details]
stacktrace
Comment 2 Jiri Sedlacek 2012-11-16 10:23:43 UTC
Looks like the attach wizard implementation isn't registered in lookup, not sure why.

Should not be reproducible in 7.3, the new simplified Attach dialog introduced by Bug 214784 is now implemented directly in profiler.attach module.