[android-developers] Re: java.lang.exceptionInInitializerError

2011-10-03 Thread onionbread
Hi,

Thank you for the reply. I've solved the error by rebuilding
everything (included my data), and it works.



On Sep 23, 7:26 pm, RichardC richard.crit...@googlemail.com wrote:
 What is the source code around TestGame01.java:369 ?

 On Sep 23, 4:55 am, onionbread futh...@gmail.com wrote:







  09-22 22:47:08.036: ERROR/AndroidRuntime(31237): FATAL EXCEPTION: main
  09-22 22:47:08.036: ERROR/AndroidRuntime(31237):
  java.lang.ExceptionInInitializerError
  09-22 22:47:08.036: ERROR/AndroidRuntime(31237):     at
  java.lang.Class.newInstanceImpl(Native Method)
  09-22 22:47:08.036: ERROR/AndroidRuntime(31237):     at
  java.lang.Class.newInstance(Class.java:1429)

  09-22 22:47:08.036: ERROR/AndroidRuntime(31237): Caused by:
  java.lang.UnsatisfiedLinkError: Library TestGame01 not found
  09-22 22:47:08.036: ERROR/AndroidRuntime(31237):     at
  java.lang.Runtime.loadLibrary(Runtime.java:461)
  09-22 22:47:08.036: ERROR/AndroidRuntime(31237):     at
  java.lang.System.loadLibrary(System.java:557)
  09-22 22:47:08.036: ERROR/AndroidRuntime(31237):     at
  com.test.android.TestGame01clinit(TestGame01.java:369)
  09-22 22:47:08.036: ERROR/AndroidRuntime(31237):     ... 15 more

  On Sep 22, 7:47 pm, RichardC richard.crit...@googlemail.com wrote:

   You have missed out the importent bits from the ddms log.  Look for a
   line that includes caused by and/or include more of the exception
   log so we can have a look at it.

   On Sep 21, 10:27 am, onionbread futh...@gmail.com wrote:

Hi,

I'm new to android development but I have background in C++ and a bit
of java. I'm trying to run a game in Samsung Galaxy S but it crash.
When I check the error message from ddms, it shows:

FATAL EXCEPTION: main
 java.lang.ExceptionInInitializerError
  at java.lang.Class.newInstanceImpl(Native Method)
  at java.lang.Class.newInstance(Class.java:1429)
  ...
 and so on

What I want to know is, what exactly is the meaning of this error,
does it crash during an initialization? If yes, is the location in the
c main file or in java file?

I read some information on android developer's reference (http://
developer.android.com/reference/java/lang/
ExceptionInInitializerError.html#ExceptionInInitializerError())
But, honestly, I still don't get it.

I tried google this error message but couldn't find the answer I'm
looking for.

Any explanation on this error will be much appreciated.
Thank you very much. :)

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: java.lang.exceptionInInitializerError

2011-09-23 Thread RichardC
What is the source code around TestGame01.java:369 ?

On Sep 23, 4:55 am, onionbread futh...@gmail.com wrote:
 09-22 22:47:08.036: ERROR/AndroidRuntime(31237): FATAL EXCEPTION: main
 09-22 22:47:08.036: ERROR/AndroidRuntime(31237):
 java.lang.ExceptionInInitializerError
 09-22 22:47:08.036: ERROR/AndroidRuntime(31237):     at
 java.lang.Class.newInstanceImpl(Native Method)
 09-22 22:47:08.036: ERROR/AndroidRuntime(31237):     at
 java.lang.Class.newInstance(Class.java:1429)

 09-22 22:47:08.036: ERROR/AndroidRuntime(31237): Caused by:
 java.lang.UnsatisfiedLinkError: Library TestGame01 not found
 09-22 22:47:08.036: ERROR/AndroidRuntime(31237):     at
 java.lang.Runtime.loadLibrary(Runtime.java:461)
 09-22 22:47:08.036: ERROR/AndroidRuntime(31237):     at
 java.lang.System.loadLibrary(System.java:557)
 09-22 22:47:08.036: ERROR/AndroidRuntime(31237):     at
 com.test.android.TestGame01clinit(TestGame01.java:369)
 09-22 22:47:08.036: ERROR/AndroidRuntime(31237):     ... 15 more

 On Sep 22, 7:47 pm, RichardC richard.crit...@googlemail.com wrote:







  You have missed out the importent bits from the ddms log.  Look for a
  line that includes caused by and/or include more of the exception
  log so we can have a look at it.

  On Sep 21, 10:27 am, onionbread futh...@gmail.com wrote:

   Hi,

   I'm new to android development but I have background in C++ and a bit
   of java. I'm trying to run a game in Samsung Galaxy S but it crash.
   When I check the error message from ddms, it shows:

   FATAL EXCEPTION: main
    java.lang.ExceptionInInitializerError
     at java.lang.Class.newInstanceImpl(Native Method)
     at java.lang.Class.newInstance(Class.java:1429)
     ...
    and so on

   What I want to know is, what exactly is the meaning of this error,
   does it crash during an initialization? If yes, is the location in the
   c main file or in java file?

   I read some information on android developer's reference (http://
   developer.android.com/reference/java/lang/
   ExceptionInInitializerError.html#ExceptionInInitializerError())
   But, honestly, I still don't get it.

   I tried google this error message but couldn't find the answer I'm
   looking for.

   Any explanation on this error will be much appreciated.
   Thank you very much. :)

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: java.lang.exceptionInInitializerError

