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 217241 - 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: 2012-08-22 15:45 UTC by Exceptions Reporter
Modified: 2012-08-23 08:41 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191747


Attachments
stacktrace (1.19 KB, text/plain)
2012-08-22 15:45 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-08-22 15:45:02 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 201007282301)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.8-b03, Java(TM) SE Runtime Environment, 1.6.0_33-b03
OS: Windows 7

User Comments:
GUEST: debugging unit test

GUEST: trying to debug a file

GUEST: debug test file

GUEST: Null pointer exceprtion while debugging unit test

GUEST: Trying to debug a project.

When I run Debug Test File I always get this errror.

GUEST: I tried to debug JUnit test case of Maven project.

GUEST: This error happens when I'm trying to debug JUnit test which calling Hibernate

GUEST: Attempting to Debug a Test File.  I'd recently switched from junit 3 to junit 4.  The project is specified using maven.

GUEST: Everytime I try and debug, I get this exception. I restarted netbeans, it did not help. it seems to happen on maven spring project. local debugging, remote port debugging or pid-attached debugging, all of those cause the exception.

GUEST: DEBUG

GUEST: Debugging a JUnit Test file

johanandren: Trying to run "debug test" in maven project.

GUEST: breakpoint set in local sources
hit debug in a maven project

lostmats: debug a unit test

GUEST: Trying to debug test file in a maven project.
(Some dependencies miss source.)

GUEST: Just attempted to run a junit test case in debug mode

GUEST: Trying to run JUnit test for Maven project

johanandren: Tried to debug a test in a maven project (Command+shift+F6).

GUEST: Just trying to debug a JUnit test with one breakpoint. Unfortunately after this error debugging session doesn't respond anymore. No threads are shown, breakpoint is never reached. Test displays as still running (lower right part of status line in NetBeans window). Have to klick close ("x") to get out of that. Repeating debug test file shows same problem over again.

GUEST: Debug a test file

GUEST: Trying to start debug mode

peter149: Trying to debug a maven project but the debugger fails start up. Process hangs.

GUEST: - in a JUnit 4 test
- Right click and choose 'Debug Test File'
- it's a maven project

GUEST: test debug

gigadot: Debugger failed to startup when debugging  a test file in maven projects. Only happen with maven project.

lostmats: debug a unittest

GUEST: Debugging a test file.

GUEST: Try to debug a java code. This happened on both 6.9 beta and RC1. The project I run the debugger is managed by Maven on XP system. I have no problem  debugging on Windows 7.




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 Exceptions Reporter 2012-08-22 15:45:05 UTC
Created attachment 123414 [details]
stacktrace
Comment 2 Martin Entlicher 2012-08-23 08:41:51 UTC
Some old problem, that is to be resolved already!

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