Static initializer Error

25 views
Skip to first unread message

Aashika

unread,
Jul 3, 2012, 3:38:16 AM7/3/12
to codenameone...@googlegroups.com
My app runs gud n the simulator bt wen installin the app t throws "Application error:  Error java/lang/Error Static initializer:java/lang/NullPointerException"..
I dont hv any static variables r methods and i'v initialized display before defining my forms..
I would lik to know wat else can cause tis issue..

Shai Almog

unread,
Jul 3, 2012, 3:51:14 AM7/3/12
to codenameone...@googlegroups.com
Its possible that one of our or the JVM's classes fails for some reason.
I tested several applications in the current build and am a bit stumped regarding the reason you are getting this.

Do you have code that can reproduce this issue?

Aashika

unread,
Jul 3, 2012, 1:20:50 PM7/3/12
to codenameone...@googlegroups.com
Actually am workin as an intern n a company..am not supposed to expose my code in open forum...can i mail u the code??

Shai Almog

unread,
Jul 4, 2012, 12:47:25 AM7/4/12
to codenameone...@googlegroups.com
I was hoping you can distill a small sample that reproduces the problem. If not just email me the attachment to my first name at codename one dot com.

Aashika

unread,
Jul 4, 2012, 3:05:55 PM7/4/12
to codenameone...@googlegroups.com
Thank u...:)
Reply all
Reply to author
Forward
0 new messages