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 190261 - NullPointerException at org.netbeans.api.debugger.ActionsManager.registerActionsProviders
Summary: NullPointerException at org.netbeans.api.debugger.ActionsManager.registerActi...
Status: RESOLVED DUPLICATE of bug 186523
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-09 11:28 UTC by wklaczynski
Modified: 2010-09-09 11:44 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 172439


Attachments
stacktrace (1.11 KB, text/plain)
2010-09-09 11:29 UTC, wklaczynski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wklaczynski 2010-09-09 11:28:58 UTC
This bug was originally marked as duplicate of bug 186523, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.9.1 (Build 201008030030)
VM: Java HotSpot(TM) Client VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06
OS: Linux

User Comments:
GUEST: When I try to connect my debugger to a running java process (remote debugging) I get the following error

Sveromm: I have last version of NetBeans...

GUEST: attaching debbuger to server

GUEST: Attach the debugger to a jvm running on the same maching and listening on port 10011

GUEST: Attaching a debugger on jboss

GUEST: Was trying to attach debugger at Jboss 5.1.0GA (default server listening for debug request at port 8686)

wklaczynski: Debug with jboss on fedora 11, previous wersion netbeans works fine.

jfeid: Started Tomcat 6 in debug mode from Services window and then Debug -> Attach Debugger

GUEST: attached debugger through socket

GUEST: When trying to attach debuger to jetty/weblogic server.

GUEST: Trying to attach debugger

mpiffret: Attaching a debugger to jboss 5.1.0GA jdk6 on MacOS 10.6.3 using latest java update.

GUEST: attaching debugger to tomcat instance not registered within netbeans, using JPDA SharedMemoryAttach.

GUEST: Trying to attach to a local glassfish...

GUEST: Remote debug on jboss on port 8787

pekarna: Tried to attach a debugger to a Maven project started using `mvnDebug test -Dtest=*Fakt*`

GUEST: Attempting to attach debugger to a JVM.

Sveromm: Cannot attach jpda debugger!

GUEST: trying to attach the debugger

GUEST: build 20100610 - bug still exist

GUEST: Trying to connect to the server

GUEST: Attaching debugger fails with an exception. The stacktrace mentions a source jar in my repository. Upon deleting this, and any other source jars that cause exceptions on subsequent tries, I am able to attach.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.debugger.ActionsManager.registerActionsProviders(ActionsManager.java:428)
   at org.netbeans.api.debugger.ActionsManager.initActionImpls(ActionsManager.java:446)
   at org.netbeans.api.debugger.ActionsManager.isEnabled(ActionsManager.java:260)
   at org.netbeans.modules.debugger.ui.actions.DebuggerAction.isEnabled(DebuggerAction.java:127)
   at org.netbeans.modules.debugger.ui.actions.DebuggerAction.access$000(DebuggerAction.java:73)
   at org.netbeans.modules.debugger.ui.actions.DebuggerAction$Listener.propertyChange(DebuggerAction.java:374)
Comment 1 wklaczynski 2010-09-09 11:29:01 UTC
Created attachment 101961 [details]
stacktrace
Comment 2 Martin Entlicher 2010-09-09 11:44:54 UTC

*** This bug has been marked as a duplicate of bug 186523 ***