BaijnathG / mytracks

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

"Unable to Start Recording. Try Again." Whenever I hit the record button. #391

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Pressing the "Record track" button.

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

I expect to have a track start recording,  Instead, I get "Unable to Start 
Recording.  Try Again." displayed.

What version of MyTracks are you using?
1.1.2

On what version of Android?
GRI40 (Gingerbread)

On what phone?
Nexus One

If possible please provide a log. 
Attached.

Original issue reported on code.google.com by charlier...@google.com on 12 Mar 2011 at 5:00

Attachments:

GoogleCodeExporter commented 9 years ago
This shows up several places in the log:
03-11 20:54:30.791 E/MyTracks( 2337): MyTracks: Remote exception.
03-11 20:54:30.791 E/MyTracks( 2337): java.lang.IllegalStateException: The 
service has been already detached!
03-11 20:54:30.791 E/MyTracks( 2337):   at 
com.google.android.apps.mytracks.services.TrackRecordingService$ServiceBinder.ch
eckService(TrackRecordingService.java:1001)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
com.google.android.apps.mytracks.services.TrackRecordingService$ServiceBinder.is
Recording(TrackRecordingService.java:995)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
com.google.android.apps.mytracks.MyTracks.isRecording(MyTracks.java:232)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
com.google.android.apps.mytracks.MyTracks.onPrepareOptionsMenu(MyTracks.java:396
)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
android.app.Activity.onPrepareOptionsMenu(Activity.java:2292)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
com.google.android.apps.mytracks.MyTracksMap.onPrepareOptionsMenu(MyTracksMap.ja
va:852)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
android.app.Activity.onPreparePanel(Activity.java:2174)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java:332)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
com.android.internal.policy.impl.PhoneWindow.onKeyDownPanel(PhoneWindow.java:568
)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
com.android.internal.policy.impl.PhoneWindow.onKeyDown(PhoneWindow.java:1210)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWin
dow.java:1668)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:789)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:789)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:789)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
android.widget.TabHost.dispatchKeyEvent(TabHost.java:278)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:789)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:789)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(Pho
neWindow.java:1687)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.j
ava:1120)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
android.app.Activity.dispatchKeyEvent(Activity.java:2073)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWin
dow.java:1663)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
android.view.ViewRoot.deliverKeyEventToViewHierarchy(ViewRoot.java:2560)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
android.view.ViewRoot.handleFinishedEvent(ViewRoot.java:2535)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
android.view.ViewRoot.handleMessage(ViewRoot.java:1867)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
android.os.Handler.dispatchMessage(Handler.java:99)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
android.os.Looper.loop(Looper.java:123)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
android.app.ActivityThread.main(ActivityThread.java:3683)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
java.lang.reflect.Method.invokeNative(Native Method)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
java.lang.reflect.Method.invoke(Method.java:507)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
03-11 20:54:30.791 E/MyTracks( 2337):   at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
03-11 20:54:30.791 E/MyTracks( 2337):   at dalvik.system.NativeStart.main(Native 
Method)
03-11 20:54:31.201 D/dalvikvm(   97): GC_EXPLICIT freed 283K, 49% free 
5863K/11399K, external 4486K/5576K, paused 100ms
03-11 20:54:31.831 W/MyTracks( 2337): Unable to start recording.
03-11 20:54:31.831 W/MyTracks( 2337): java.lang.IllegalStateException: The 
service has been already detached!
03-11 20:54:31.831 W/MyTracks( 2337):   at 
com.google.android.apps.mytracks.services.TrackRecordingService$ServiceBinder.ch
eckService(TrackRecordingService.java:1001)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
com.google.android.apps.mytracks.services.TrackRecordingService$ServiceBinder.st
artNewTrack(TrackRecordingService.java:1019)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
com.google.android.apps.mytracks.MyTracks.startRecordingNewTrack(MyTracks.java:9
18)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
com.google.android.apps.mytracks.MyTracks.startRecording(MyTracks.java:944)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
com.google.android.apps.mytracks.MenuManager.onOptionsItemSelected(MenuManager.j
ava:59)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
com.google.android.apps.mytracks.MyTracks.onOptionsItemSelected(MyTracks.java:40
2)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
android.app.Activity.onOptionsItemSelected(Activity.java:2317)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
com.google.android.apps.mytracks.MyTracksMap.onOptionsItemSelected(MyTracksMap.j
ava:880)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
android.app.Activity.onMenuItemSelected(Activity.java:2205)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
com.google.android.apps.mytracks.MyTracksMap.onMenuItemSelected(MyTracksMap.java
:825)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java
:748)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:143)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:85
5)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
com.android.internal.view.menu.IconMenuView.invokeItem(IconMenuView.java:532)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
com.android.internal.view.menu.IconMenuItemView.performClick(IconMenuItemView.ja
va:122)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
android.view.View$PerformClick.run(View.java:9080)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
android.os.Handler.handleCallback(Handler.java:587)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
android.os.Handler.dispatchMessage(Handler.java:92)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
android.os.Looper.loop(Looper.java:123)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
android.app.ActivityThread.main(ActivityThread.java:3683)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
java.lang.reflect.Method.invokeNative(Native Method)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
java.lang.reflect.Method.invoke(Method.java:507)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
03-11 20:54:31.831 W/MyTracks( 2337):   at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
03-11 20:54:31.831 W/MyTracks( 2337):   at dalvik.system.NativeStart.main(Native 
Method)

Original comment by sandordo...@google.com on 13 Mar 2011 at 4:37

GoogleCodeExporter commented 9 years ago

Original comment by rdama...@google.com on 30 Apr 2011 at 10:18

GoogleCodeExporter commented 9 years ago
Using MyTracks 1.1.7 on Gingerbread on an Evo 3D, and I frequently see the same 
issue.

And "Try Again" doesn't seem to work, even after quitting and restarting the 
app.  I need to restart the phone before it will record another track.

Original comment by ivym...@gmail.com on 25 Jul 2011 at 9:39

GoogleCodeExporter commented 9 years ago

Original comment by jshih@google.com on 23 Jun 2012 at 5:26

GoogleCodeExporter commented 9 years ago
Going to close this issue since it was last reported in My Tracks 1.1.7 and we 
have been monitoring all the crash reports sent to Play Store.

Original comment by jshih@google.com on 7 Sep 2012 at 12:42