aurelhubert / aurelhubert/ahbottomnavigation
com.aurelhubert.ahbottomnavigation.AHBottomNavigationItem.getDrawable (AHBottomNavigationItem.java:131) app crashes
- Dominant language
- Java
- Stars
- 3.8k
- Forks
- 672
- PR merge metrics
- No merged PRs in 30d
Description
logcat:
android.graphics.BitmapFactory.nativeDecodeAsset (BitmapFactory.java)
android.graphics.BitmapFactory.decodeStream (BitmapFactory.java:700)
android.graphics.BitmapFactory.decodeResourceStream (BitmapFactory.java:535)
android.graphics.drawable.Drawable.createFromResourceStream (Drawable.java:1179)
android.content.res.ResourcesImpl.loadDrawableForCookie (ResourcesImpl.java:770)
android.content.res.ResourcesImpl.loadDrawable (ResourcesImpl.java:621)
android.content.res.Resources.getDrawable (Resources.java:1640)
android.content.Context.getDrawable (Context.java:525)
android.support.v4.content.ContextCompat.getDrawable (ContextCompat.java:463)
android.support.v7.widget.AppCompatDrawableManager.getDrawable (AppCompatDrawableManager.java:203)
android.support.v7.widget.AppCompatDrawableManager.getDrawable (AppCompatDrawableManager.java:191)
android.support.v7.content.res.AppCompatResources.getDrawable (AppCompatResources.java:102)
com.aurelhubert.ahbottomnavigation.AHBottomNavigationItem.getDrawable (AHBottomNavigationItem.java:131)
com.aurelhubert.ahbottomnavigation.AHBottomNavigation.updateSmallItems (AHBottomNavigation.java:862)
com.aurelhubert.ahbottomnavigation.AHBottomNavigation.setCurrentItem (AHBottomNavigation.java:1209)
com.aurelhubert.ahbottomnavigation.AHBottomNavigation.setCurrentItem (AHBottomNavigation.java:1190)
AppCompat version:
'com.android.support:appcompat-v7:28.0.0'
Tested Device:
Galaxy S6 Android 7.0
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at AHBottomNavigationItem.java:131 and follow the call chain through AHBottomNavigation.updateSmallItems and setCurrentItem. Reproduce the crash on the reported Galaxy S6 running Android 7.0 with appcompat-v7 28.0.0, then verify that selecting the navigation item no longer crashes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100