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

GitHub | SimchaShats | 5 months ago
  1. 0

    Error on Release on android

    GitHub | 5 months ago | SimchaShats
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.clearColorFilter()' on a null object reference
  2. 0
    Use 'dialog' to access views from custom_layout layout.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    The resource was accessed after it was dismissed.
  5. 0
    Initialize the variable before calling a method on it.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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