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 118676 - org.w3c.css.sac.CSSException while invoking checkCSS action
Summary: org.w3c.css.sac.CSSException while invoking checkCSS action
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Marek Fukala
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-12 09:59 UTC by Jindrich Sedek
Modified: 2008-04-28 13:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 7372


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2007-10-12 09:59:00 UTC
Build: NetBeans IDE Dev (Build 200710120000)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-ea-b02
OS: SunOS, 5.10, x86
User comments: 
use this code in CSS style:
---------------------------
input[type="text"]{ 
    
}
--------------------------
invoke check CSS action
Exception is thrown, but code is correct

STACKTRACE: (first 10 lines)
org.w3c.css.sac.CSSException
        at org.w3c.flute.parser.selectors.ConditionFactoryImpl.createAttributeCondition(ConditionFactoryImpl.java:109)
        at org.w3c.flute.parser.Parser.attrib(Parser.java:1938)
        at org.w3c.flute.parser.Parser.simple_selector(Parser.java:1601)
        at org.w3c.flute.parser.Parser.selector(Parser.java:1519)
        at org.w3c.flute.parser.Parser.selectorList(Parser.java:1480)
        at org.w3c.flute.parser.Parser.styleRule(Parser.java:1386)
        at org.w3c.flute.parser.Parser.afterImportDeclaration(Parser.java:561)
        at org.w3c.flute.parser.Parser.parserUnit(Parser.java:498)
        at org.w3c.flute.parser.Parser.parseStyleSheet(Parser.java:107)
        at org.w3c.flute.parser.Parser.parseStyleSheet(Parser.java:119)
Comment 1 Marek Fukala 2007-10-12 10:13:23 UTC
Looks like flute issue :-|
Comment 2 Marek Fukala 2007-10-29 16:25:02 UTC
read related comments in issue #69708
Comment 3 Marek Fukala 2007-11-03 21:54:52 UTC
I have implemented the option #3 described in the issue #69708 - a message about internal flute error is written into
the css check output window + the exception is logged with INFO level.

I am leaving the issue opened so we can track the flute problem somehow.

Checking in CheckStyleAction.java;
/cvs/web/css/src/org/netbeans/modules/css/actions/CheckStyleAction.java,v  <--  CheckStyleAction.java
new revision: 1.3; previous revision: 1.2
done
Comment 4 Marek Fukala 2007-11-03 21:55:42 UTC
the main problem fixed in 6.0, removing fix-in-60 status whiteboard
Comment 5 Marek Fukala 2008-02-25 17:23:05 UTC
The issue is fixed completely. The check action works fine on the mentioned example now.
Comment 6 Jindrich Sedek 2008-03-03 16:03:24 UTC
verified.
NetBeans IDE 6.1 Beta (Build 200803031027)