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 257091 - NullPointerException at org.netbeans.modules.web.webkit.debugging.api.css.PseudoIdRules.<init>
Summary: NullPointerException at org.netbeans.modules.web.webkit.debugging.api.css.Pse...
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: 2015-12-10 09:31 UTC by terje7601
Modified: 2016-02-04 02:33 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 221418


Attachments
stacktrace (2.46 KB, text/plain)
2015-12-10 09:31 UTC, terje7601
Details
stacktrace (871 bytes, text/plain)
2015-12-11 11:25 UTC, everflux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description terje7601 2015-12-10 09:31:33 UTC
Build: NetBeans IDE Dev (Build 201512070002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
terje7601: Hadn't done anything in particular this time (though Chrome-integrated debugging was still active)

GUEST: Selected 'Start Inspection with Netbeans' in the chrome browser a web page I was debugging.  Then selected the CSS view in netbeans from the side bar....the CSS Styles view was collapsed onto the side of Netbeans.

terje7601: Clicking an element after I did "Start Debug in NetBeans Mode"

GUEST: I don't know why this happened

vrain10: CSS properties window not being populated when using chrome netbeans connector

terje7601: Just after I did "Start Inspect in NetBeans Mode" & selected an element

terje7601: Doing "Start Inspect in NetBeans Mode"




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.webkit.debugging.api.css.PseudoIdRules.<init>(PseudoIdRules.java:67)
   at org.netbeans.modules.web.webkit.debugging.api.css.MatchedStyles.<init>(MatchedStyles.java:84)
   at org.netbeans.modules.web.webkit.debugging.api.css.CSS.getMatchedStyles(CSS.java:352)
   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)
Comment 1 terje7601 2015-12-10 09:31:35 UTC
Created attachment 157742 [details]
stacktrace
Comment 2 everflux 2015-12-11 11:25:18 UTC
Created attachment 157760 [details]
stacktrace

used inspect element in chromium with netbeans debugger extension attached. no data displayed in netbeans.
Comment 3 Martin Entlicher 2016-02-03 10:58:16 UTC
pseudoElements array [ PseudoIdMatches ]
has changed to:
pseudoElements array [ PseudoElementMatches ]
Comment 4 Martin Entlicher 2016-02-03 12:51:53 UTC
Fixed by changeset:   295050:8bc9b4dff3ad
http://hg.netbeans.org/web-main/rev/8bc9b4dff3ad
Comment 5 Quality Engineering 2016-02-04 02:33:21 UTC
Integrated into 'main-silver', will be available in build *201602040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8bc9b4dff3ad
User: mentlicher@netbeans.org
Log: #257091: PseudoIdRules removed, it's not used and the protocol has changed.