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

Google Play Crash Report: java.lang.StringIndexOutOfBoundsException: at java.lang.String.substring (String.java:1935) #1020

Closed
dmfs opened this issue Mar 21, 2021 · 0 comments

Comments

@dmfs
Copy link
Owner

dmfs commented Mar 21, 2021

java.lang.StringIndexOutOfBoundsException: 
  at java.lang.String.substring (String.java:1935)
  at org.dmfs.tasks.widget.DescriptionFieldView.lambda$bindItemView$3 (DescriptionFieldView.java:336)
  at org.dmfs.tasks.widget.DescriptionFieldView.lambda$bindItemView$3$DescriptionFieldView (DescriptionFieldView.java:22)
  at org.dmfs.tasks.widget.-$$Lambda$DescriptionFieldView$AfmJjwO2GAUsOqSxwm1iA0ZhYoE.onKey (-.java:13)
  at android.view.View.dispatchKeyEvent (View.java:11709)
  at android.view.ViewGroup.dispatchKeyEvent (ViewGroup.java:1834)
  at android.view.ViewGroup.dispatchKeyEvent (ViewGroup.java:1834)
  at android.view.ViewGroup.dispatchKeyEvent (ViewGroup.java:1834)
  at android.view.ViewGroup.dispatchKeyEvent (ViewGroup.java:1834)
  at android.view.ViewGroup.dispatchKeyEvent (ViewGroup.java:1834)
  at android.view.ViewGroup.dispatchKeyEvent (ViewGroup.java:1834)
  at androidx.core.widget.NestedScrollView.dispatchKeyEvent (NestedScrollView.java:621)
  at android.view.ViewGroup.dispatchKeyEvent (ViewGroup.java:1834)
  at android.view.ViewGroup.dispatchKeyEvent (ViewGroup.java:1834)
  at android.view.ViewGroup.dispatchKeyEvent (ViewGroup.java:1834)
  at android.view.ViewGroup.dispatchKeyEvent (ViewGroup.java:1834)
  at android.view.ViewGroup.dispatchKeyEvent (ViewGroup.java:1834)
  at android.view.ViewGroup.dispatchKeyEvent (ViewGroup.java:1834)
  at android.view.ViewGroup.dispatchKeyEvent (ViewGroup.java:1834)
  at com.android.internal.policy.DecorView.superDispatchKeyEvent (DecorView.java:440)
  at com.android.internal.policy.PhoneWindow.superDispatchKeyEvent (PhoneWindow.java:1819)
  at androidx.core.view.KeyEventDispatcher.activitySuperDispatchKeyEventPre28 (KeyEventDispatcher.java:130)
  at androidx.core.view.KeyEventDispatcher.dispatchKeyEvent (KeyEventDispatcher.java:87)
  at androidx.core.app.ComponentActivity.dispatchKeyEvent (ComponentActivity.java:140)
  at androidx.appcompat.app.AppCompatActivity.dispatchKeyEvent (AppCompatActivity.java:569)
  at androidx.appcompat.view.WindowCallbackWrapper.dispatchKeyEvent (WindowCallbackWrapper.java:59)
  at androidx.appcompat.app.AppCompatDelegateImpl$AppCompatWindowCallback.dispatchKeyEvent (AppCompatDelegateImpl.java:3054)
  at androidx.appcompat.view.WindowCallbackWrapper.dispatchKeyEvent (WindowCallbackWrapper.java:59)
  at com.android.internal.policy.DecorView.dispatchKeyEvent (DecorView.java:354)
  at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent (ViewRootImpl.java:4747)
  at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess (ViewRootImpl.java:4619)
  at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4161)
  at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:4214)
  at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:4180)
  at android.view.ViewRootImpl$AsyncInputStage.forward (ViewRootImpl.java:4307)
  at android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:4188)
  at android.view.ViewRootImpl$AsyncInputStage.apply (ViewRootImpl.java:4364)
  at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4161)
  at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:4214)
  at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:4180)
  at android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:4188)
  at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4161)
  at android.view.ViewRootImpl.deliverInputEvent (ViewRootImpl.java:6682)
  at android.view.ViewRootImpl.doProcessInputEvents (ViewRootImpl.java:6656)
  at android.view.ViewRootImpl.enqueueInputEvent (ViewRootImpl.java:6617)
  at android.view.ViewRootImpl$ViewRootHandler.handleMessage (ViewRootImpl.java:3944)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:164)
  at android.app.ActivityThread.main (ActivityThread.java:6543)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:438)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:807)
dmfs added a commit that referenced this issue Mar 21, 2021
At present it's still unclear under which condition this issue was
triggered. It should no longer crash though, the UI might just behave a
bit strangely instead.
@dmfs dmfs closed this as completed in 71af1e5 Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant