You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tag-Swipe -> MapView -> TagSwipe Crashes on Save #113
In investigating further, it appears that the actual crash happens when we return to ODK Collect. Perhaps some sort of inconsistency is introduced to the intent's extras?
The MapActivity is finished, and ODK Collect is returned to.
My only guess is that there is some error (though it's not getting logged in logcat?) that is popping both TagSwipe and MapActivity off the stack outside of this line of code?
Activity
hallahan commentedon Dec 29, 2015
In investigating further, it appears that the actual crash happens when we return to ODK Collect. Perhaps some sort of inconsistency is introduced to the intent's extras?
The MapActivity is finished, and ODK Collect is returned to.
https://github.com/AmericanRedCross/OpenMapKitAndroid/blob/6585d499064745a94bccccc544d9be4a98be34d4/app/src/main/java/org/redcross/openmapkit/MapActivity.java#L667
hallahan commentedon Apr 6, 2016
After a bit of debugging, I'm not seeing any errors in
logcat *:E.The crash occurs in ODK Collect, though I think OpenMapKit is sending
Activity.RESULT_CANCELEDto ODK Collect inonActivityResult.https://github.com/opendatakit/collect/blob/60aae502fd6cc8877576ff69f6742c489d85b82f/collect_app/src/main/java/org/odk/collect/android/activities/FormEntryActivity.java#L574
This is strange, because we explicitly set
Activity.RESULT_OKever time, including if the user goes back and forth betweenTagSwipe.https://github.com/AmericanRedCross/OpenMapKitAndroid/blob/c107c89f48065c1fab93790257f8f997be2cee35/app/src/main/java/org/redcross/openmapkit/MapActivity.java#L691
My only guess is that there is some error (though it's not getting logged in logcat?) that is popping both TagSwipe and MapActivity off the stack outside of this line of code?