ayoola-solomon / mytracks

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

ANT+ HRM regression in 1.1.10 #609

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start mytracks
2. menu/sensor state
3. press "Back" button ===>  crash

What is the expected output? What do you see instead?

The HRM sensor in my X8 is not detected. I see a force close message.

What version of MyTracks are you using? On what version of Android? On what
phone?

mytracks 1.1.10, android 2.1, xperia X8. 

The HRM worked without problems in 1.1.9.

Original issue reported on code.google.com by ezerot...@gmail.com on 17 Oct 2011 at 10:59

Attachments:

GoogleCodeExporter commented 9 years ago
The relevant bit of the log:
/MyTracks( 2745): destroying AntSensorManager
E/MyTracks( 2745): failed to release ANT interface
E/MyTracks( 2745): com.a.a.a.b: ANT Interface error, ANT Radio Service not 
connected.
E/MyTracks( 2745):  at com.a.a.e.f(MT:1199)
E/MyTracks( 2745):  at com.google.android.apps.mytracks.services.a.a.d.c(MT:146)
E/MyTracks( 2745):  at com.google.android.apps.mytracks.services.a.b.g(MT:100)
E/MyTracks( 2745):  at 
com.google.android.apps.mytracks.SensorStateActivity.b(MT:235)
E/MyTracks( 2745):  at 
com.google.android.apps.mytracks.SensorStateActivity.onPause(MT:133)
E/MyTracks( 2745):  at android.app.Activity.performPause(Activity.java:3787)
E/MyTracks( 2745):  at 
android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1190)
E/MyTracks( 2745):  at 
android.app.ActivityThread.performPauseActivity(ActivityThread.java:3156)
E/MyTracks( 2745):  at 
android.app.ActivityThread.performPauseActivity(ActivityThread.java:3126)
E/MyTracks( 2745):  at 
android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3109)
E/MyTracks( 2745):  at 
android.app.ActivityThread.access$2400(ActivityThread.java:123)
E/MyTracks( 2745):  at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1881)
E/MyTracks( 2745):  at android.os.Handler.dispatchMessage(Handler.java:99)
E/MyTracks( 2745):  at android.os.Looper.loop(Looper.java:123)
E/MyTracks( 2745):  at android.app.ActivityThread.main(ActivityThread.java:4370)
E/MyTracks( 2745):  at java.lang.reflect.Method.invokeNative(Native Method)
E/MyTracks( 2745):  at java.lang.reflect.Method.invoke(Method.java:521)
E/MyTracks( 2745):  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/MyTracks( 2745):  at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/MyTracks( 2745):  at dalvik.system.NativeStart.main(Native Method)
D/AndroidRuntime( 2745): Shutting down VM
W/dalvikvm( 2745): threadid=3: thread exiting with uncaught exception 
(group=0x40026160)
E/AndroidRuntime( 2745): Uncaught handler: thread main exiting due to uncaught 
exception
D/dalvikvm( 2745): GC freed 9551 objects / 438272 bytes in 83ms
E/AndroidRuntime( 2745): java.lang.RuntimeException: Unable to pause activity 
{com.google.android.maps.mytracks/com.google.android.apps.mytracks.SensorStateAc
tivity}: java.lang.NullPointerException
E/AndroidRuntime( 2745):    at 
android.app.ActivityThread.performPauseActivity(ActivityThread.java:3169)
E/AndroidRuntime( 2745):    at 
android.app.ActivityThread.performPauseActivity(ActivityThread.java:3126)
E/AndroidRuntime( 2745):    at 
android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3109)
E/AndroidRuntime( 2745):    at 
android.app.ActivityThread.access$2400(ActivityThread.java:123)
E/AndroidRuntime( 2745):    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1881)
E/AndroidRuntime( 2745):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2745):    at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 2745):    at 
android.app.ActivityThread.main(ActivityThread.java:4370)
E/AndroidRuntime( 2745):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime( 2745):    at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 2745):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 2745):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 2745):    at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2745): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 2745):    at 
com.google.android.apps.mytracks.services.a.a.d.c(MT:151)
E/AndroidRuntime( 2745):    at 
com.google.android.apps.mytracks.services.a.b.g(MT:100)
E/AndroidRuntime( 2745):    at 
com.google.android.apps.mytracks.SensorStateActivity.b(MT:235)
E/AndroidRuntime( 2745):    at 
com.google.android.apps.mytracks.SensorStateActivity.onPause(MT:133)
E/AndroidRuntime( 2745):    at 
android.app.Activity.performPause(Activity.java:3787)
E/AndroidRuntime( 2745):    at 
android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1190)
E/AndroidRuntime( 2745):    at 
android.app.ActivityThread.performPauseActivity(ActivityThread.java:3156)

Original comment by sandordo...@google.com on 17 Oct 2011 at 4:24

GoogleCodeExporter commented 9 years ago

Original comment by jshih@google.com on 18 Oct 2011 at 8:22