Skip to content

Crashes switching back to App while in Video description #5382

@blauertee

Description

@blauertee

Checklist

Steps to reproduce the bug

  1. Watch this video in NewPipe
  2. Open the video description, sroll down a bit
  3. Switch to your music streaming app
  4. Switch back to NewPipe

I wasn't able to reliably reproduce the bug with other Videos. But with this specific Video it happened six times and one time NewPipe actually behaved as expected. I also got a Bug report only one of these seven tries, so in the other cases where the App just closed without any notice the issue might be something different.

Actual behaviour

App Immediately closes after switching back to it, playback stops and I'm at my home screen.

Expected behavior

Playback continues, I can go on reading the video description

Logs

As I said I only got the error message once and this was still on 0.20.6 then I updated. The behaviour did not change on 0.20.8 but I never got an error notification there, this is why this log is from 0.20.6

Exception

  • User Action: ui error
  • Request: App crash, UI failure
  • Content Country: DE
  • Content Language: de-DE
  • App Language: de_DE
  • Service: none
  • Version: 0.20.6
  • OS: Linux Android 11 - 30
Crash log

java.lang.StringIndexOutOfBoundsException: length=9; index=10
at java.lang.String.substring(String.java:2060)
at java.lang.String.subSequence(String.java:2107)
at android.widget.TextView.onProvideStructure(TextView.java:11714)
at android.view.View.onProvideAutofillStructure(View.java:8781)
at android.view.View.dispatchProvideStructure(View.java:9992)
at android.view.View.dispatchProvideAutofillStructure(View.java:9985)
at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:3674)
at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:3674)
at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:3674)
at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:3674)
at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:3674)
at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:3674)
at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:3674)
at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:3674)
at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:3674)
at android.app.assist.AssistStructure$WindowNode.(AssistStructure.java:528)
at android.app.assist.AssistStructure.(AssistStructure.java:2205)
at android.app.ActivityThread.handleRequestAssistContextExtras(ActivityThread.java:3706)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2027)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7660)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions