[android-developers] app crashes when a map view is added

2012-07-21 Thread Ralph Bergmann | the4thFloor.eu
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

Re: [android-developers] app crashes when a map view is added

2012-07-21 Thread TreKing
On Sat, Jul 21, 2012 at 6:42 AM, Ralph Bergmann | the4thFloor.eu ra...@the4thfloor.eu wrote: What's going wrong? As the stacktrace explicitly tells you, you have a NullPointer at line 482 of LoadedApk.java. Use your debugger to determine what is null, then make it not null.

Re: [android-developers] app crashes when a map view is added

2012-07-21 Thread Ralph Bergmann | the4thFloor.eu
Am 21.07.12 19:31, schrieb TreKing: As the stacktrace explicitly tells you, you have a NullPointer at line 482 of LoadedApk.java. Use your debugger to determine what is null, then make it not null. The LoadedApk.java is from the system not from me. And when you look at the example project the

Re: [android-developers] app crashes when a map view is added

2012-07-21 Thread Kostya Vasilyev
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 ra...@the4thfloor.eu написал: Hello, on all my Android

Re: [android-developers] app crashes when a map view is added

2012-07-21 Thread Kostya Vasilyev
2012/7/21 Kostya Vasilyev kmans...@gmail.com I see it happen all the time... and without a MapView. Correction - used to see it all the time with 4.0.2/4.0.4. Appears to be fixed in 4.1.1 (although I haven't used it enough to say for sure). -- K It's some side effect of an application