I just got this warning from the CSS parser:
WARNING: com.sun.javafx.css.parser.CSSParser declaration Expected IDENT at file:/Users/randahl/Dropbox/Development/wefend/ui/target/classes/styling/wefend.fhd.css[3,101,2]
There are a couple of things that make this warning hard to read:
1. Few will be able to guess what is meant by "declaration Expected IDENT" - the problem is actually that the parser does not like that I have declared an empty block such as .x {}, but how am I supposed to know that, from this message?
2. The three dimensional vector at the end of the message could indicate that I should go to line 3 character 101 and then scroll along the z-axis until I reach depth 2. However, my old-school Mac OS only supports two-dimensional scrolling.
To reproduce, just add the following to a CSS file:
/* This is perfectly legal CSS but JavaFX does not like empty blocks for some reason */
.main-tab {
}
WARNING: com.sun.javafx.css.parser.CSSParser declaration Expected IDENT at file:/Users/randahl/Dropbox/Development/wefend/ui/target/classes/styling/wefend.fhd.css[3,101,2]
There are a couple of things that make this warning hard to read:
1. Few will be able to guess what is meant by "declaration Expected IDENT" - the problem is actually that the parser does not like that I have declared an empty block such as .x {}, but how am I supposed to know that, from this message?
2. The three dimensional vector at the end of the message could indicate that I should go to line 3 character 101 and then scroll along the z-axis until I reach depth 2. However, my old-school Mac OS only supports two-dimensional scrolling.
To reproduce, just add the following to a CSS file:
/* This is perfectly legal CSS but JavaFX does not like empty blocks for some reason */
.main-tab {
}
- duplicates
-
JDK-8110252 Exceptions from CSS Type conversion should be caught and a friendlier message issued
-
- Closed
-