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 221030 - IllegalStateException: Property '-fx-background-color' parsing error: No referred element 'paint' found. Read input: <paint>
Summary: IllegalStateException: Property '-fx-background-color' parsing error: No refe...
Status: RESOLVED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P1 normal (vote)
Assignee: Petr Somol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-29 14:33 UTC by Stepan Zebra
Modified: 2012-11-01 02:41 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194235


Attachments
stacktrace (3.27 KB, text/plain)
2012-10-29 14:33 UTC, Stepan Zebra
Details
stacktrace (5.62 KB, text/plain)
2012-10-29 14:42 UTC, Stepan Zebra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stepan Zebra 2012-10-29 14:33:44 UTC
Build: NetBeans IDE Dev (Build 201210290001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b11
OS: Windows 7

User Comments:
stezeb: Product Version: NetBeans IDE Dev (Build 201210290001)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)

Opened FX project with CSS file. Exception keeps popping up.




Stacktrace: 
java.lang.IllegalStateException: Property '-fx-background-color' parsing error: No referred element 'paint' found. Read input: <paint>
   at org.netbeans.modules.css.lib.properties.GrammarParser.parseElements(GrammarParser.java:165)
   at org.netbeans.modules.css.lib.properties.GrammarParser.parse(GrammarParser.java:93)
   at org.netbeans.modules.css.lib.properties.GrammarParser.parse(GrammarParser.java:74)
   at org.netbeans.modules.css.lib.api.properties.PropertyDefinition.getGrammarElement(PropertyDefinition.java:137)
   at org.netbeans.modules.css.lib.api.properties.ResolvedProperty.<init>(ResolvedProperty.java:77)
   at org.netbeans.modules.css.visual.RuleEditorNode$DeclarationProperty.checkForErrors(RuleEditorNode.java:771)
Comment 1 Stepan Zebra 2012-10-29 14:33:47 UTC
Created attachment 126726 [details]
stacktrace
Comment 2 Stepan Zebra 2012-10-29 14:42:11 UTC
Created attachment 126728 [details]
stacktrace

Product Version: NetBeans IDE Dev (Build 201210290001)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)

Just created FXML-Login sample project. Exception keeps popping up.
Comment 3 Stepan Zebra 2012-10-29 14:45:35 UTC
(In reply to comment #0)
> ...
> 
> Opened FX project with CSS file. Exception keeps popping up.
> 
> ....

The project here was one of SceneBuilder 1.1 samples. Similar exception is coming from CSS in FXML-LoginDemo (though from a different CSS rule) - see the Exception Reporter's page.
Comment 4 Marek Fukala 2012-10-31 07:39:47 UTC
My fault, I'm sorry... fixed

changeset:   237699:b9ba3d2176d5
summary:     #221030 - IllegalStateException: Property '-fx-background-color' parsing error: No referred element 'paint' found. Read input: <paint>
Comment 5 Quality Engineering 2012-11-01 02:41:43 UTC
Integrated into 'main-golden', will be available in build *201211010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b9ba3d2176d5
User: Marek Fukala <mfukala@netbeans.org>
Log: #221030 - IllegalStateException: Property '-fx-background-color' parsing error: No referred element 'paint' found. Read input: <paint>