Yes am using the 1.0.4 release and am getting this error :- *class org.w3c.flute.util.Encoding: couldn't load encoding properties *
*java.lang.NullPointerException* * at org.w3c.flute.util.Encoding.<clinit>(Encoding.java:40)* * at org.w3c.flute.parser.Parser.getCharStreamWithLurk(Parser.java:344)* * at org.w3c.flute.parser.Parser.parseStyleSheet(Parser.java:99)* * at com.codename1.ui.css.CSSTheme.load(CSSTheme.java:4552)* * at com.codename1.ui.css.CN1CSSCLI.main(CN1CSSCLI.java:79)* * at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)* * at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)* * at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)* * at java.lang.reflect.Method.invoke(Method.java:497)* * at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)* * at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)* * at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)* * at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)* * at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)* * at java.lang.reflect.Method.invoke(Method.java:497)* * at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)* On Saturday, May 28, 2016 at 5:48:09 PM UTC+3, Steve Hannah wrote: > > Are you using an old version of the library? I fixed that issue 6 months > ago. > > Try with latest release > https://github.com/shannah/cn1-css/releases/tag/1.0.4 > > Steve > > On Sat, May 28, 2016 at 7:20 AM, Jojiez <[email protected] <javascript:>> > wrote: > >> Hi, >> >> Am having problems try implementing CSS in my project. >> >> When I use CN1 CSS v1.0.1 I get Error: >> >> *Could not create the Java Virtual Machine.* >> >> >> *Error: A fatal exception has occurred. Program will exit.* >> *Invalid maximum heap size: -Xmx4096m**The specified size exceeds the >> maximum representable size.* >> >> >> >> When I use CN1 CSS v1.0.4 I get Error: >> >> *class org.w3c.flute.util.Encoding: couldn't load encoding properties * >> >> *java.lang.NullPointerException* >> >> * at org.w3c.flute.util.Encoding.<clinit>(Encoding.java:40)* >> >> * at org.w3c.flute.parser.Parser.getCharStreamWithLurk(Parser.java:344)* >> >> * at org.w3c.flute.parser.Parser.parseStyleSheet(Parser.java:99)* >> >> * at com.codename1.ui.css.CSSTheme.load(CSSTheme.java:4552)* >> >> * at com.codename1.ui.css.CN1CSSCLI.main(CN1CSSCLI.java:79)* >> >> * at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)* >> >> * at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)* >> >> * at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)* >> >> * at java.lang.reflect.Method.invoke(Method.java:497)* >> >> * at >> com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)* >> >> * at >> com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)* >> >> * at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)* >> >> * at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)* >> >> * at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)* >> >> * at java.lang.reflect.Method.invoke(Method.java:497)* >> >> * at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)* >> >> >> What could be the problem? >> >> If you are experiencing an issue please mention the full platform your >> issue applies to: >> IDE: NetBeans/Eclipse/IDEA - Netbeans 8.0 >> Desktop OS - Windows 7 >> Simulator >> Device >> >> -- >> You received this message because you are subscribed to the Google Groups >> "CodenameOne Discussions" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <javascript:>. >> Visit this group at >> https://groups.google.com/group/codenameone-discussions. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/codenameone-discussions/affef456-11c0-4a79-a53d-83ba73e53485%40googlegroups.com >> >> <https://groups.google.com/d/msgid/codenameone-discussions/affef456-11c0-4a79-a53d-83ba73e53485%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Steve Hannah > Software Developer > Codename One > http://www.codenameone.com > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/95d46947-c3b0-45b9-a68a-d5571666a050%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
