question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: FATAL EXCEPTION: mqt_native_modules

See original GitHub issue

Description

Currently the app is throwing an error after reloading the app from a code-push update.

Screenshots

None.

Steps To Reproduce

  1. Update the app code push bundle
  2. 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:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
thereiscommented, Mar 31, 2022

@kkafar I will test it today and I will let you know about it! Thanks for replying the ticket!

1reaction
kkafarcommented, Mar 31, 2022

Hi @thereis It seems that your problem should be resolved with this PR. Can you confirm this works for you now?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found