消息关闭
    暂无新消息!
java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
at java.util.ArrayList.get(ArrayList.java:308)
at android.widget.HeaderViewListAdapter.isEnabled(HeaderViewListAdapter.java:164)
at android.widget.ListView.dispatchDraw(ListView.java:3430)
at android.view.View.draw(View.java:15627)
at android.widget.AbsListView.draw(AbsListView.java:4659)
at android.view.View.updateDisplayListIfDirty(View.java:14504)
at android.view.View.getDisplayList(View.java:14533)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3520)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3499)
at android.view.View.updateDisplayListIfDirty(View.java:14454)
at android.view.View.getDisplayList(View.java:14533)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3520)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3499)
at android.view.View.updateDisplayListIfDirty(View.java:14454)
at android.view.View.getDisplayList(View.java:14533)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3520)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3499)
at android.view.View.updateDisplayListIfDirty(View.java:14454)
at android.view.View.getDisplayList(View.java:14533)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3520)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3499)
at android.view.View.updateDisplayListIfDirty(View.java:14454)
at android.view.View.getDisplayList(View.java:14533)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3520)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3499)
at android.view.View.updateDisplayListIfDirty(View.java:14454)
at android.view.View.getDisplayList(View.java:14533)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3520)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3499)
at android.view.View.updateDisplayListIfDirty(View.java:14454)
at android.view.View.getDisplayList(View.java:14533)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3520)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3499)
at android.view.View.updateDisplayListIfDirty(View.java:14454)
at android.view.View.getDisplayList(View.java:14533)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3520)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3499)
at android.view.View.updateDisplayListIfDirty(View.java:14454)
at android.view.View.getDisplayList(View.java:14533)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3520)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3499)
at android.view.View.updateDisplayListIfDirty(View.java:14454)
at android.view.View.getDisplayList(View.java:14533)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3520)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3499)
at android.view.View.updateDisplayListIfDirty(View.java:14454)
at android.view.View.getDisplayList(View.java:14533)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:279)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:285)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:335)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:2994)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2807)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2413)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1323)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6686)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:800)
at android.view.Choreographer.doCallbacks(Choreographer.java:603)
at android.view.Choreographer.doFrame(Choreographer.java:572)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:786)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5879)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1119)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:885)

没有说哪个地方数组越界,怎么解决 ,头疼

1个回答