java.lang.Throwable: addInArray

GitHub | xiaomeixw | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.Throwable

    addInArray

    at android.view.ViewGroup.addInArray()
  2. Android Platform
    ViewGroup.addViewInLayout
    1. android.view.ViewGroup.addInArray(ViewGroup.java:3786)
    2. android.view.ViewGroup.addViewInner(ViewGroup.java:3740)
    3. android.view.ViewGroup.addViewInLayout(ViewGroup.java:3687)
    4. android.view.ViewGroup.addViewInLayout(ViewGroup.java:3668)
    4 frames
  3. Android Support v4
    ViewPager.addView
    1. android.support.v4.view.ViewPager.addView(ViewPager.java:1339)
    1 frame
  4. Android Platform
    ViewGroup.addView
    1. android.view.ViewGroup.addView(ViewGroup.java:3509)
    2. android.view.ViewGroup.addView(ViewGroup.java:3485)
    2 frames
  5. ui.banner
    BGABanner$PageAdapter.instantiateItem
    1. ui.banner.BGABanner$PageAdapter.instantiateItem(BGABanner.java:504)
    1 frame
  6. Android Support v4
    ViewPager.onMeasure
    1. android.support.v4.view.ViewPager.addNewItem(ViewPager.java:869)
    2. android.support.v4.view.ViewPager.populate(ViewPager.java:1053)
    3. android.support.v4.view.ViewPager.populate(ViewPager.java:951)
    4. android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1473)
    4 frames
  7. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:16834)
    2. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:824)
    3. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:500)
    4. android.view.View.measure(View.java:16834)
    5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5374)
    6. android.widget.FrameLayout.onMeasure(FrameLayout.java:340)
    7. android.view.View.measure(View.java:16834)
    8. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5374)
    9. android.widget.FrameLayout.onMeasure(FrameLayout.java:340)
    10. android.view.View.measure(View.java:16834)
    11. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5374)
    12. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1621)
    13. android.widget.LinearLayout.measureVertical(LinearLayout.java:742)
    14. android.widget.LinearLayout.onMeasure(LinearLayout.java:607)
    15. android.view.View.measure(View.java:16834)
    16. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5374)
    17. android.widget.FrameLayout.onMeasure(FrameLayout.java:340)
    17 frames
  8. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2368)
    1 frame
  9. Android Platform
    ActivityThread.main
    1. android.view.View.measure(View.java:16834)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2252)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1315)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1513)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1192)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6231)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:788)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:591)
    9. android.view.Choreographer.doFrame(Choreographer.java:560)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774)
    11. android.os.Handler.handleCallback(Handler.java:808)
    12. android.os.Handler.dispatchMessage(Handler.java:103)
    13. android.os.Looper.loop(Looper.java:193)
    14. android.app.ActivityThread.main(ActivityThread.java:5333)
    14 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  11. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:824)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640)
    2 frames
  12. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame