java.lang.RuntimeException: Unable to start activity ComponentInfo{apps.radwin.wintouch/apps.radwin.wintouch.activities.alignmentActivities.projectSelectionMainFragment}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setNavigationMode(int)' on a null object reference

Stack Overflow | Chief Madog | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    error implement Tabs using compileSdkVersion 23

    Stack Overflow | 5 months ago | Chief Madog
    java.lang.RuntimeException: Unable to start activity ComponentInfo{apps.radwin.wintouch/apps.radwin.wintouch.activities.alignmentActivities.projectSelectionMainFragment}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setNavigationMode(int)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'void android.app.ActionBar.setNavigationMode(int)' on a null object reference

      at apps.radwin.wintouch.activities.alignmentActivities.projectSelectionMainFragment.onCreate()
    2. apps.radwin.wintouch
      projectSelectionMainFragment.onCreate
      1. apps.radwin.wintouch.activities.alignmentActivities.projectSelectionMainFragment.onCreate(projectSelectionMainFragment.java:74)
      1 frame
    3. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:6876)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3206)
      3 frames