Navigation action/destination action_addonsManagementFragment_to_addonDetailsFragmen cannot be found
See original GitHub issuehttps://sentry.prod.mozaws.net/operations/firefox-nightly/issues/9517377/?query=is%3Aunresolved
java.lang.IllegalArgumentException: Navigation action/destination org.mozilla.fenix:id/action_addonsManagementFragment_to_addonDetailsFragment cannot be found from the current destination Destination(org.mozilla.fenix:id/addonDetailsFragment) class=org.mozilla.fenix.addons.AddonDetailsFragment
at androidx.navigation.NavController.navigate(NavController.java:19)
at androidx.navigation.NavController.navigate(NavController.java:55)
at org.mozilla.fenix.addons.AddonsManagementView.onAddonItemClicked(AddonsManagementView.kt:5)
at mozilla.components.feature.addons.ui.-$$LambdaGroup$js$jde1zyJAQ2sQN7UuakvwrarHOQQ.onClick(java-style lambda group:5)
at android.view.View.performClick(View.java:5076)
at android.view.View$PerformClick.run(View.java:20279)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5910)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
┆Issue is synchronized with this Jira Task
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
A fix for “Navigation action cannot be found in the current ...
Navigation Components: A fix for “Navigation action cannot be found in the current destination” crash. · Cause: I will explain why this error ......
Read more >Navigation Error: action/destination cannot be found from the ...
I am using a call back listener to trigger navigation action from the recycler view adapter. The action to be trigger is a...
Read more >Action Cannot Be Found From The Current Destination
IllegalArgumentException: Navigation action/destination actionaddonsManagementFragmenttoaddonDetailsFragmen cannot be found #15268.
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 Free
Top 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
This looks like it could be happening on slow devices, if you can trigger two
onAddonItemClicked
events. Should not be possible, normally, but in can be prevented usingnavigateSafe
extension.It would be worth investigating. Other possible STR for this kind of navigation error could be clicking on a view that triggers navigation and quickly pressing back button, and thus changing current destination before navigation takes place.