java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • NPE when rendering Navigation Drawer
    via GitHub by barbeau
    ,
    • java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.LayoutInflater android.support.v4.app.FragmentActivity.getLayoutInflater()' on a null object reference at org.onebusaway.android.ui.NavigationDrawerFragment.makeNavDrawerItem(NavigationDrawerFragment.java:396) at org.onebusaway.android.ui.NavigationDrawerFragment.createNavDrawerItems(NavigationDrawerFragment.java:380) at org.onebusaway.android.ui.NavigationDrawerFragment.populateNavDrawer(NavigationDrawerFragment.java:363) at org.onebusaway.android.ui.HomeActivity.redrawNavigationDrawerFragment(HomeActivity.java:1036) at org.onebusaway.android.ui.HomeActivity.onRegionTaskFinished(HomeActivity.java:1179) at org.onebusaway.android.region.ObaRegionsTask$2.run(ObaRegionsTask.java:268) at android.os.Handler.handleCallback(Handler.java:746) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5443) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
    No Bugmate found.