java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
zhuzhanpeng opened this issue · comments
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.ArrayList.get(ArrayList.java:437)
at android.support.v4.view.ViewPager.getChildDrawingOrder(ViewPager.java:804)
at android.view.View.populateAccessibilityNodeInfoDrawingOrderInParent(View.java:8351)
at android.view.View.onInitializeAccessibilityNodeInfoInternal(View.java:8282)
at android.widget.TextView.onInitializeAccessibilityNodeInfoInternal(TextView.java:10610)
at android.widget.EditText.onInitializeAccessibilityNodeInfoInternal(EditText.java:177)
at android.view.View.onInitializeAccessibilityNodeInfo(View.java:7345)
at android.view.View.createAccessibilityNodeInfoInternal(View.java:7304)
at android.view.View.createAccessibilityNodeInfo(View.java:7289)
at android.view.accessibility.AccessibilityRecord.setSource(AccessibilityRecord.java:146)
at android.view.accessibility.AccessibilityRecord.setSource(AccessibilityRecord.java:119)
at android.view.View.onInitializeAccessibilityEventInternal(View.java:7241)
at android.widget.TextView.onInitializeAccessibilityEventInternal(TextView.java:10595)
at android.view.View.onInitializeAccessibilityEvent(View.java:7229)
at android.view.View.sendAccessibilityEventUncheckedInternal(View.java:7091)
at android.view.View.sendAccessibilityEventUnchecked(View.java:7076)
at android.view.View.sendAccessibilityEventInternal(View.java:7053)
at android.widget.TextView.sendAccessibilityEventInternal(TextView.java:10987)
at android.view.View.sendAccessibilityEvent(View.java:7020)
at android.widget.TextView.onSelectionChanged(TextView.java:9506)
at android.widget.TextView.spanChange(TextView.java:9742)
at android.widget.TextView$ChangeWatcher.onSpanAdded(TextView.java:12305)
at android.text.SpannableStringBuilder.sendSpanAdded(SpannableStringBuilder.java:1276)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:777)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:676)
at android.text.Selection.setSelection(Selection.java:78)
at android.text.Selection.setSelection(Selection.java:87)
at android.text.method.ArrowKeyMovementMethod.initialize(ArrowKeyMovementMethod.java:312)
at android.widget.TextView.setText(TextView.java:5482)
at android.widget.TextView.setText(TextView.java:5350)
at android.widget.EditText.setText(EditText.java:113)
at android.widget.TextView.setText(TextView.java:5307)
at android.widget.TextView.onRestoreInstanceState(TextView.java:5173)
at android.view.View.dispatchRestoreInstanceState(View.java:17819)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3781)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3781)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3781)
at android.view.View.restoreHierarchyState(View.java:17797)
at android.support.v4.app.Fragment.restoreViewState(Fragment.java:494)
at android.support.v4.app.j.a(FragmentManager.java:1486)
at android.support.v4.app.j.f(FragmentManager.java:1784)
at android.support.v4.app.b.g(BackStackRecord.java:797)
at android.support.v4.app.j.b(FragmentManager.java:2625)
at android.support.v4.app.j.a(FragmentManager.java:2411)
at android.support.v4.app.j.b(FragmentManager.java:2366)
at android.support.v4.app.j.b(FragmentManager.java:2243)
at android.support.v4.app.b.f(BackStackRecord.java:654)
at android.support.v4.app.m.finishUpdate(FragmentPagerAdapter.java:146)
at android.support.v4.view.ViewPager.populate(ViewPager.java:1244)
at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:669)
at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:631)
at android.support.v4.view.ViewPager.setCurrentItem(ViewPager.java:612)
at com.ogaclejapan.smarttablayout.SmartTabLayout$a.onClick(SmartTabLayout.java:645)
at android.view.View.performClick(View.java:6291)
at android.view.View$PerformClick.run(View.java:24931)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:101)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7425)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)