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.
Toggle BP action should be probably disabled when a file which is NOT opened in the editor is selected in Exporer. User can invoke this action then, which leads to NPE. Steps to reproduce this: ------------------------- 1)Have a project with at least two java files opened. 2)Open one of the files in the editor 3)Select the second one in Exporer window, Project Tab (via left mouse button) 4)Press "Ctrl+F8" or invoke "Toggle BP" action from the "Run" menu. NB4.2dev, 200506211800 Tested on Windows XP x86 && Solaris Sparc
Created attachment 22848 [details] exception
It looks like ant or debugger problem, reassigning. java.lang.NullPointerException at org.netbeans.modules.ant.debugger.breakpoints.AntBreakpointActionProvider.doAction(AntBreakpointActionProvider.java:56) at org.netbeans.api.debugger.ActionsManager.doAction(ActionsManager.java:147) at org.netbeans.modules.debugger.ui.actions.DebuggerAction.actionPerformed(DebuggerAction.java:45)
The same cause as issue #60607. *** This issue has been marked as a duplicate of 60607 ***
Ok, verified diplicate.