Skip to content

Instantly share code, notes, and snippets.

@wangbax
Last active September 27, 2019 10:27
Show Gist options
  • Save wangbax/7c8711db35eb811e3957bf157ac8b470 to your computer and use it in GitHub Desktop.
Save wangbax/7c8711db35eb811e3957bf157ac8b470 to your computer and use it in GitHub Desktop.
Caused by android.content.res.Resources$NotFoundException: File res/drawable-xxhdpi-v4/update_info_top_arrow_gray.png from drawable resource ID #0x7f080449
at android.content.res.Resources.loadDrawableForCookie + 3034(Resources.java:3034)
at android.content.res.Resources.loadDrawable + 2858(Resources.java:2858)
at android.content.res.MiuiResources.loadDrawable + 387(MiuiResources.java:387)
at android.content.res.Resources.getDrawable + 937(Resources.java:937)
at android.content.res.Resources.getDrawable + 896(Resources.java:896)
at com.facebook.litho.ResourceResolver.resolveDrawableRes + 229(ResourceResolver.java:229)
at com.facebook.litho.widget.Image$Builder.drawableRes + 270(Image.java:270)
at com.update.comps.UpdateTabItemComponentSpec.OnCreateLayout + 156(UpdateTabItemComponentSpec.java:156)
at com.update.comps.UpdateTabItemComponent.onCreateLayout + 124(UpdateTabItemComponent.java:124)
at com.facebook.litho.ComponentLifecycle.createComponentLayout + 422(ComponentLifecycle.java:422)
at com.facebook.litho.ComponentLifecycle.createLayout + 332(ComponentLifecycle.java:332)
at com.facebook.litho.ComponentContext.newLayoutBuilder + 344(ComponentContext.java:344)
at com.facebook.litho.Layout.create + 47(Layout.java:47)
at com.facebook.litho.Layout.create + 58(Layout.java:58)
at com.facebook.litho.InternalNode.child + 745(InternalNode.java:745)
at com.facebook.litho.Column.resolve + 114(Column.java:114)
at com.facebook.litho.ComponentLifecycle.createLayout + 330(ComponentLifecycle.java:330)
at com.facebook.litho.LayoutState.createTree + 1606(LayoutState.java:1606)
at com.facebook.litho.LayoutState.createAndMeasureTreeForComponent + 1820(LayoutState.java:1820)
at com.facebook.litho.LayoutState.calculate + 1407(LayoutState.java:1407)
at com.facebook.litho.ComponentTree.calculateLayoutStateInternal + 2118(ComponentTree.java:2118)
at com.facebook.litho.ComponentTree.calculateLayoutState + 2082(ComponentTree.java:2082)
at com.facebook.litho.ComponentTree.calculateLayout + 1706(ComponentTree.java:1706)
at com.facebook.litho.ComponentTree.access$3500 + 82(ComponentTree.java:82)
at com.facebook.litho.ComponentTree$CalculateLayoutRunnable.tracedRun + 2388(ComponentTree.java:2388)
at com.facebook.litho.ThreadTracingRunnable.run + 89(ThreadTracingRunnable.java:89)
at android.os.Handler.handleCallback + 815(Handler.java:815)
at android.os.Handler.dispatchMessage + 104(Handler.java:104)
at android.os.Looper.loop + 207(Looper.java:207)
at android.os.HandlerThread.run + 61(HandlerThread.java:61)
Caused by java.lang.ArrayIndexOutOfBoundsException: length=61; index=61
at android.util.ContainerHelpers.binarySearch + 28(ContainerHelpers.java:28)
at android.util.SparseArray.get + 113(SparseArray.java:113)
at android.util.SparseArray.get + 104(SparseArray.java:104)
at android.content.res.MiuiResources.loadOverlayDrawable + 241(MiuiResources.java:241)
at android.content.res.Resources.createFromResourceStream + 3300(Resources.java:3300)
at android.content.res.Resources.loadDrawableForCookie + 3028(Resources.java:3028)
at android.content.res.Resources.loadDrawable + 2858(Resources.java:2858)
at android.content.res.MiuiResources.loadDrawable + 387(MiuiResources.java:387)
at android.content.res.Resources.getDrawable + 937(Resources.java:937)
at android.content.res.Resources.getDrawable + 896(Resources.java:896)
at com.facebook.litho.ResourceResolver.resolveDrawableRes + 229(ResourceResolver.java:229)
at com.facebook.litho.widget.Image$Builder.drawableRes + 270(Image.java:270)
at com.update.comps.UpdateTabItemComponentSpec.OnCreateLayout + 156(UpdateTabItemComponentSpec.java:156)
at com.update.comps.UpdateTabItemComponent.onCreateLayout + 124(UpdateTabItemComponent.java:124)
at com.facebook.litho.ComponentLifecycle.createComponentLayout + 422(ComponentLifecycle.java:422)
at com.facebook.litho.ComponentLifecycle.createLayout + 332(ComponentLifecycle.java:332)
at com.facebook.litho.ComponentContext.newLayoutBuilder + 344(ComponentContext.java:344)
at com.facebook.litho.Layout.create + 47(Layout.java:47)
at com.facebook.litho.Layout.create + 58(Layout.java:58)
at com.facebook.litho.InternalNode.child + 745(InternalNode.java:745)
at com.facebook.litho.Column.resolve + 114(Column.java:114)
at com.facebook.litho.ComponentLifecycle.createLayout + 330(ComponentLifecycle.java:330)
at com.facebook.litho.LayoutState.createTree + 1606(LayoutState.java:1606)
at com.facebook.litho.LayoutState.createAndMeasureTreeForComponent + 1820(LayoutState.java:1820)
at com.facebook.litho.LayoutState.calculate + 1407(LayoutState.java:1407)
at com.facebook.litho.ComponentTree.calculateLayoutStateInternal + 2118(ComponentTree.java:2118)
at com.facebook.litho.ComponentTree.calculateLayoutState + 2082(ComponentTree.java:2082)
at com.facebook.litho.ComponentTree.calculateLayout + 1706(ComponentTree.java:1706)
at com.facebook.litho.ComponentTree.access$3500 + 82(ComponentTree.java:82)
at com.facebook.litho.ComponentTree$CalculateLayoutRunnable.tracedRun + 2388(ComponentTree.java:2388)
at com.facebook.litho.ThreadTracingRunnable.run + 89(ThreadTracingRunnable.java:89)
at android.os.Handler.handleCallback + 815(Handler.java:815)
at android.os.Handler.dispatchMessage + 104(Handler.java:104)
at android.os.Looper.loop + 207(Looper.java:207)
at android.os.HandlerThread.run + 61(HandlerThread.java:61)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment