Sorry, missed that you were trying with two different versions.  That NPE
is a red herring.  It should be fine.  I was referring to the error you get
in 1.0.1 (the memory error) as the one I fixed six months ago.

Summary.  Don't worry about the NPE.  That's normal.

Steve

On Mon, May 30, 2016 at 5:11 AM, Jojiez <jorgi...@gmail.com> wrote:

> 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 <jorg...@gmail.com> 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 codenameone-discussions+unsubscr...@googlegroups.com.
>>> 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 codenameone-discussions+unsubscr...@googlegroups.com.
> 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
> <https://groups.google.com/d/msgid/codenameone-discussions/95d46947-c3b0-45b9-a68a-d5571666a050%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve Hannah
Web Lite Solutions Corp.

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
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/CABiRg%2BQX5FBus99CabK%3DFmXa%3DTx0XeSg3kPdqF3pzdsiWtyWJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to