Open LalitDB opened 7 years ago
I have reported same error. Device: LG LG-H635, Android 6.0. Happens on user device, cannot reproduce on my devices.
Update: Next device: manufacturer: samsung model: SM-J120FN osVersion: 5.1.1 screenDensity: 1.5 screenResolution: 800x480
That's a bit light to understand where the crash happens... Can you provide more details?
Similar error o device HTC Desire 816, android 6.0 Stack trace:
android.view.InflateException: Binary XML file line #35: Binary XML file line #35: Error inflating class TextView at android.view.LayoutInflater.inflate(LayoutInflater.java:539) at android.view.LayoutInflater.inflate(LayoutInflater.java:423) at com.aurelhubert.ahbottomnavigation.AHBottomNavigation.createClassicItems(AHBottomNavigation.java:381) at com.aurelhubert.ahbottomnavigation.AHBottomNavigation.createItems(AHBottomNavigation.java:261) at com.aurelhubert.ahbottomnavigation.AHBottomNavigation.onSizeChanged(AHBottomNavigation.java:147) at android.view.View.sizeChange(View.java:16849) at android.view.View.setFrame(View.java:16811) at android.view.View.layout(View.java:16720) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2728) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2288) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2025) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1174) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6241) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:873) at android.view.Choreographer.doCallbacks(Choreographer.java:676) at android.view.Choreographer.doFrame(Choreographer.java:606) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:859) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:168) at android.app.ActivityThread.main(ActivityThread.java:5845) at java.lang.reflect.Method.invoke(Method.java:-2) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:687) Caused by: android.view.InflateException: Binary XML file line #35: Error inflating class TextView at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:782) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704) at android.view.LayoutInflater.rInflate(LayoutInflater.java:835) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798) at android.view.LayoutInflater.inflate(LayoutInflater.java:515) at android.view.LayoutInflater.inflate(LayoutInflater.java:423) at com.aurelhubert.ahbottomnavigation.AHBottomNavigation.createClassicItems(AHBottomNavigation.java:381) at com.aurelhubert.ahbottomnavigation.AHBottomNavigation.createItems(AHBottomNavigation.java:261) at com.aurelhubert.ahbottomnavigation.AHBottomNavigation.onSizeChanged(AHBottomNavigation.java:147) at android.view.View.sizeChange(View.java:16849) at android.view.View.setFrame(View.java:16811) at android.view.View.layout(View.java:16720) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2728) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2288) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2025) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1174) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6241) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:873) at android.view.Choreographer.doCallbacks(Choreographer.java:676) at android.view.Choreographer.doFrame(Choreographer.java:606) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:859) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:168) at android.app.ActivityThread.main(ActivityThread.java:5845) at java.lang.reflect.Method.invoke(Method.java:-2) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:687) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.CharSequence android.content.res.StringBlock.get(int)' on a null object reference at android.content.res.AssetManager.getPooledStringForCookie(AssetManager.java:295) at android.content.res.TypedArray.loadStringValueAt(TypedArray.java:1156) at android.content.res.TypedArray.getValueAt(TypedArray.java:1142) at android.content.res.TypedArray.getDrawable(TypedArray.java:865) at android.view.View.
(View.java:3961) at android.widget.TextView. (TextView.java:680) at android.widget.TextView. (TextView.java:674) at android.support.v7.widget.AppCompatTextView. (AppCompatTextView.java:62) at android.support.v7.widget.AppCompatTextView. (AppCompatTextView.java:58) at android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:103) at android.support.v7.app.AppCompatDelegateImplV9.createView(AppCompatDelegateImplV9.java:1029) at android.support.v7.app.AppCompatDelegateImplV9.onCreateView(AppCompatDelegateImplV9.java:1087) at android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:47) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:746) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704) at android.view.LayoutInflater.rInflate(LayoutInflater.java:835) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798) at android.view.LayoutInflater.inflate(LayoutInflater.java:515) at android.view.LayoutInflater.inflate(LayoutInflater.java:423) at com.aurelhubert.ahbottomnavigation.AHBottomNavigation.createClassicItems(AHBottomNavigation.java:381) at com.aurelhubert.ahbottomnavigation.AHBottomNavigation.createItems(AHBottomNavigation.java:261) at com.aurelhubert.ahbottomnavigation.AHBottomNavigation.onSizeChanged(AHBottomNavigation.java:147) at android.view.View.sizeChange(View.java:16849) at android.view.View.setFrame(View.java:16811) at android.view.View.layout(View.java:16720) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2728) at android.view.View.layout(View.java:16727) at android.view.ViewGroup.layout(ViewGroup.java:5452) at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2288) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2025) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1174) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6241) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:873) at android.view.Choreographer.doCallbacks(Choreographer.java:676) at android.view.Choreographer.doFrame(Choreographer.java:606) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:859) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:168) at android.app.ActivityThread.main(ActivityThread.java:5845) at java.lang.reflect.Method.invoke(Method.java:-2) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:687)
android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class
it occurred
Caused by java.lang.ArrayIndexOutOfBoundsException: length=3; index=3
at android.util.ContainerHelpers.binarySearch + 47(ContainerHelpers.java:47)
at android.util.LongSparseArray.get + 113(LongSparseArray.java:113)
at android.util.LongSparseArray.get + 104(LongSparseArray.java:104)
at android.graphics.Typeface.create + 193(Typeface.java:193)
at android.graphics.Typeface.create + 143(Typeface.java:143)
at android.widget.TextView.setTypefaceFromAttrs + 1659(TextView.java:1659)
at android.widget.TextView.
@aurelhubert is occurring frequently with me in 2.3.4
android.view.LayoutInflater.inflate (LayoutInflater.java:539) android.view.LayoutInflater.inflate (LayoutInflater.java:423) com.aurelhubert.ahbottomnavigation.AHBottomNavigation.createClassicItems (AHBottomNavigation.java:381) com.aurelhubert.ahbottomnavigation.AHBottomNavigation.createItems (AHBottomNavigation.java:261) com.aurelhubert.ahbottomnavigation.AHBottomNavigation.onSizeChanged (AHBottomNavigation.java:147) android.view.View.sizeChange (View.java:17112) android.view.View.setFrame (View.java:17074) android.view.View.layout (View.java:16966) android.view.ViewGroup.layout (ViewGroup.java:5590) android.support.design.widget.CoordinatorLayout.layoutChild (CoordinatorLayout.java:1167) android.support.design.widget.CoordinatorLayout.onLayoutChild (CoordinatorLayout.java:852) android.support.design.widget.CoordinatorLayout.onLayout (CoordinatorLayout.java:871) android.view.View.layout (View.java:16975) android.view.ViewGroup.layout (ViewGroup.java:5590) android.widget.FrameLayout.layoutChildren (FrameLayout.java:396) android.widget.FrameLayout.onLayout (FrameLayout.java:333) android.view.View.layout (View.java:16975) android.view.ViewGroup.layout (ViewGroup.java:5590) android.widget.LinearLayout.setChildFrame (LinearLayout.java:2001) android.widget.LinearLayout.layoutVertical (LinearLayout.java:1844) android.widget.LinearLayout.onLayout (LinearLayout.java:1753) android.view.View.layout (View.java:16975) android.view.ViewGroup.layout (ViewGroup.java:5590) android.widget.FrameLayout.layoutChildren (FrameLayout.java:396) android.widget.FrameLayout.onLayout (FrameLayout.java:333) android.view.View.layout (View.java:16975) android.view.ViewGroup.layout (ViewGroup.java:5590) android.widget.LinearLayout.setChildFrame (LinearLayout.java:2001) android.widget.LinearLayout.layoutVertical (LinearLayout.java:1844) android.widget.LinearLayout.onLayout (LinearLayout.java:1753) android.view.View.layout (View.java:16975) android.view.ViewGroup.layout (ViewGroup.java:5590) android.widget.FrameLayout.layoutChildren (FrameLayout.java:396) android.widget.FrameLayout.onLayout (FrameLayout.java:333) com.android.internal.policy.PhoneWindow$DecorView.onLayout (PhoneWindow.java:2782) android.view.View.layout (View.java:16975) android.view.ViewGroup.layout (ViewGroup.java:5590) android.view.ViewRootImpl.performLayout (ViewRootImpl.java:2556) android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2259) android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1325) android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:6741) android.view.Choreographer$CallbackRecord.run (Choreographer.java:912) android.view.Choreographer.doCallbacks (Choreographer.java:714) android.view.Choreographer.doFrame (Choreographer.java:649) android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:898) android.os.Handler.handleCallback (Handler.java:815) android.os.Handler.dispatchMessage (Handler.java:104) android.os.Looper.loop (Looper.java:207) android.app.ActivityThread.main (ActivityThread.java:5769) java.lang.reflect.Method.invoke (Method.java) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:789) com.android.internal.os.ZygoteInit.main (ZygoteInit.java:679)