Skip to content

java.lang.IllegalArgumentException: ... at android.view.IWindowSession$Stub$Proxy.addToDisplayForTranslate(IWindowSession.java:1136) #12014

@stdedos

Description

@stdedos

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.27.5 (org.schabi.newpipe.debug.potoken)

Steps to reproduce the bug

  1. Watch a video fullscreen
  2. Switch app with the previous one (S8 has a gesture for this)
  3. Switch back to NewPipe

Expected behavior

Nothing

Actual behavior

java.lang.IllegalArgumentException
 at android.os.Parcel.createException(Parcel.java:1970)
 at android.os.Parcel.readException(Parcel.java:1934)
 at android.os.Parcel.readException(Parcel.java:1884)
 at android.view.IWindowSession$Stub$Proxy.addToDisplayForTranslate(IWindowSession.java:1136)
...

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • App Language: en
  • Service: none
  • Timestamp: 2025-02-05T11:12:25.841+02:00
  • Package: org.schabi.newpipe.debug.potoken
  • Service: none
  • Version: 0.27.5
  • OS: Linux Android 9 - 28
Crash log

java.lang.IllegalArgumentException
at android.os.Parcel.createException(Parcel.java:1970)
at android.os.Parcel.readException(Parcel.java:1934)
at android.os.Parcel.readException(Parcel.java:1884)
at android.view.IWindowSession$Stub$Proxy.addToDisplayForTranslate(IWindowSession.java:1136)
at android.view.ViewRootImpl.setView(ViewRootImpl.java:998)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:381)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:93)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4098)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7050)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
Caused by: android.os.RemoteException: Remote stack trace:
at android.view.SurfaceControl.nativeCreate(Native Method)
at android.view.SurfaceControl.(SurfaceControl.java:704)
at android.view.SurfaceControl.(SurfaceControl.java:72)
at android.view.SurfaceControl$Builder.build(SurfaceControl.java:456)
at com.android.server.wm.WindowContainer.onParentSet(WindowContainer.java:202)


Affected Android/Custom ROM version

Android 9

Affected device model

Samsung Galaxy S8

Additional information

I am aware that this is not the latest version as of the last hours. I read the changelog, and did issue-searches - nothing relates to the stacktrace above.

https://github.com/TeamNewPipe/NewPipe/issues?q=is%3Aissue%20java.lang.IllegalArgumentException

Apologies if you indeed somehow fixed this and I am wasting your precious time 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bugneeds triageIssue is not yet ready for PR authors to take up

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions