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.
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)
Created attachment 123414 [details] stacktrace
Some old problem, that is to be resolved already! *** This bug has been marked as a duplicate of bug 186523 ***