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
I got the following stacktrace in debugger, although no crashes:
08-19 03:24:08.080 5281-5281/org.odk.collect.android E/WindowManager: android.view.WindowLeaked: Activity org.odk.collect.android.activities.InstanceUploaderActivity has leaked window DecorView@44c68a0[Upload Results] that was originally added here
at android.view.ViewRootImpl.<init>(ViewRootImpl.java:418)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:331)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:93)
at android.app.Dialog.show(Dialog.java:322)
at org.odk.collect.android.activities.InstanceUploaderActivity.createAlertDialog(InstanceUploaderActivity.java:402)
at org.odk.collect.android.activities.InstanceUploaderActivity.uploadingComplete(InstanceUploaderActivity.java:278)
at org.odk.collect.android.tasks.InstanceUploader.onPostExecute(InstanceUploader.java:51)
at org.odk.collect.android.tasks.InstanceUploader.onPostExecute(InstanceUploader.java:40)
at android.os.AsyncTask.finish(AsyncTask.java:667)
at android.os.AsyncTask.-wrap1(AsyncTask.java)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Steps to reproduce -
Select multiple instances and click the send selected button
Minimize the app
Keep a track on debugger to know when all instances have been uploaded
After all of the instances have been uploaded, reopen the app
Possible solution: Dismiss the progress dialog when the activity gets paused and redisplay it on resuming the activity.
The text was updated successfully, but these errors were encountered:
Was able to get the stack trace following the repro steps this time but I didn't get it previously. There's no crash and the forms send successfully. @shobhitagarwal1612 does it hard crash for you?
Problem discovered while testing #1348
I got the following stacktrace in debugger, although no crashes:
Steps to reproduce -
send selected
buttonPossible solution: Dismiss the progress dialog when the activity gets paused and redisplay it on resuming the activity.
The text was updated successfully, but these errors were encountered: