I see it happen all the time... and without a MapView. It's some side
effect of an application relaunch. Only happens during development. I
already filed bug a few months ago.
21.07.2012 15:45 пользователь "Ralph Bergmann | the4thFloor.eu" <
[email protected]> написал:

> Hello,
>
>
> on all my Android 4.x devices the app crashes when I restart the app via
> Eclipse and the MapView is visible.
>
> You can find a example app here:
> https://github.com/the4thfloor/AndroidMapViewCrashTest
>
> Import this project and press play in Eclipse.
>
> In the app press the buttons until the MapView is visible.
>
> Then restart the app with Eclipse and the app crashes with the following
> error:
>
> FATAL EXCEPTION: main
> java.lang.RuntimeException: Unable to instantiate application
> android.app.Application: java.lang.NullPointerException
>         at android.app.LoadedApk.makeApplication(LoadedApk.java:482)
>         at
> android.app.ActivityThread.handleBindApplication(ActivityThread.java:3938)
>         at android.app.ActivityThread.access$1300(ActivityThread.java:123)
>         at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1185)
>         at android.os.Handler.dispatchMessage(Handler.java:99)
>         at android.os.Looper.loop(Looper.java:137)
>         at android.app.ActivityThread.main(ActivityThread.java:4424)
>         at java.lang.reflect.Method.invokeNative(Native Method)
>         at java.lang.reflect.Method.invoke(Method.java:511)
>         at
>
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
>         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
>         at dalvik.system.NativeStart.main(Native Method)
> Caused by: java.lang.NullPointerException
>         at
> android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:362)
>         at android.app.LoadedApk.getClassLoader(LoadedApk.java:305)
>         at android.app.LoadedApk.makeApplication(LoadedApk.java:474)
>         ... 11 more
>
>
> What's going wrong?
>
>
>
> Ralph
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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

Reply via email to