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

GitHub | SimchaShats | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Error on Release on android

    GitHub | 7 months ago | SimchaShats
    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.onSizeChanged
      1. com.aurelhubert.ahbottomnavigation.AHHelper.getTintDrawable(AHHelper.java:37)
      2. com.aurelhubert.ahbottomnavigation.AHBottomNavigation.createSmallItems(AHBottomNavigation.java:447)
      3. com.aurelhubert.ahbottomnavigation.AHBottomNavigation.createItems(AHBottomNavigation.java:236)
      4. com.aurelhubert.ahbottomnavigation.AHBottomNavigation.onSizeChanged(AHBottomNavigation.java:132)
      4 frames