当前位置: 动力学知识库 > 问答 > 编程问答 >

android - Image Gallery Issues

问题描述:

I am having a problem in debug mode for image gallery ,the application crashes un expectedly

i am posting the error log . Please help...

02-03 11:33:01.998: E/AndroidRuntime(2240): FATAL EXCEPTION: main

02-03 11:33:01.998: E/AndroidRuntime(2240): java.lang.RuntimeException: Unable to instantiate application android.app.Application: java.lang.NullPointerException

02-03 11:33:01.998: E/AndroidRuntime(2240): at android.app.LoadedApk.makeApplication(LoadedApk.java:482)

02-03 11:33:01.998: E/AndroidRuntime(2240): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3938)

02-03 11:33:01.998: E/AndroidRuntime(2240): at android.app.ActivityThread.access$1300(ActivityThread.java:123)

02-03 11:33:01.998: E/AndroidRuntime(2240): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1185)

02-03 11:33:01.998: E/AndroidRuntime(2240): at android.os.Handler.dispatchMessage(Handler.java:99)

02-03 11:33:01.998: E/AndroidRuntime(2240): at android.os.Looper.loop(Looper.java:137)

02-03 11:33:01.998: E/AndroidRuntime(2240): at android.app.ActivityThread.main(ActivityThread.java:4424)

02-03 11:33:01.998: E/AndroidRuntime(2240): at java.lang.reflect.Method.invokeNative(Native Method)

02-03 11:33:01.998: E/AndroidRuntime(2240): at java.lang.reflect.Method.invoke(Method.java:511)

02-03 11:33:01.998: E/AndroidRuntime(2240): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)

02-03 11:33:01.998: E/AndroidRuntime(2240): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)

02-03 11:33:01.998: E/AndroidRuntime(2240): at dalvik.system.NativeStart.main(Native Method)

02-03 11:33:01.998: E/AndroidRuntime(2240): Caused by: java.lang.NullPointerException

02-03 11:33:01.998: E/AndroidRuntime(2240): at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:362)

02-03 11:33:01.998: E/AndroidRuntime(2240): at android.app.LoadedApk.getClassLoader(LoadedApk.java:305)

02-03 11:33:01.998: E/AndroidRuntime(2240): at android.app.LoadedApk.makeApplication(LoadedApk.java:474)

02-03 11:33:01.998: E/AndroidRuntime(2240): ... 11 more

分享给朋友:
您可能感兴趣的文章:
随机阅读: