java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.clearColorFilter()' on a null object reference

GitHub | adamski | 8 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

    Android - W/AHBottomNavigation: The items list should have at least 3 items

    GitHub | 8 months ago | adamski
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.clearColorFilter()' on a null object reference
  2. 0

    Example Crashes on Android Simulator (API 23 & 24)

    GitHub | 9 months ago | DavyDeDurpel
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.clearColorFilter()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.clearColorFilter()' on a null object reference

      at com.aurelhubert.ahbottomnavigation.AHHelper.getTintDrawable()
    2. com.aurelhubert.ahbottomnavigation
      AHBottomNavigation.addItem
      1. com.aurelhubert.ahbottomnavigation.AHHelper.getTintDrawable(AHHelper.java:37)
      2. com.aurelhubert.ahbottomnavigation.AHBottomNavigation.createClassicItems(AHBottomNavigation.java:320)
      3. com.aurelhubert.ahbottomnavigation.AHBottomNavigation.createItems(AHBottomNavigation.java:213)
      4. com.aurelhubert.ahbottomnavigation.AHBottomNavigation.addItem(AHBottomNavigation.java:750)
      4 frames
    3. com.reactnativenavigation.activities
      BottomTabActivity.setTabsWithIcons
      1. com.reactnativenavigation.activities.BottomTabActivity.setTabsWithIcons(BottomTabActivity.java:297)
      1 frame