tianyong2 / foursquared

Automatically exported from code.google.com/p/foursquared
Apache License 2.0
0 stars 0 forks source link

Map Activity Exceptions #124

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Per dumpcatcher:

"""
java.lang.ClassCastException: android.graphics.drawable.BitmapDrawable
    at 
com.google.android.maps.MyLocationOverlay.getLocationDot(MyLocationOverlay.
java:180)
    at 
com.google.android.maps.MyLocationOverlay.drawMyLocation(MyLocationOverlay.
java:561)
    at 
com.google.android.maps.MyLocationOverlay.draw(MyLocationOverlay.java:511)
    at 
com.google.android.maps.OverlayBundle.draw(OverlayBundle.java:45)
    at com.google.android.maps.MapView.onDraw(MapView.java:471)
    at android.view.View.draw(View.java:5838)
    at android.view.ViewGroup.drawChild(ViewGroup.java:1486)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
    at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
    at android.view.View.draw(View.java:5841)
    at android.widget.FrameLayout.draw(FrameLayout.java:352)
    at android.view.ViewGroup.drawChild(ViewGroup.java:1486)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
    at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
    at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
    at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
    at android.view.View.draw(View.java:5841)
    at android.widget.FrameLayout.draw(FrameLayout.java:352)
    at android.view.ViewGroup.drawChild(ViewGroup.java:1486)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
    at android.view.View.draw(View.java:5841)
    at android.widget.FrameLayout.draw(FrameLayout.java:352)
    at android.view.ViewGroup.drawChild(ViewGroup.java:1486)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
    at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
    at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
    at android.view.View.draw(View.java:5841)
    at android.widget.FrameLayout.draw(FrameLayout.java:352)
    at 
com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.jav
a:1904)
    at android.view.ViewRoot.draw(ViewRoot.java:1239)
    at android.view.ViewRoot.performTraversals(ViewRoot.java:1049)
    at android.view.ViewRoot.handleMessage(ViewRoot.java:1518)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:123)
    at android.app.ActivityThread.main(ActivityThread.java:3977)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:521)
    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:
782)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
    at dalvik.system.NativeStart.main(Native Method)
"""

AND

"""
java.lang.VerifyError: com.joelapenna.foursquared.VenueMapActivity
    at java.lang.Class.newInstanceImpl(Native Method)
    at java.lang.Class.newInstance(Class.java:1472)
    at 
android.app.Instrumentation.newActivity(Instrumentation.java:1097)
    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2183)
    at 
android.app.ActivityThread.startActivityNow(ActivityThread.java:2111)
    at 
android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127)
    at 
android.app.LocalActivityManager.startActivity(LocalActivityManager.java:33
9)
    at 
android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:60
0)
    at android.widget.TabHost.setCurrentTab(TabHost.java:310)
    at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:126)
    at 
android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:268)
    at android.view.View.performClick(View.java:2179)
    at android.view.View.onTouchEvent(View.java:3825)
    at android.view.View.dispatchTouchEvent(View.java:3368)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:831)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
    at 
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEv
ent(PhoneWindow.java:1707)
    at 
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneW
indow.java:1197)
    at android.app.Activity.dispatchTouchEvent(Activity.java:1993)
    at 
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(P
honeWindow.java:1691)
    at android.view.ViewRoot.handleMessage(ViewRoot.java:1515)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:123)
    at android.app.ActivityThread.main(ActivityThread.java:3928)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:521)
    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:
782)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
    at dalvik.system.NativeStart.main(Native Method)
"""

Original issue reported on code.google.com by jlapenna on 5 Nov 2009 at 5:45

GoogleCodeExporter commented 8 years ago
Hack fix in place.

Original comment by jlapenna on 23 Nov 2009 at 7:45