I am having issue with the new Android Navigation Architecture component when I try to navigate from one Fragment to another, I get this weird error:
In my case I was using a custom back button for navigating up. I called onBackPressed() in stead of the following code
findNavController(R.id.navigation_host_fragment).navigateUp()
This caused the IllegalArgumentException to occur. After I changed it to use the navigateUp() method in stead, I didn't have a crash again.