java.lang.NullPointerException

Attempt to invoke virtual method 'void android.support.v7.app.ActionBarDrawerToggle.onConfigurationChanged(android.content.res.Configuration)' on a null object reference

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web21097

  • Attempt to invoke virtual method 'void android.support.v7.app.ActionBarDrawerToggle.onConfigurationChanged(android.content.res.Configuration)' on a null object reference
  • Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setLayoutManager(android.support.v7.widget.RecyclerView$LayoutManager)' on a null object reference
  • Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setLayoutManager(android.support.v7.widget.RecyclerView$LayoutManager)' on a null object reference
  • Stack trace

    • java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.app.ActionBarDrawerToggle.onConfigurationChanged(android.content.res.Configuration)' on a null object reference at com.thebluealliance.androidclient.fragments.NavigationDrawerFragment.onConfigurationChanged(NavigationDrawerFragment.java:379) at android.support.v4.app.Fragment.performConfigurationChanged(Fragment.java:2032) at android.support.v4.app.FragmentManagerImpl.dispatchConfigurationChanged(FragmentManager.java:2094) at android.support.v4.app.FragmentController.dispatchConfigurationChanged(FragmentController.java:255) at android.support.v4.app.FragmentActivity.onConfigurationChanged(FragmentActivity.java:287) at android.support.v7.app.AppCompatActivity.onConfigurationChanged(AppCompatActivity.java:156) at android.app.ActivityThread.performConfigurationChanged(ActivityThread.java:4666) at android.app.ActivityThread.performConfigurationChangedForActivity(ActivityThread.java:4577) at android.app.ActivityThread.handleActivityConfigurationChanged(ActivityThread.java:4784) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1597) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6077) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.