anongit / mytracks

Automatically exported from code.google.com/p/mytracks
0 stars 0 forks source link

NPE in isRecording #238

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ava.lang.RuntimeException: Unable to resume activity 
{com.google.android.maps.mytracks/com.google.android.apps.mytracks.MyTracks}: 
java.lang.RuntimeException: Unable to resume activity 
{com.google.android.maps.mytracks/com.google.android.apps.mytracks.StatsActivity
}: java.lang.NullPointerException
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3202)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3217)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2133)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at android.app.ActivityThread.main(ActivityThread.java:4701)
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:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: Unable to resume activity 
{com.google.android.maps.mytracks/com.google.android.apps.mytracks.StatsActivity
}: java.lang.NullPointerException
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3202)
at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:161)
at 
android.app.LocalActivityManager.dispatchResume(LocalActivityManager.java:518)
at android.app.ActivityGroup.onResume(ActivityGroup.java:58)
at com.google.android.apps.mytracks.MyTracks.onResume(MyTracks.java:362)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
at android.app.Activity.performResume(Activity.java:3823)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3192)
... 10 more
Caused by: java.lang.NullPointerException
at 
com.google.android.apps.mytracks.services.TrackRecordingService$ServiceBinder.is
Recording(TrackRecordingService.java:938)
at com.google.android.apps.mytracks.MyTracks.isRecording(MyTracks.java:230)
at 
com.google.android.apps.mytracks.StatsActivity.selectedTrackIsRecording(StatsAct
ivity.java:359)
at 
com.google.android.apps.mytracks.StatsActivity.checkLiveTrack(StatsActivity.java
:395)
at 
com.google.android.apps.mytracks.StatsActivity.onResume(StatsActivity.java:211)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
at android.app.Activity.performResume(Activity.java:3823)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3192)
... 17 more

Original issue reported on code.google.com by ba...@google.com on 24 Nov 2010 at 9:25

GoogleCodeExporter commented 9 years ago
This is taken from the Android market error report.

Original comment by ba...@google.com on 24 Nov 2010 at 9:26

GoogleCodeExporter commented 9 years ago
This was fixed here 
http://code.google.com/r/bartn-mytracks/source/detail?r=dd091a0af4124bdf03fd7293
47c5f13741de82ff.  Verified that there are no more error reports from 1.0.21.

Original comment by ba...@google.com on 29 Nov 2010 at 1:02