ayoola-solomon / mytracks

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

Crash when rotating the screen while saving to SD card #683

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Select a GPS track that would take some time to write to SD card
2. Export to SD card (I tried with GPX, KML, TCX)
3. Rotate the screen while the writing is in progress

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

MyTracks crashes or hangs, on IllegalArgumentException. The message said 
something about failure to display a window.

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

MyTracks 1.1.11 on Android 2.3.4 (SonyEricsson Xperia Active ST17i)

If possible please provide a log.  Either upload here or send to mytracks-
support@google.com.
Detailed instructions can be found here:
http://code.google.com/p/mytracks/wiki/HowToReportErrors

Please provide any additional information here:

I uploaded a log directly from my phone, I hope.

Original issue reported on code.google.com by msmak...@gmail.com on 15 Dec 2011 at 7:43

GoogleCodeExporter commented 8 years ago
I tested this again in MyTracks 1.1.13. If the screen is rotated before hitting 
OK in the dialog box “successfully saved to SD card”, MyTracks will hang or 
crash.

Original comment by msmak...@gmail.com on 28 Dec 2011 at 10:39

GoogleCodeExporter commented 8 years ago

Original comment by jshih@google.com on 24 Jan 2012 at 6:19

GoogleCodeExporter commented 8 years ago
I have experienced the same problem for many weeks. I thought the crash was 
random, but have narrowed it down to changing the screen orientation during 
export to SD card, as described above. 

My Tracks 1.1.15
HTC Explorer A310b
Android 2.3.5 

I get the error "The application My Tracks (process 
com.google.android.maps.mytracks) has stopped unexpectedly. Please try again." 

If I try to report the log I get another crash message regarding Google Play, 
so sorry I can't do that.

Original comment by sjhmathe...@gmail.com on 14 Mar 2012 at 2:50

GoogleCodeExporter commented 8 years ago
Hi Sandor:

Wondering if you can review the fix.
http://code.google.com/r/jshih-mytracks3/source/detail?r=01e7f3b54cbfab3b314f00a
60b88941d76872f81

Original comment by jshih@google.com on 15 Mar 2012 at 10:42

GoogleCodeExporter commented 8 years ago
Merged into issue 791.

Original comment by jshih@google.com on 17 Mar 2012 at 9:40