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 224949 - IllegalArgumentException: Style attribute is missing! Rule: {"rule":{"sourceLine":0,"style":{"styleId":{"ordinal":6,"styleSheetId":"12"},"height":"","width":"","shorthandEntries":[],"cssProperties":[{
Summary: IllegalArgumentException: Style attribute is missing! Rule: {"rule":{"sourceL...
Status: RESOLVED DUPLICATE of bug 222059
Alias: None
Product: web
Classification: Unclassified
Component: Inspection (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
: 224970 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-01-16 09:41 UTC by Exceptions Reporter
Modified: 2013-01-30 14:06 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197445


Attachments
stacktrace (2.27 KB, text/plain)
2013-01-16 09:41 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-01-16 09:41:06 UTC
Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows XP

User Comments:
capturewiz: Trying to get breakpoints in JavaScript code to work. With breakpoint set, click Run -> error message

NetBeans 7.3 Beta 2
Windows 7x64 on VMWare virtual machine
Chrome browser with NetBeans Connector 0.6.18  and Xdebug helper 1.2.0 

Note that the Debug Project toolbar button was irritatingly disabled.r 0.6.18
I eventually got breakpoints to work after 6 hours of troubleshooting. It started working after I fixed the capitalization of the JavaScript file name in the external reference in the HTML file. But I find it hard to believe that's what fixed it.

capturewiz: Execption when  Run new HTML5 project in Chrome Version 24.0.1312.52 m with NetBeans Connector 0.6.18 

Product Version = NetBeans IDE 7.3 Beta 2 (Build 201211062253)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.6.0_23
Runtime = Java HotSpot(TM) 64-Bit Server VM 19.0-b09

IDE running in VMWare Workstation 8.0.5 build-893925

Fails using default CSS provided by File / New File / Other / CSS
<link rel="stylesheet" href="TLog.css">

Also fails when using CSS copied exactly from netbeans.css file provided in NetBeans download.

Note that the NetBeans Connector Inspect in NetBeans Mode function also crashes with an exception every time




Stacktrace: 
java.lang.IllegalArgumentException: Style attribute is missing! Rule: {"rule":{"sourceLine":0,"style":{"styleId":{"ordinal":6,"styleSheetId":"12"},"height":"","width":"","shorthandEntries":[],"cssProperties":[{"name":"display","value":"none"}]},"selectorList":{"text":"script","selectors":["script"]},"origin":"user-agent"},"matchingSelectors":[0]}
   at org.netbeans.modules.web.webkit.debugging.api.css.Rule.<init>(Rule.java:102)
   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:342)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2036)
Comment 1 Exceptions Reporter 2013-01-16 09:41:08 UTC
Created attachment 130272 [details]
stacktrace
Comment 2 David Konecny 2013-01-30 00:16:49 UTC
*** Bug 224970 has been marked as a duplicate of this bug. ***
Comment 3 Vladimir Riha 2013-01-30 07:37:52 UTC
Honzo, can you please evaluate? There are 36 exception reports (but all from Beta2) and according to messages.log from 22 users (22 distinct system user dirs) => P2. Thanks
Comment 4 Petr Jiricka 2013-01-30 13:26:38 UTC
David, any ideas? (Honza S is sick.)
Comment 5 Jan Stola 2013-01-30 14:03:43 UTC

*** This bug has been marked as a duplicate of bug 222059 ***
Comment 6 Vladimir Riha 2013-01-30 14:06:49 UTC
(In reply to comment #5)
> 
> *** This bug has been marked as a duplicate of bug 222059 ***

Thanks