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.
Product Version: NetBeans IDE Dev (Build 200808050125) Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22 System: Linux version 2.6.24-20-generic running on i386; UTF-8; en_US (nb) I got the following NullPointerException when I tried to insert a breakpoint in a JavaScript file included in a PHP project. I used the 'left-click in the editor gutter' to set the line breakpoint. java.lang.NullPointerException at org.netbeans.modules.web.client.tools.common.dbgp.DbgpUtils.getDbgpBreakpointCommand(DbgpUtils.java:105) at org.netbeans.modules.web.client.tools.javascript.debugger.spi.JSAbstractExternalDebugger.setBreakpoint(JSAbstractExternalDebugger.java:193) at org.netbeans.modules.web.client.javascript.debugger.api.NbJSDebugger$1.run(NbJSDebugger.java:505) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
I am not able to reproduce with the following steps 1) Create a new PHP project 2) Add some javascript source 3) Try to set breakpoints Could you please provide more information about the steps. From the stack trace it is possible to fix NPE, but that will not exactly address the root cause
I'm no longer able to reproduce it either.