Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IndexOutOfBoundsException occurs on Samsung S Advance #52

Closed
Sleeper9 opened this issue May 19, 2016 · 0 comments
Closed

java.lang.IndexOutOfBoundsException occurs on Samsung S Advance #52

Sleeper9 opened this issue May 19, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@Sleeper9
Copy link

I have a problem on the mentioned device with the library. If I click fast enough on the Next button, I get the following exception:

5-19 12:38:41.079 5416-5416/com.frontendart.qualitygate.android E/AndroidRuntime: FATAL EXCEPTION: main java.lang.IndexOutOfBoundsException: Invalid index 6, size is 6 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251) at java.util.ArrayList.get(ArrayList.java:304) at com.heinrichreimersoftware.materialintro.slide.SlideAdapter.getSlide(SlideAdapter.java:66) at com.heinrichreimersoftware.materialintro.app.IntroActivity.getSlide(IntroActivity.java:504) at com.heinrichreimersoftware.materialintro.app.IntroActivity.canGoForward(IntroActivity.java:195) at com.heinrichreimersoftware.materialintro.app.IntroActivity.nextSlide(IntroActivity.java:160) at com.heinrichreimersoftware.materialintro.app.IntroActivity$2.onClick(IntroActivity.java:144) at android.view.View.performClick(View.java:4162) at android.view.View$PerformClick.run(View.java:17082) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4856) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1007) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:774) at dalvik.system.NativeStart.main(Native Method)

The intro screen also hangs for a bit (that must be because it loads some data in the background), so I can click on Next button quite a few times, and nothing happens, except for this exception suddenly.

@heinrichreimer heinrichreimer self-assigned this May 24, 2016
@heinrichreimer heinrichreimer added this to the Release 1.4.1 milestone May 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants