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 189539 - 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: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-16 08:53 UTC by pekarna
Modified: 2010-08-16 09:42 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 171967


Attachments
stacktrace (1.11 KB, text/plain)
2010-08-16 08:53 UTC, pekarna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pekarna 2010-08-16 08:53:21 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 (Build 201006101454)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

User Comments:
GUEST: Trying to attach debugger

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

GUEST: build 20100610 - bug still exist

GUEST: Attaching a debugger on jboss

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

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

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

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

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

GUEST: Trying to connect to the server

Sveromm: I have last version of NetBeans...

GUEST: Attempting to attach debugger to a JVM.

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

Sveromm: Cannot attach jpda debugger!

GUEST: attaching debbuger to 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.

GUEST: attached debugger through socket




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 pekarna 2010-08-16 08:53:25 UTC
Created attachment 101408 [details]
stacktrace
Comment 2 Martin Entlicher 2010-08-16 09:42:54 UTC
The problem is creation of class path:
file:/T:/data/.m2/repository/asm/asm/1.5.3/asm-1.5.3-sources.jar is not a valid classpath entry
Already fixed in 6.10 dev builds.

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