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
Exception on app suspend/resume after navigation with long Slide transition #6510
Resume the app quickly (within 5 seconds so the "exit" transition is still playing) -- the "exit" slide animation is ongoing and crashes the app mid-way with the following exception:
An uncaught Exception occurred on "main" thread.
android.content.res.Resources$NotFoundException: Unable to find resource ID #0xfffffff6
at android.content.res.ResourcesImpl.getResourceTypeName(ResourcesImpl.java:271)
at android.content.res.Resources.getResourceTypeName(Resources.java:1986)
at android.support.v4.app.FragmentManagerImpl.loadAnimation(FragmentManager.java:1172)
at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1808)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:802)
at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2625)
at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2411)
at android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2366)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2273)
at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:733)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Most probably we should cancel/clear the animator if we detect app is going to suspend as we should not be seeing the "exit" transition on app resume.
changed the title [-]Resources$NotFoundException on app suspend/resume after navigation with long Slide transition[/-][+]Exception on app suspend/resume after navigation with long Slide transition[/+]on Nov 5, 2018
@Egor3f the exception is the same but as far as I can tell this one and the one you logged are two separate issues. #6698 (nested fragments case) should be addressed with #6677 while this one is still open and under investigation.
Activity
[-]Resources$NotFoundException on app suspend/resume after navigation with long Slide transition[/-][+]Exception on app suspend/resume after navigation with long Slide transition[/+]Egor3f commentedon Nov 30, 2018
Here is another example of this bug, with shorter transition duration, but existing nested frames: https://github.com/NativeScript/android-runtime/issues/1218
Error does not happen, if I just copy-paste https://github.com/NativeScript/NativeScript/blob/master/tns-core-modules/ui/transition/slide-transition.android.ts class into my project and use transition: {instance: }}
manoldonev commentedon Dec 12, 2018
@Egor3f the exception is the same but as far as I can tell this one and the one you logged are two separate issues. #6698 (nested fragments case) should be addressed with #6677 while this one is still open and under investigation.
lock commentedon Dec 17, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.