Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE: NavGraph #7

Open
DarkAbhi opened this issue Apr 18, 2021 · 0 comments
Open

NPE: NavGraph #7

DarkAbhi opened this issue Apr 18, 2021 · 0 comments

Comments

@DarkAbhi
Copy link

I've a bottom bar with 3 fragments, which provides this error.

Attaching video for clearance. https://streamable.com/5isy7s

The extension and base fragment are the same as of this project.

2021-04-18 12:10:57.059 24154-24154/com.iku.test E/ACRA: ACRA caught a NullPointerException for com.iku.test java.lang.NullPointerException: Attempt to invoke virtual method 'androidx.navigation.NavGraph androidx.navigation.NavDestination.getParent()' on a null object reference at androidx.navigation.ui.NavigationUI.onNavDestinationSelected(NavigationUI.java:78) at androidx.navigation.ui.NavigationUI$5.onNavigationItemSelected(NavigationUI.java:531) at com.google.android.material.bottomnavigation.BottomNavigationView$1.onMenuItemSelected(BottomNavigationView.java:241) at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:834) at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:158)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant