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 201210030002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b02, Java(TM) SE Runtime Environment, 1.8.0-ea-b58 OS: Linux Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.webkit.debugging.api.css.Style.<init>(Style.java:73) at org.netbeans.modules.web.webkit.debugging.api.css.Rule.<init>(Rule.java:96) at org.netbeans.modules.web.webkit.debugging.api.css.MatchedStyles.<init>(MatchedStyles.java:73) at org.netbeans.modules.web.webkit.debugging.api.css.CSS.getMatchedStyles(CSS.java:228) at org.netbeans.modules.web.inspect.webkit.ui.CSSStylesSelectionPanel$5.run(CSSStylesSelectionPanel.java:302) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454)
Created attachment 125419 [details] stacktrace
Created attachment 125420 [details] stacktrace
The exception shows that there is a missing style attribute in some CSS Rule obtained from the browser. I have no idea how this can happen and what it should mean. The style attribute is not optional according to the description of the protocol. I have modified the corresponding code to log the whole content of the rule when this happens. I am closing this issue as fixed because this exception should no longer be thrown (a different and more verbose one will be thrown). Modified file: http://hg.netbeans.org/web-main/rev/6ed8221e49bc