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 233463, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.4 (Build 201310111528) VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Windows XP User Comments: GUEST: Error 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$4$1.run(CSSStylesPanel.java:325) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
Created attachment 142046 [details] stacktrace
Created attachment 147405 [details] stacktrace I ran project in Chrome with NB integration and selected element using Inspect mode that uses CSS from external file (external URL). This NPE likely popped out when I tried to focus CSS rule from external file in Applied Styles in CSS Styles
Project to reproduce the issue is here http://services.netbeans.org/synergy/server/api/attachment.php?id=140
I was not able to reproduce this issue, but the fix seems to be clear. Modified file: https://hg.netbeans.org/web-main/rev/0db30b8a7003
Integrated into 'main-silver', will be available in build *201503040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/0db30b8a7003 User: Jan Stola <jstola@netbeans.org> Log: #238217: Avoiding a potential NPE