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

GitHub | DavyDeDurpel | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Example Crashes on Android Simulator (API 23 & 24)

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

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

    GitHub | 7 months ago | adamski
    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$SetupTabsTask.onPostExecute
      1. com.reactnativenavigation.activities.BottomTabActivity.setTabsWithIcons(BottomTabActivity.java:304)
      2. com.reactnativenavigation.activities.BottomTabActivity.access$100(BottomTabActivity.java:26)
      3. com.reactnativenavigation.activities.BottomTabActivity$SetupTabsTask.onPostExecute(BottomTabActivity.java:281)
      4. com.reactnativenavigation.activities.BottomTabActivity$SetupTabsTask.onPostExecute(BottomTabActivity.java:257)
      4 frames
    4. Android Platform
      AsyncTask.finish
      1. android.os.AsyncTask.finish(AsyncTask.java:651)
      1 frame