2011-09-22 Thread onionbread
09-22 22:47:08.036: ERROR/AndroidRuntime(31237): FATAL EXCEPTION: main
09-22 22:47:08.036: ERROR/AndroidRuntime(31237):
java.lang.ExceptionInInitializerError
09-22 22:47:08.036: ERROR/AndroidRuntime(31237): at
java.lang.Class.newInstanceImpl(Native Method)
09-22 22:47:08.036: ERROR/AndroidRuntime(31237): at
java.lang.Class.newInstance(Class.java:1429)


09-22 22:47:08.036: ERROR/AndroidRuntime(31237): Caused by:
java.lang.UnsatisfiedLinkError: Library TestGame01 not found
09-22 22:47:08.036: ERROR/AndroidRuntime(31237): at
java.lang.Runtime.loadLibrary(Runtime.java:461)
09-22 22:47:08.036: ERROR/AndroidRuntime(31237): at
java.lang.System.loadLibrary(System.java:557)
09-22 22:47:08.036: ERROR/AndroidRuntime(31237): at
com.test.android.TestGame01clinit(TestGame01.java:369)
09-22 22:47:08.036: ERROR/AndroidRuntime(31237): ... 15 more


On Sep 22, 7:47 pm, RichardC richard.crit...@googlemail.com wrote:
 You have missed out the importent bits from the ddms log.  Look for a
 line that includes caused by and/or include more of the exception
 log so we can have a look at it.

 On Sep 21, 10:27 am, onionbread futh...@gmail.com wrote:







  Hi,

  I'm new to android development but I have background in C++ and a bit
  of java. I'm trying to run a game in Samsung Galaxy S but it crash.
  When I check the error message from ddms, it shows:

  FATAL EXCEPTION: main
   java.lang.ExceptionInInitializerError
    at java.lang.Class.newInstanceImpl(Native Method)
    at java.lang.Class.newInstance(Class.java:1429)
    ...
   and so on

  What I want to know is, what exactly is the meaning of this error,
  does it crash during an initialization? If yes, is the location in the
  c main file or in java file?

  I read some information on android developer's reference (http://
  developer.android.com/reference/java/lang/
  ExceptionInInitializerError.html#ExceptionInInitializerError())
  But, honestly, I still don't get it.

  I tried google this error message but couldn't find the answer I'm
  looking for.

  Any explanation on this error will be much appreciated.
  Thank you very much. :)

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: java.lang.ExceptionInInitializerError while reading yml file

2009-07-01 Thread Ani

Thank you fadden. I have changed to XML file instead of YML

On Jun 18, 12:02 am, fadden fad...@android.com wrote:
 On Jun 16, 10:20 pm, Ani anish12...@gmail.com wrote:

  On Jun 17, 1:11 am, fadden fad...@android.com wrote:
   java.beans.PropertyDescriptor is not part of the Android platform, but
   org.ho.yaml.YamlConfig.isPropertyAccessibleForDecoding requires it.

  Thank you fadden ,
  But how can i overcome this?

 Your basic choices are: provide an implementation of
 PropertyDescriptor, or remove the use of it from yaml.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: java.lang.ExceptionInInitializerError while reading yml file

2009-06-17 Thread fadden

On Jun 16, 10:20 pm, Ani anish12...@gmail.com wrote:
 On Jun 17, 1:11 am, fadden fad...@android.com wrote:
  java.beans.PropertyDescriptor is not part of the Android platform, but
  org.ho.yaml.YamlConfig.isPropertyAccessibleForDecoding requires it.

 Thank you fadden ,
 But how can i overcome this?

Your basic choices are: provide an implementation of
PropertyDescriptor, or remove the use of it from yaml.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: java.lang.ExceptionInInitializerError while reading yml file

2009-06-16 Thread fadden

On Jun 16, 3:42 am, Ani anish12...@gmail.com wrote:
 W/dalvikvm(24378): VFY: unable to find class referenced in signature 
 (Ljava/beans/PropertyDescriptor;)
 E/dalvikvm(24378): Could not find method 
 java.beans.PropertyDescriptor.getWriteMethod, referenced from method 
 org.ho.yaml.YamlConfig.isPropertyAccessibleForDecoding
[...]
 W/dalvikvm(24378): VFY:  rejected 
 Lorg/ho/yaml/YamlConfig;.isPropertyAccessibleForDecoding 
 (Ljava/beans/PropertyDescriptor;)Z

java.beans.PropertyDescriptor is not part of the Android platform, but
org.ho.yaml.YamlConfig.isPropertyAccessibleForDecoding requires it.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: java.lang.ExceptionInInitializerError while reading yml file

2009-06-16 Thread Ani



On Jun 17, 1:11 am, fadden fad...@android.com wrote:
 On Jun 16, 3:42 am, Ani anish12...@gmail.com wrote:

  W/dalvikvm(24378): VFY: unable to find class referenced in signature 
  (Ljava/beans/PropertyDescriptor;)
  E/dalvikvm(24378): Could not find method 
  java.beans.PropertyDescriptor.getWriteMethod, referenced from method 
  org.ho.yaml.YamlConfig.isPropertyAccessibleForDecoding
 [...]
  W/dalvikvm(24378): VFY:  rejected 
  Lorg/ho/yaml/YamlConfig;.isPropertyAccessibleForDecoding 
  (Ljava/beans/PropertyDescriptor;)Z

 java.beans.PropertyDescriptor is not part of the Android platform, but
 org.ho.yaml.YamlConfig.isPropertyAccessibleForDecoding requires it.

Thank you fadden ,
But how can i overcome this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---