Categories: Issues and Troubleshooting : My Tracks : Mobile - Android :

My Tracks is crashing while tapping on menu options in Markers screen

Showing 1-1 of 1 messages
My Tracks is crashing while tapping on menu options in Markers screen vxjf67 4/19/12 6:21 AM
My Tracks is getting Force Close when selecting options menu from "Markers" screen. Following are the steps to reproduce:

App Version: 1.1.16

1. Launch My Tracks.
2. Tap on options menu & Select "Markers"
3. In Markers screen, again tap on options menu.

"Unfortunately, My Tracks has stopped" message is displayed.

Below are the logs:

I/ActivityManager(  197): Displayed com.google.android.maps.mytracks/com.google.android.apps.mytracks.WaypointsList: +391ms
D/MyTracks( 3060): MyTracks.onStop
I/MyTracks( 3060): TrackDataHub.stop
D/AndroidRuntime( 3060): Shutting down VM
W/dalvikvm( 3060): threadid=1: thread exiting with uncaught exception (group=0x40a621f8)
E/AndroidRuntime( 3060): FATAL EXCEPTION: main
E/AndroidRuntime( 3060): android.view.InflateException: Couldn't resolve menu item onClick handler onSearch in class com.google.android.apps.mytracks.WaypointsList
E/AndroidRuntime( 3060):     at android.view.MenuInflater$InflatedOnMenuItemClickListener.<init>(MenuInflater.java:202)
E/AndroidRuntime( 3060):     at android.view.MenuInflater$MenuState.setItem(MenuInflater.java:402)
E/AndroidRuntime( 3060):     at android.view.MenuInflater$MenuState.addItem(MenuInflater.java:436)
E/AndroidRuntime( 3060):     at android.view.MenuInflater.parseMenu(MenuInflater.java:173)
E/AndroidRuntime( 3060):     at android.view.MenuInflater.inflate(MenuInflater.java:95)
E/AndroidRuntime( 3060):     at com.google.android.apps.mytracks.WaypointsList.onCreateOptionsMenu(MT:204)
E/AndroidRuntime( 3060):     at android.app.Activity.onCreatePanelMenu(Activity.java:2444)
E/AndroidRuntime( 3060):     at com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java:388)
E/AndroidRuntime( 3060):     at com.android.internal.policy.impl.PhoneWindow.onKeyDownPanel(PhoneWindow.java:759)
E/AndroidRuntime( 3060):     at com.android.internal.policy.impl.PhoneWindow.onKeyDown(PhoneWindow.java:1424)
E/AndroidRuntime( 3060):     at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1813)
E/AndroidRuntime( 3060):     at android.view.ViewRootImpl.deliverKeyEventPostIme(ViewRootImpl.java:3300)
E/AndroidRuntime( 3060):     at android.view.ViewRootImpl.handleFinishedEvent(ViewRootImpl.java:3273)
E/AndroidRuntime( 3060):     at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2436)
E/AndroidRuntime( 3060):     at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3060):     at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3060):     at android.app.ActivityThread.main(ActivityThread.java:4340)
E/AndroidRuntime( 3060):     at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3060):     at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3060):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 3060):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime( 3060):     at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3060): Caused by: java.lang.NoSuchMethodException: onSearch [interface android.view.MenuItem]
E/AndroidRuntime( 3060):     at java.lang.Class.getConstructorOrMethod(Class.java:460)
E/AndroidRuntime( 3060):     at java.lang.Class.getMethod(Class.java:915)
E/AndroidRuntime( 3060):     at android.view.MenuInflater$InflatedOnMenuItemClickListener.<init>(MenuInflater.java:200)
E/AndroidRuntime( 3060):     ... 21 more
W/ActivityManager(  197):   Force finishing activity com.google.android.maps.mytracks/com.google.android.apps.mytracks.WaypointsList
I/WindowManager(  197): createSurface Window{41c19d80  paused=false}: DRAW NOW PENDING
D/dalvikvm(  273): GC_CONCURRENT freed 467K, 6% free 15799K/16711K, paused 5ms+4ms
W/ActivityManager(  197): Activity pause timeout for ActivityRecord{41b7c390 com.google.android.maps.mytracks/com.google.android.apps.mytracks.WaypointsList}