IllegalArgumentException: packageName should be nonempty
Open
@marcbaechinger is already working on this.
Since May 13, 2026.
question
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Oppo-Android 11-RMX3231 and A92 ,-2026年5月11日 14:14:54。media3 1.10.0.
The probability is low; it has occurred 4 times on Firebase over the past 5 months, and currently, it is only appearing on OPPO devices.
Fatal Exception: java.lang.IllegalArgumentException: packageName should be nonempty
at androidx.media3.session.legacy.MediaSessionManager$RemoteUserInfo.<init>(MediaSessionManager.java:159)
at androidx.media3.session.legacy.MediaSessionCompat$MediaSessionImplApi28.getCurrentControllerInfo(MediaSessionCompat.java:2287)
at androidx.media3.session.legacy.MediaSessionCompat.getCurrentControllerInfo(MediaSessionCompat.java:664)
at androidx.media3.session.MediaSessionLegacyStub.onMediaButtonEvent(MediaSessionLegacyStub.java:550)
at androidx.media3.session.legacy.MediaSessionCompat$Callback$MediaSessionCallback.onMediaButtonEvent(MediaSessionCompat.java:1149)
at android.media.session.MediaSession$CallbackMessageHandler.handleMessage(MediaSession.java:1566)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7948)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:603)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.