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.

Bug 259172 - NullPointerException at org.netbeans.modules.web.webkit.debugging.api.css.CSS.getMatchedStyles
Summary: NullPointerException at org.netbeans.modules.web.webkit.debugging.api.css.CSS...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-09 17:09 UTC by Exceptions Reporter
Modified: 2016-05-20 01:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 223960


Attachments
stacktrace (671 bytes, text/plain)
2016-05-09 17:09 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-05-09 17:09:45 UTC
This bug was originally marked as duplicate of bug 257443, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201605090002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.91-b14, Java(TM) SE Runtime Environment, 1.8.0_91-b14
OS: Windows 10

User Comments:
GUEST: Edit CSS when running chrome with connctor




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.webkit.debugging.api.css.CSS.getMatchedStyles(CSS.java:356)
   at org.netbeans.modules.web.inspect.webkit.ui.CSSStylesSelectionPanel.updateMatchedRules(CSSStylesSelectionPanel.java:639)
   at org.netbeans.modules.web.inspect.webkit.ui.CSSStylesSelectionPanel$9.run(CSSStylesSelectionPanel.java:628)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
   at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
Comment 1 Exceptions Reporter 2016-05-09 17:09:47 UTC
Created attachment 159586 [details]
stacktrace
Comment 2 Martin Entlicher 2016-05-17 13:22:38 UTC
Fixed by changeset:   297275:ad7d135e88ae
http://hg.netbeans.org/core-main/rev/ad7d135e88ae
Comment 3 Quality Engineering 2016-05-20 01:39:31 UTC
Integrated into 'main-silver', will be available in build *201605200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ad7d135e88ae
User: mentlicher@netbeans.org
Log: #259172: Check the rule's style id. Skip and log the ones with null id.