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.
Netbeans 6.1 FCS + 4/28 update center Solaris --Firebug and nb extension removed from Firefox; clean installation and userdir --Got this NPE below between first and second launch of debugger. I think I had a faulty installation because second debug launched installation message (for the second time) and installed Firebug. No indication that the first installation was incomplete. Will try to reproduce now. java.lang.NullPointerException at org.netbeans.modules.web.client.javascript.debugger.firefox.DbgpUtils.getDbgpBreakpointCommand(DbgpUtils.java:123) at org.netbeans.modules.web.client.javascript.debugger.firefox.FFJSDebugger.setBreakpoint(FFJSDebugger.java:215) at org.netbeans.modules.web.client.javascript.debugger.api.NbJSDebugger.setBreakpoint(NbJSDebugger.java:411) at org.netbeans.modules.web.client.javascript.debugger.api.NbJSDebugger.access$100(NbJSDebugger.java:105) at org.netbeans.modules.web.client.javascript.debugger.api.NbJSDebugger$DebuggerManagerListenerImpl.breakpointAdded(NbJSDebugger.java:154) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:449) Caused: java.lang.reflect.UndeclaredThrowableException at $Proxy7.breakpointAdded(Unknown Source) at org.netbeans.api.debugger.DebuggerManager.fireBreakpointCreated(DebuggerManager.java:755) at org.netbeans.api.debugger.DebuggerManager.addBreakpoint(DebuggerManager.java:519) at org.netbeans.modules.web.client.javascript.debugger.ui.breakpoints.NbJSBreakpointManager.addBreakpoint(NbJSBreakpointManager.java:124) at org.netbeans.modules.web.client.javascript.debugger.ui.breakpoints.NbJSBreakpointActionProvider.doAction(NbJSBreakpointActionProvider.java:82) at org.netbeans.spi.debugger.ActionsProvider$1.run(ActionsProvider.java:105) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
After Krys is able to reproduce the issue, Deva, can you please have a look at this?
Actually it turns out to be a problem that Firebug did not get installed correctly. The solution is that after the user presses the OK button we should run the check for the required extensions one more time. Deva should still protect for NPE.
There is now an additional check after the initial installation is launched. When the user clicks 'OK', the extension installs are validated, and if they are still not present, the extension installations are launched again with a similar dialog message. This should ensure that the add-ons are eventually installed correctly by the user. Changesets: f022edeff337, d96684da982c