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

Crash on Synapse start #25

Open
ffolkes opened this issue Apr 3, 2014 · 1 comment
Open

Crash on Synapse start #25

ffolkes opened this issue Apr 3, 2014 · 1 comment
Labels

Comments

@ffolkes
Copy link

ffolkes commented Apr 3, 2014

Not sure what causes this, but it's consistently crashing after I added a new element (checkbox), although it looks like a seekbar caused it.. Anyway, as I suspected, resetting the appdata fixes it.

W/dalvikvm( 5221): threadid=12: thread exiting with uncaught exception (group=0x414e1ba8)
E/AndroidRuntime( 5221): FATAL EXCEPTION: Thread-121
E/AndroidRuntime( 5221): Process: com.af.synapse, PID: 5221
E/AndroidRuntime( 5221): java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
E/AndroidRuntime( 5221):    at java.util.ArrayList.get(ArrayList.java:310)
E/AndroidRuntime( 5221):    at com.af.synapse.elements.SSeekBar.getView(SSeekBar.java:363)
E/AndroidRuntime( 5221):    at com.af.synapse.MainActivity$TabSectionFragment.prepareView(MainActivity.java:379)
E/AndroidRuntime( 5221):    at com.af.synapse.MainActivity$TabSectionFragment.setArguments(MainActivity.java:399)
E/AndroidRuntime( 5221):    at com.af.synapse.MainActivity$SectionsPagerAdapter.buildFragment(MainActivity.java:252)
E/AndroidRuntime( 5221):    at com.af.synapse.MainActivity$SectionsPagerAdapter.access$800(MainActivity.java:244)
E/AndroidRuntime( 5221):    at com.af.synapse.MainActivity$SectionsPagerAdapter$2.run(MainActivity.java:289)
E/AndroidRuntime( 5221):    at com.af.synapse.utils.NamedRunnable.run(NamedRunnable.java:28)
E/AndroidRuntime( 5221):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/AndroidRuntime( 5221):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/AndroidRuntime( 5221):    at java.lang.Thread.run(Thread.java:841)
W/ActivityManager( 3684):   Force finishing activity com.af.synapse/.MainActivity
@AndreiLux
Copy link
Owner

If you can reproduce this, please check the actionValueStore for the value of the element that is referenced next time it crashes. I don't see how resetting app data would prevent this from happening...

@AndreiLux AndreiLux added the bug label May 2, 2014
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