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.
Build: NetBeans IDE Dev (Build 201307242300) VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17 OS: Windows 7 User Comments: GUEST: Tried inspecting an element in debugger with chrome connector extention enabled. GUEST: using netbeans connector and adding css rule viggonavarsete: I tried the action sample bundled with Netbeans and reading the blog from Gertjan showing how to use it, when it crashed Stacktrace: java.lang.NullPointerException: The sources[0] parameter cannot be null at org.openide.util.Parameters.notNull(Parameters.java:89) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:105) at org.netbeans.modules.web.inspect.webkit.ui.CSSStylesPanel$3$1.run(CSSStylesPanel.java:288) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
Created attachment 137841 [details] stacktrace
This issue is similar to issue 230935. It may happen when the inspected URL maps to a folder. For example, when you inspect a URL like http://localhost:8383/HTML5Application27/ then the web server may serve the content that corresponds to http://localhost:8383/HTML5Application27/index.html but the original URL itself maps to a folder. Moreover, the server page must contain embedded stylesheet and a matching rule from this stylesheet must be selected in CSS Styles view.
Fixed by http://hg.netbeans.org/web-main/rev/33c5192c5a1f