What steps will reproduce the problem?
1. start my tracks. the license dialog shows up
2. press search button
3. press search button again
What is the expected output? What do you see instead?
The license dialog should show up again. However, it does not.
If the Google Play Services are not present, there should be a dialog prompting
to get it. However, this is also bypassed.
So, if the Google Play Services are not present, then after pressing search
button twice, you can press the record button, and MyTracks crashes.
What version of MyTracks are you using? On what version of Android? On what
phone?
I've tried MyTracks 2.0.3, and the latest version compiled from source code.
On Android 4.0, Nexus 4 and emulator.
If possible please provide a log by uploading here.
Detailed instructions can be found here:
http://code.google.com/p/mytracks/wiki/HowToReportErrors
The stack trace from the latest version compiled from source when crashing:
E/AndroidRuntime( 1740): FATAL EXCEPTION: main
E/AndroidRuntime( 1740): java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.google.android.maps.mytracks/com.google.android.apps.mytracks.
TrackDetailActivity}: java.lang.NullPointerException
E/AndroidRuntime( 1740): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
E/AndroidRuntime( 1740): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
E/AndroidRuntime( 1740): at
android.app.ActivityThread.access$600(ActivityThread.java:130)
E/AndroidRuntime( 1740): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
E/AndroidRuntime( 1740): at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1740): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1740): at
android.app.ActivityThread.main(ActivityThread.java:4745)
E/AndroidRuntime( 1740): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 1740): at
java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1740): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime( 1740): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime( 1740): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1740): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1740): at
com.google.android.apps.mytracks.fragments.MyTracksMapFragment.a(MT:163)
E/AndroidRuntime( 1740): at android.support.v4.app.j.a(MT:871)
E/AndroidRuntime( 1740): at android.support.v4.app.j.a(MT:1083)
E/AndroidRuntime( 1740): at android.support.v4.app.j.e(MT:1065)
E/AndroidRuntime( 1740): at android.support.v4.app.j.j(MT:1844)
E/AndroidRuntime( 1740): at
android.support.v4.app.FragmentActivity.onStart(MT:519)
E/AndroidRuntime( 1740): at
com.google.android.apps.mytracks.TrackDetailActivity.onStart(MT:213)
E/AndroidRuntime( 1740): at
android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1163)
E/AndroidRuntime( 1740): at
android.app.Activity.performStart(Activity.java:5018)
E/AndroidRuntime( 1740): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2032)
E/AndroidRuntime( 1740): ... 11 more
Please provide any additional information here:
Bypassing the license dialog is a serious problem, and this may even lead to a
crash. Please have a look and fix it. Thanks!
Original issue reported on code.google.com by Henry.Hu...@gmail.com on 1 Mar 2013 at 5:28
Original issue reported on code.google.com by
Henry.Hu...@gmail.com
on 1 Mar 2013 at 5:28