Android crash "Activity has been destroyed" -


i'm facing crashes in application following stacktrace:

fatal exception: java.lang.illegalstateexception: activity has been destroyed    @ android.support.v4.app.fragmentmanagerimpl.enqueueaction(fragmentmanager.java:1560)    @ android.support.v4.app.backstackrecord.commitinternal(backstackrecord.java:696)    @ android.support.v4.app.backstackrecord.commitallowingstateloss(backstackrecord.java:667)    @ ....activities.myactivity.replacecontentfragment(myactivity.java:293) 

this happens activities load content asynchronously web , replace according fragment. don't understand how activity can gone user cannot change fragments/activities while loading. guess must have leaving/starting app while loading (although may wrong this).

my activities have launchmode = singletask, maybe that's related well.

the crashes appear on android 6.0.1, maybe that's due fact users have version...


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -