java.lang.ArrayIndexOutOfBoundsException: columnIndex is less than 0.

GitHub | b12kab | 9 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.
  1. 0

    GitHub comment 38#234745686

    GitHub | 9 months ago | b12kab
    java.lang.ArrayIndexOutOfBoundsException: columnIndex is less than 0.

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      columnIndex is less than 0.

      at io.realm.internal.TableView.nativeGetColumnType()
    2. io.realm.internal
      TableView.getColumnType
      1. io.realm.internal.TableView.nativeGetColumnType(Native Method)
      2. io.realm.internal.TableView.getColumnType(TableView.java:173)
      2 frames
    3. io.realm
      RealmBasedRecyclerViewAdapter.<init>
      1. io.realm.RealmBasedRecyclerViewAdapter.<init>(RealmBasedRecyclerViewAdapter.java:172)
      2. io.realm.RealmBasedRecyclerViewAdapter.<init>(RealmBasedRecyclerViewAdapter.java:133)
      3. io.realm.RealmBasedRecyclerViewAdapter.<init>(RealmBasedRecyclerViewAdapter.java:123)
      3 frames
    4. net.springtale.realmviewholderexperiment
      FragmentMovieDetailReviews.onCreateView
      1. net.springtale.realmviewholderexperiment.AdapterRecyclerViewRealmReview.<init>(AdapterRecyclerViewRealmReview.java:29)
      2. net.springtale.realmviewholderexperiment.FragmentMovieDetailReviews.fixAdapter(FragmentMovieDetailReviews.java:222)
      3. net.springtale.realmviewholderexperiment.FragmentMovieDetailReviews.resetMovieIdDetails(FragmentMovieDetailReviews.java:280)
      4. net.springtale.realmviewholderexperiment.FragmentMovieDetailReviews.onCreateView(FragmentMovieDetailReviews.java:175)
      4 frames
    5. Android Support v4
      ViewPager.onMeasure
      1. android.support.v4.app.Fragment.performCreateView(Fragment.java:2074)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
      4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:758)
      5. android.support.v4.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:1632)
      6. android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:637)
      7. android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:143)
      8. android.support.v4.view.ViewPager.populate(ViewPager.java:1235)
      9. android.support.v4.view.ViewPager.populate(ViewPager.java:1083)
      10. android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1609)
      10 frames
    6. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:18788)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)
      4. android.widget.LinearLayout.measureVertical(LinearLayout.java:748)
      5. android.widget.LinearLayout.onMeasure(LinearLayout.java:630)
      6. android.view.View.measure(View.java:18788)
      7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      8. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)
      9. android.widget.LinearLayout.measureVertical(LinearLayout.java:748)
      10. android.widget.LinearLayout.onMeasure(LinearLayout.java:630)
      11. android.view.View.measure(View.java:18788)
      12. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      13. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)
      14. android.widget.LinearLayout.measureVertical(LinearLayout.java:748)
      15. android.widget.LinearLayout.onMeasure(LinearLayout.java:630)
      16. android.view.View.measure(View.java:18788)
      17. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      18. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      18 frames
    7. Android v7
      ContentFrameLayout.onMeasure
      1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
      1 frame
    8. Android Platform
      LinearLayout.onMeasure
      1. android.view.View.measure(View.java:18788)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)
      4. android.widget.LinearLayout.measureVertical(LinearLayout.java:748)
      5. android.widget.LinearLayout.onMeasure(LinearLayout.java:630)
      6. android.view.View.measure(View.java:18788)
      7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      8. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      9. android.view.View.measure(View.java:18788)
      10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      11. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)
      12. android.widget.LinearLayout.measureVertical(LinearLayout.java:748)
      13. android.widget.LinearLayout.onMeasure(LinearLayout.java:630)
      13 frames