bug: FATAL EXCEPTION: mqt_native_modules
See original GitHub issueDescription
Currently the app is throwing an error after reloading the app from a code-push update.
Screenshots
None.
Steps To Reproduce
- Update the app code push bundle
- Face the error
Expected behavior
Not crash
Actual behavior
Crashing
Snack or minimal code example
--------- beginning of crash
11-16 17:18:32.047 3736 3850 E AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
11-16 17:18:32.047 3736 3850 E AndroidRuntime: Process: ev.sandbox, PID: 3736
11-16 17:18:32.047 3736 3850 E AndroidRuntime: com.facebook.react.bridge.JSApplicationIllegalArgumentException: Could find root view for a given ancestor with tag 5483
11-16 17:18:32.047 3736 3850 E AndroidRuntime: at com.swmansion.gesturehandler.react.RNGestureHandlerModule.tryInitializeHandlerForReactRootView(RNGestureHandlerModule.java:577)
11-16 17:18:32.047 3736 3850 E AndroidRuntime: at com.swmansion.gesturehandler.react.RNGestureHandlerModule.attachGestureHandler(RNGestureHandlerModule.java:487)
11-16 17:18:32.047 3736 3850 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-16 17:18:32.047 3736 3850 E AndroidRuntime: at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
11-16 17:18:32.047 3736 3850 E AndroidRuntime: at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:188)
11-16 17:18:32.047 3736 3850 E AndroidRuntime: at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
11-16 17:18:32.047 3736 3850 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
11-16 17:18:32.047 3736 3850 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
11-16 17:18:32.047 3736 3850 E AndroidRuntime: at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
11-16 17:18:32.047 3736 3850 E AndroidRuntime: at android.os.Looper.loop(Looper.java:246)
11-16 17:18:32.047 3736 3850 E AndroidRuntime: at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
11-16 17:18:32.047 3736 3850 E AndroidRuntime: at java.lang.Thread.run(Thread.java:923)
Package versions
- React: 17.0.2
- React Native: 0.66.2
- React Native Gesture Handler: ^1.10.3
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:5 (2 by maintainers)
Top Results From Across the Web
MQTT connection problem in android (Paho) #374 - GitHub
... Bug: app crash when ever the MQTT Brocker termination occur Console Log output (if available): E/AndroidRuntime: FATAL EXCEPTION: MQTT ...
Read more >Android MQTT - FATAL EXCEPTION: MQTT Con - iCircuit
If you are using paho android mqtt client, you may get the following error if the broker is down or the client is...
Read more >MQTT: Android app crashes when publishing message to broker
If you follow the error in the paho source code, you'll find that the NPE is caused by the mqttService of the client...
Read more >Resolving problem: MQTT client does not connect - IBM
Resolve the problem of an MQTT client program failing to connect to the telemetry ... to the telemetry (MQXR) service, but the service...
Read more >Nutch hadoop version Jobs, Employment | Freelancer - Bahia.Ba
Search for jobs related to Nutch hadoop version or hire on the world's largest freelancing marketplace with 21m+ jobs. It's free to sign...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kkafar I will test it today and I will let you know about it! Thanks for replying the ticket!
Hi @thereis It seems that your problem should be resolved with this PR. Can you confirm this works for you now?