Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.ArrayIndexOutOfBoundsException: length=4; index=4	at com.emergency.e_place.HelpActivity.addBottomDots(HelpActivity.java:101)	at com.emergency.e_place.HelpActivity.access$400(HelpActivity.java:21)	at com.emergency.e_place.HelpActivity$3.onPageSelected(HelpActivity.java:121)	at android.support.v4.view.ViewPager.dispatchOnPageSelected(ViewPager.java:1794)	at android.support.v4.view.ViewPager.scrollToItem(ViewPager.java:569)	at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:553)	at android.support.v4.view.ViewPager.onTouchEvent(ViewPager.java:2103)	at android.view.View.dispatchTouchEvent(View.java:8132)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2425)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2149)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2164)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2164)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2164)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2164)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2164)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2164)	at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2292)	at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1622)	at android.app.Activity.dispatchTouchEvent(Activity.java:2543)	at android.support.v7.internal.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:60)	at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2240)	at android.view.View.dispatchPointerEvent(View.java:8340)	at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4612)	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4478)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4036)	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4090)	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4059)	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4170)	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4067)	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4227)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4036)	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4090)	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4059)	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4067)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4036)	at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6328)	at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6277)	at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6248)	at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6213)	at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6408)	at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)	at android.os.MessageQueue.nativePollOnce(Native Method)	at android.os.MessageQueue.next(MessageQueue.java:138)	at android.os.Looper.loop(Looper.java:131)	at android.app.ActivityThread.main(ActivityThread.java:5511)	at java.lang.reflect.Method.invokeNative(Native Method)