react-native: [Android][TimePickerDialogModule] IllegalStateException
Hi, I’ve found 50 crashes recently on our product. I’m not sure it’s the same issue as #6228
React-Native: 0.42
Android: 7.0
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManagerImpl.java:1527) at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManagerImpl.java:1545) at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:654) at android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:621) at android.support.v4.app.DialogFragment.show(DialogFragment.java:139) at com.facebook.react.modules.timepicker.TimePickerDialogModule.open(TimePickerDialogModule.java:121) at java.lang.reflect.Method.invoke(Method.java) at com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:345) at com.facebook.react.cxxbridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:136) at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31) at android.os.Looper.loop(Looper.java:154) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196) at java.lang.Thread.run(Thread.java:761)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 7
- Comments: 18 (2 by maintainers)
+1 Same stacktrace. Crash on Android 6.0.1
+1
Upgraded to 0.55.4 but still got the error. Android: 7.1.2
Also getting this, here is my stack trace. The common theme here seems to be calls to
DialogModule.showAlert
I am getting something very similar 😕