[Android Apps and Games] seffparker:
After upgrading from 2.7.1.0 to 2.7.1.6, the app crashes while loading the presets with the following error:

java.lang.ArrayIndexOutOfBoundsException: length=11; index=-1
at com.pittvandewitt.viperfx.preference.DiscreteSeekBarPreference.a(Unknown Source:18)
at com.pittvandewitt.viperfx.preference.DiscreteSeekBarPreference.j(Unknown Source:1)
at com.pittvandewitt.viperfx.f.d.a(Unknown Source:167)
at com.pittvandewitt.viperfx.f.d.b(Unknown Source:153)
at com.pittvandewitt.viperfx.MainActivity$a.onMenuItemClick(Unknown Source:133)
at android.widget.PopupMenu$1.onMenuItemSelected(PopupMenu.java:105)
at com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:776)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:148)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:923)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:913)
at com.android.internal.view.menu.MenuPopup.onItemClick(MenuPopup.java:128)
at android.widget.AdapterView.performItemClick(AdapterView.java:318)
at android.widget.AbsListView.performItemClick(AbsListView.java:1198)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3178)
at android.widget.AbsListView$3.run(AbsListView.java:4132)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6806)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)

The presets are listed, but crashes while loading them.

Already tried clearing all data, fresh re-install, updating Android System Webview.

Tried creating a new preset and it loads correctly. Problem is only when loading presets from the version 2.7.1.0

---------- Post added at 11:52 AM ---------- Previous post was at 11:34 AM ----------

Here a preset XML that having error while loading:

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<int name="65561" value="75" />
<int name="65560" value="0" />
<int name="65563" value="20" />
<int name="65562" value="0" />
<boolean name="65565" value="true" />
<int name="65564" value="50" />
<int name="65567" value="100" />
<int name="65566" value="50" />
<boolean name="65569" value="true" />
<int name="65568" value="300" />
<boolean name="65574" value="false" />
<int name="65573" value="360" />
<int name="65576" value="100" />
<string name="65575">0</string>
<int name="65611" value="100" />
<boolean name="65578" value="false" />
<boolean name="65610" value="false" />
<int name="65577" value="50" />
<int name="65613" value="0" />
<int name="65612" value="100" />
<string name="65579">1</string>
<int name="65615" value="0" />
<boolean name="65538" value="true" />
<boolean name="65614" value="true" />
<int name="65617" value="20" />
<boolean name="65616" value="true" />
<int name="65619" value="50" />
<boolean name="65618" value="true" />
<boolean name="65583" value="false" />
<int name="65582" value="0" />
<int name="65585" value="0" />
<boolean name="65584" value="true" />
<int name="65587" value="0" />
<boolean name="65620" value="true" />
<int name="65543" value="0" />
<int name="65586" value="100" />
<int name="65622" value="80" />
<int name="65545" value="1" />
<int name="65588" value="100" />
<int name="65621" value="0" />
<boolean name="65544" value="false" />
<int name="65624" value="20" />
<string name="65547">AKG K319.vdc</string>
<int name="65623" value="100" />
<boolean name="65546" value="true" />
<boolean name="65626" value="true" />
<int name="65625" value="50" />
<boolean name="65548" value="false" />
<boolean name="65581" value="false" />
<boolean name="36868" value="true" />
<int name="65580" value="0" />
<string name="65552">0.0;0.0;0.0;0.0;3.5;-3.5;-3.5;0.0;0.0;0.0;</string>
<boolean name="65551" value="false" />
<boolean name="65553" value="false" />
<int name="65555" value="200" />
<int name="65558" value="1000" />
<boolean name="65557" value="false" />
<boolean name="65559" value="false" />
<int name="65549;65550" value="100" />
<string name="65540;65541;65542">Creative X-Fi.irs</string>
<int name="65554;65556" value="200" />
<string name="65570;65571;65572">800;6200;80;140;0;0</string>
</map>

---------- Post added at 12:33 PM ---------- Previous post was at 11:52 AM ----------

Managed to fix by removing the following line from all XMLs.

<int name="65561" value="75" />

Still not sure what the setting the above value means.