title: Navigation component Kotlin - cannot be found from the current destination
body: <p>I have a fragment A,B,C. Its okay when navigating from A -&gt; B, but from B -&gt; C it crashes.</p>
  <p>Here is my Navigation</p>
  <p><a href="https://i.stack.imgur.com/wAsjX.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/wAsjX.jpg" alt="enter image description here" /></a></p>
  <p>Here is my navigation code</p>
  <pre><code> categoryProductItemListAdapter.setOnItemClickListener {
          val action = CategoryProductItemsDirections.actionCategoryProductItems2ToProductItem(null, it)
          navController = Navigation.findNavController(requireView())
          navController?.navigateUp()
          navController?.navigate(action)
      }
  </code></pre>
  <p>Here is the XML code for the destination to productItem</p>
  <pre><code>&lt;fragment
      android:id=&quot;@+id/categoryProductItems2&quot;
      android:name=&quot;com.sample.store.main.dashboard.ui.ui.home.categoryitems.CategoryProductItems&quot;
      android:label=&quot;CategoryProductItems&quot;
      tools:layout=&quot;@layout/fragment_category_product_items&quot;&gt;
      &lt;argument
          android:name=&quot;category_global&quot;
          app:argType=&quot;com.sample.store.data.globalmodels.response.categories.Category&quot; /&gt;
      &lt;action
          android:id=&quot;@+id/action_categoryProductItems2_to_productItem&quot;
          app:destination=&quot;@id/productItem&quot;
          app:enterAnim=&quot;@anim/enter_from_right&quot;
          app:exitAnim=&quot;@anim/exit_to_right&quot;
          app:popEnterAnim=&quot;@anim/fragment_open_enter&quot;
          app:popExitAnim=&quot;@anim/fragment_fade_exit&quot; /&gt;
  &lt;/fragment&gt;
  </code></pre>
  <p>And here is the error:</p>
  <pre><code>java.lang.IllegalArgumentException: Navigation action/destination com.sample.store.full:id/action_categoryProductItems2_to_productItem cannot be found from the current destination Destination(id/navigation_home) label=Home class=com.sample.store.main.dashboard.ui.ui.home.mainui.HomeFragment
  </code></pre>
  <p>I don't know what happened, but it seems that the navController is looking for the &quot;navigation_home&quot;</p>