Sunday, July 9, 2017

Re: Unable to parse CSS - gwt 2.7 - Using DataGrid



On Monday, July 10, 2017 at 2:36:00 AM UTC+2, Rohan Sachdeva wrote:
Hi All,

I am using GWT DataGrid in some application and facing following issue:-

                  [ERROR] Unable to parse CSS
org.w3c.css.sac.CSSException: @def rules must specify an identifier and one or more values
at com.google.gwt.resources.css.GenerateCssAst$GenerationHandler.parseDef(GenerateCssAst.java:361)

This line in 2.7 doesn't match with the exception being thrown: https://github.com/gwtproject/gwt/blob/2.7.0/user/src/com/google/gwt/resources/css/GenerateCssAst.java#L361
It does match in 2.6.1 though: https://github.com/gwtproject/gwt/blob/2.6.1/user/src/com/google/gwt/resources/css/GenerateCssAst.java#L361
Do you maybe have a mix of 2.7 and 2.6 in your classpath?
That said, NativeHorizontalScrollbarTransparent.css hasn't changed since its introduction in 2011: https://github.com/gwtproject/gwt/commits/2.8.1/user/src/com/google/gwt/user/client/ui/NativeHorizontalScrollbarTransparent.css
so this is quite strange…
Do you maybe have some third-party library (or your own project) shadowing that CSS?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment