llj098 / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

java.lang.ExceptionInInitializerError in imsDroid integration #529

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am integrating the IMSDROID app with my app.
Every time when my app is going to be start it gives the following error..

java.lang.ExceptionInInitializerError

Complete Log is 

07-21 14:09:29.360: E/AndroidRuntime(2527): FATAL EXCEPTION: main
07-21 14:09:29.360: E/AndroidRuntime(2527): 
java.lang.ExceptionInInitializerError
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
org.doubango.imsdroid.MyMainClass.<init>(MyMainClass.java:56)
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
java.lang.Class.newInstanceImpl(Native Method)
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
java.lang.Class.newInstance(Class.java:1130)
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
android.app.Instrumentation.newActivity(Instrumentation.java:1061)
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2260)
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2403)
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
android.app.ActivityThread.access$600(ActivityThread.java:154)
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1270)
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
android.os.Handler.dispatchMessage(Handler.java:99)
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
android.os.Looper.loop(Looper.java:137)
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
android.app.ActivityThread.main(ActivityThread.java:5302)
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
java.lang.reflect.Method.invokeNative(Native Method)
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
java.lang.reflect.Method.invoke(Method.java:525)
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
dalvik.system.NativeStart.main(Native Method)
07-21 14:09:29.360: E/AndroidRuntime(2527): Caused by: 
java.lang.NullPointerException
07-21 14:09:29.360: E/AndroidRuntime(2527):     at 
org.doubango.ngn.NgnEngine.<clinit>(NgnEngine.java:75)

I have search it solution but not found any answeer.
Please guys suggest me  whats wrong i am doing and
what is its solution.

Original issue reported on code.google.com by amardeep...@gmail.com on 21 Jul 2014 at 8:50

GoogleCodeExporter commented 9 years ago
Declare your app as NGN as explained at 
https://code.google.com/p/imsdroid/source/browse/branches/2.0/android-ngn-stack/
src/org/doubango/ngn/NgnApplication.java?r=561#184
Check imsdroid manifest for more info

Original comment by boss...@yahoo.fr on 21 Jul 2014 at 8:59

GoogleCodeExporter commented 9 years ago
@boss
      I am very thanks to u for your reply and solutions.
      There was some little faults from my ends.
      Now Its working fine for me.

Original comment by amardeep...@gmail.com on 21 Jul 2014 at 2:11