adepasquale / esms

Automatically exported from code.google.com/p/esms
GNU General Public License v3.0
5 stars 2 forks source link

java.lang.IndexOutOfBoundsException #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
java.lang.IndexOutOfBoundsException: setSpan (21 ... 21) ends beyond length 2
at 
android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:945)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:527)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:520)
at android.widget.SpellChecker$SpellParser.init(SpellChecker.java:403)
at android.widget.SpellChecker.spellCheck(SpellChecker.java:224)
at android.widget.TextView.updateSpellCheckSpans(TextView.java:7810)
at android.widget.TextView.sendOnTextChanged(TextView.java:7638)
at android.widget.TextView.handleTextChanged(TextView.java:7681)
at android.widget.TextView$ChangeWatcher.onTextChanged(TextView.java:8044)
at 
android.text.SpannableStringBuilder.sendTextChange(SpannableStringBuilder.java:8
92)
at android.text.SpannableStringBuilder.change(SpannableStringBuilder.java:389)
at android.text.SpannableStringBuilder.change(SpannableStringBuilder.java:266)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:443)
at android.text.SpannableStringBuilder.delete(SpannableStringBuilder.java:216)
at android.text.SpannableStringBuilder.delete(SpannableStringBuilder.java:29)
at 
android.text.method.BaseKeyListener.backspaceOrForwardDelete(BaseKeyListener.jav
a:90)
at android.text.method.BaseKeyListener.backspace(BaseKeyListener.java:45)
at android.text.method.BaseKeyListener.onKeyDown(BaseKeyListener.java:151)
at android.text.method.QwertyKeyListener.onKeyDown(QwertyKeyListener.java:352)
at android.text.method.TextKeyListener.onKeyDown(TextKeyListener.java:132)
at android.widget.TextView.doKeyDown(TextView.java:5445)
at android.widget.TextView.onKeyDown(TextView.java:5267)
at android.widget.AutoCompleteTextView.onKeyDown(AutoCompleteTextView.java:682)
at android.view.KeyEvent.dispatch(KeyEvent.java:2551)
at android.view.View.dispatchKeyEvent(View.java:5500)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1246)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1246)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1246)
at android.widget.ScrollView.dispatchKeyEvent(ScrollView.java:344)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1246)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1246)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1246)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1246)
at 
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(Pho
neWindow.java:1879)
at 
com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.j
ava:1361)
at android.app.Activity.dispatchKeyEvent(Activity.java:2324)
at 
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWin
dow.java:1806)
at android.view.ViewRootImpl.deliverKeyEventPostIme(ViewRootImpl.java:3327)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2597)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
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:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by and...@de-pasquale.name on 11 Mar 2012 at 5:01

GoogleCodeExporter commented 9 years ago
Non si comprende da cosa sia causato l'errore, sarebbe utile conoscere le 
azioni dell'utente che generano questa eccezione.

Original comment by and...@de-pasquale.name on 11 Mar 2012 at 5:12

GoogleCodeExporter commented 9 years ago
Un altro errore è il seguente:

java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:257)
at java.util.ArrayList.get(ArrayList.java:311)
at android.widget.ArrayAdapter.getItem(ArrayAdapter.java:298)
at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:351)
at android.widget.ArrayAdapter.getView(ArrayAdapter.java:323)
at android.widget.Spinner.makeAndAddView(Spinner.java:192)
at android.widget.Spinner.layout(Spinner.java:151)
at android.widget.Spinner.onLayout(Spinner.java:115)
at android.view.View.layout(View.java:7446)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1254)
at android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1243)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1049)
at android.view.View.layout(View.java:7446)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1254)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1130)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1047)
at android.view.View.layout(View.java:7446)
at android.widget.FrameLayout.onLayout(FrameLayout.java:338)
at android.view.View.layout(View.java:7446)
at android.widget.FrameLayout.onLayout(FrameLayout.java:338)
at android.view.View.layout(View.java:7446)
at android.view.ViewRoot.performTraversals(ViewRoot.java:1140)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1859)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3694)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
at dalvik.system.NativeStart.main(Native Method)

Original comment by and...@de-pasquale.name on 31 Mar 2012 at 2:29

GoogleCodeExporter commented 9 years ago
java.lang.IndexOutOfBoundsException: setSpan (23 ... 23) ends beyond length 4
at 
android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:945)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:527)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:520)
at android.widget.SpellChecker$SpellParser.init(SpellChecker.java:403)
at android.widget.SpellChecker.spellCheck(SpellChecker.java:224)
at android.widget.TextView.updateSpellCheckSpans(TextView.java:7810)
at android.widget.TextView.sendOnTextChanged(TextView.java:7638)
at android.widget.TextView.handleTextChanged(TextView.java:7681)
at android.widget.TextView$ChangeWatcher.onTextChanged(TextView.java:8044)
at 
android.text.SpannableStringBuilder.sendTextChange(SpannableStringBuilder.java:8
92)
at android.text.SpannableStringBuilder.change(SpannableStringBuilder.java:389)
at android.text.SpannableStringBuilder.change(SpannableStringBuilder.java:266)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:443)
at android.text.SpannableStringBuilder.delete(SpannableStringBuilder.java:216)
at android.text.SpannableStringBuilder.delete(SpannableStringBuilder.java:29)
at 
android.text.method.BaseKeyListener.backspaceOrForwardDelete(BaseKeyListener.jav
a:90)
at android.text.method.BaseKeyListener.backspace(BaseKeyListener.java:45)
at android.text.method.BaseKeyListener.onKeyDown(BaseKeyListener.java:151)
at android.text.method.QwertyKeyListener.onKeyDown(QwertyKeyListener.java:352)
at android.text.method.TextKeyListener.onKeyDown(TextKeyListener.java:132)
at android.widget.TextView.doKeyDown(TextView.java:5445)
at android.widget.TextView.onKeyDown(TextView.java:5267)
at android.widget.AutoCompleteTextView.onKeyDown(AutoCompleteTextView.java:682)
at android.view.KeyEvent.dispatch(KeyEvent.java:2551)
at android.view.View.dispatchKeyEvent(View.java:5500)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1246)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1246)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1246)
at android.widget.ScrollView.dispatchKeyEvent(ScrollView.java:344)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1246)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1246)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1246)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1246)
at 
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(Pho
neWindow.java:1879)
at 
com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.j
ava:1361)
at android.app.Activity.dispatchKeyEvent(Activity.java:2324)
at 
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWin
dow.java:1806)
at android.view.ViewRootImpl.deliverKeyEventPostIme(ViewRootImpl.java:3327)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2597)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
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:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)

Original comment by and...@de-pasquale.name on 4 Apr 2012 at 12:59

GoogleCodeExporter commented 9 years ago
Aumento priorità perché la frequenza di questo errore risulta essere più 
alta della media.

Original comment by and...@de-pasquale.name on 11 Oct 2012 at 7:37

GoogleCodeExporter commented 9 years ago
il bug (e relativo crash dell'applicazione) si verifica quando si tenta di 
cancellare un numero di telefono preso dalla rubrica, usando il tasto backspace 
della tastiera su schermo. Se si aggiunge invece prima un qualsiasi carattere, 
allora il crash non si presenta più, ma premendo il bottone (+) si noterà che 
il numero di telefono non è stato realmente modificato. Ho riprodotto più 
volte il bug su Android ICS seguendo la procedura descritta.

Original comment by landaper...@gmail.com on 19 Oct 2013 at 5:53

GoogleCodeExporter commented 9 years ago
Grazie per le informazioni.

Original comment by and...@de-pasquale.name on 21 Oct 2013 at 9:04