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.ArrayIndexOutOfBoundsException in com.bedrock.padder.activity.MainActivity.setSchemeInfo #50

Closed
ntcho opened this issue May 6, 2017 · 3 comments
Assignees

Comments

@ntcho
Copy link
Member

ntcho commented May 6, 2017

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.bedrock.padder/com.bedrock.padder.activity.MainActivity}: java.lang.ArrayIndexOutOfBoundsException: length=3; index=3
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3254)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)
	at android.app.ActivityThread.access$1100(ActivityThread.java:222)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:158)
	at android.app.ActivityThread.main(ActivityThread.java:7229)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: java.lang.ArrayIndexOutOfBoundsException: length=3; index=3
	at com.bedrock.padder.activity.MainActivity.setSchemeInfo(MainActivity.java:1661)
	at com.bedrock.padder.activity.MainActivity.onCreate(MainActivity.java:228)
	at android.app.Activity.performCreate(Activity.java:6876)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207)
	... 9 more
@Gennadiyev
Copy link
Collaborator

Array index out of bound? How could it happen..

@ntcho
Copy link
Member Author

ntcho commented May 6, 2017

probably fixed

@ntcho ntcho closed this as completed May 6, 2017
@ntcho
Copy link
Member Author

ntcho commented May 6, 2017

it happened cuz the saved preset data was +1 bigger to the current one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants