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.

Navigation action/destination action_addonsManagementFragment_to_addonDetailsFragmen cannot be found

See original GitHub issue

https://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:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
mcararecommented, Sep 22, 2020

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 using navigateSafe extension.

1reaction
mcararecommented, Sep 22, 2020

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.

Read more comments on GitHub >

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

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