java.lang.RuntimeException: Unable to start activity ComponentInfo{.activities.MainActivity}: java.lang.NullPointerException

Stack Overflow | anony | 7 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

    SmartTabLayout custom tab view inflate

    Stack Overflow | 7 months ago | anony
    java.lang.RuntimeException: Unable to start activity ComponentInfo{.activities.MainActivity}: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.ogaclejapan.smarttablayout.SmartTabLayout.populateTabStrip()
    2. com.ogaclejapan.smarttablayout
      SmartTabLayout.setViewPager
      1. com.ogaclejapan.smarttablayout.SmartTabLayout.populateTabStrip(SmartTabLayout.java:398)
      2. com.ogaclejapan.smarttablayout.SmartTabLayout.setViewPager(SmartTabLayout.java:327)
      2 frames
    3. com.insertcoin.apps
      MainActivity.onCreate
      1. com.insertcoin.apps.vindr.activities.MainActivity$override.onCreate(MainActivity.java:63)
      2. com.insertcoin.apps.vindr.activities.MainActivity$override.access$dispatch(MainActivity.java)
      3. com.insertcoin.apps.vindr.activities.MainActivity.onCreate(MainActivity.java:0)
      3 frames
    4. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:5231)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
      3 frames