On Fri, Dec 5, 2008 at 09:04, Cédric Berger <[EMAIL PROTECTED]> wrote: > - I finally got a GPS fix ! (but I really miss a simple GPS > application to see basic GPS data.) > But Maps crashes as soon as GPS has got a fix. ( ClassCastException > when trying to locate on map). I lost my log file so I need to do > another test (and get a fix) to get the exact class.... > Any idea ? : >
Finally got the log when trying to locate : /AndroidRuntime( 5729): Shutting down VM W/dalvikvm( 5729): threadid=3: thread exiting with uncaught exception (group=0x40010e28) E/AndroidRuntime( 5729): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 5729): java.lang.ClassCastException: android.graphics.drawable.BitmapDrawable E/AndroidRuntime( 5729): at com.google.android.maps.MyLocationOverlay.getLocationDot(MyLocationOverlay.java:179) E/AndroidRuntime( 5729): at com.google.android.maps.MyLocationOverlay.drawMyLocation(MyLocationOverlay.java:541) E/AndroidRuntime( 5729): at com.google.android.maps.MyLocationOverlay.draw(MyLocationOverlay.java:491) E/AndroidRuntime( 5729): at com.google.android.maps.OverlayBundle.draw(OverlayBundle.java:45) E/AndroidRuntime( 5729): at com.google.android.maps.MapView.onDraw(MapView.java:451) E/AndroidRuntime( 5729): at android.view.View.draw(View.java:5352) E/AndroidRuntime( 5729): at android.view.ViewGroup.drawChild(ViewGroup.java:1436) E/AndroidRuntime( 5729): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1208) E/AndroidRuntime( 5729): at android.view.ViewGroup.drawChild(ViewGroup.java:1434) E/AndroidRuntime( 5729): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1208) E/AndroidRuntime( 5729): at android.view.ViewGroup.drawChild(ViewGroup.java:1434) E/AndroidRuntime( 5729): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1208) E/AndroidRuntime( 5729): at android.view.View.draw(View.java:5355) E/AndroidRuntime( 5729): at android.widget.FrameLayout.draw(FrameLayout.java:324) E/AndroidRuntime( 5729): at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1701) E/AndroidRuntime( 5729): at android.view.ViewRoot.draw(ViewRoot.java:980) E/AndroidRuntime( 5729): at android.view.ViewRoot.performTraversals(ViewRoot.java:829) E/AndroidRuntime( 5729): at android.view.ViewRoot.handleMessage(ViewRoot.java:1103) E/AndroidRuntime( 5729): at android.os.Handler.dispatchMessage(Handler.java:88) E/AndroidRuntime( 5729): at android.os.Looper.loop(Looper.java:123) E/AndroidRuntime( 5729): at android.app.ActivityThread.main(ActivityThread.java:3742) E/AndroidRuntime( 5729): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 5729): at java.lang.reflect.Method.invoke(Method.java:515) E/AndroidRuntime( 5729): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739) E/AndroidRuntime( 5729): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497) E/AndroidRuntime( 5729): at dalvik.system.NativeStart.main(Native Method) I/Process ( 869): Sending signal. PID: 5729 SIG: 3 I/dalvikvm( 5729): threadid=7: reacting to signal 3 I/dalvikvm( 5729): Wrote stack trace to '/data/anr/traces.txt' - Note that I also have a lot of these logs. Maybe "normal" since I have no connection so no map tiles available, but it should not try (and fail) to show empty tiles... D/skia ( 5729): xxxxxxxxxxx jpeg error 53 Not a JPEG file: starts with 0x%02x 0x%02x E/MapView ( 5729): IllegalStateException on drawMap. Wiping cache. E/MapView ( 5729): java.lang.IllegalStateException: Null Bitmap!/loading_tile.png=17301864 E/MapView ( 5729): at com.google.common.graphics.android.AndroidImage.<init>(Unknown Source) E/MapView ( 5729): at com.google.common.graphics.android.AndroidImageFactory.createImage(Unknown Source) E/MapView ( 5729): at com.google.googlenav.map.MapTile.c(Unknown Source) E/MapView ( 5729): at com.google.googlenav.map.MapTile.getImage(Unknown Source) E/MapView ( 5729): at com.google.googlenav.map.Map.a(Unknown Source) E/MapView ( 5729): at com.google.googlenav.map.Map.drawMap(Unknown Source) E/MapView ( 5729): at com.google.android.maps.MapView.drawMap(MapView.java:997) E/MapView ( 5729): at com.google.android.maps.MapView.onDraw(MapView.java:443) E/MapView ( 5729): at android.view.View.draw(View.java:5352) E/MapView ( 5729): at android.view.ViewGroup.drawChild(ViewGroup.java:1436) E/MapView ( 5729): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1208) E/MapView ( 5729): at android.view.ViewGroup.drawChild(ViewGroup.java:1434) E/MapView ( 5729): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1208) E/MapView ( 5729): at android.view.ViewGroup.drawChild(ViewGroup.java:1434) E/MapView ( 5729): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1208) E/MapView ( 5729): at android.view.View.draw(View.java:5355) E/MapView ( 5729): at android.widget.FrameLayout.draw(FrameLayout.java:324) E/MapView ( 5729): at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1701) E/MapView ( 5729): at android.view.ViewRoot.draw(ViewRoot.java:980) E/MapView ( 5729): at android.view.ViewRoot.performTraversals(ViewRoot.java:829) E/MapView ( 5729): at android.view.ViewRoot.handleMessage(ViewRoot.java:1103) E/MapView ( 5729): at android.os.Handler.dispatchMessage(Handler.java:88) E/MapView ( 5729): at android.os.Looper.loop(Looper.java:123) E/MapView ( 5729): at android.app.ActivityThread.main(ActivityThread.java:3742) E/MapView ( 5729): at java.lang.reflect.Method.invokeNative(Native Method) E/MapView ( 5729): at java.lang.reflect.Method.invoke(Method.java:515) E/MapView ( 5729): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739) E/MapView ( 5729): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497) E/MapView ( 5729): at dalvik.system.NativeStart.main(Native Method) _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community