Receiving lots of IllegalStateException from Play Store Users.

Open
#45 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, kotlin

Research direction

Start at the MediaButtonReceiver.onReceive entry point and review the supplied Android stack trace. Investigate the reported IllegalStateException from Play Store users and establish a reproducible trigger. Done means the crash cause is identified and the receiver no longer produces this failure, with suitable verification.

Written by the indexing model from the issue text.

Description

migrated googlesamples

IllegalStateException
MediaButtonReceiver.onReceive
Report 1 of 10
java.lang.RuntimeException:
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3399)
at android.app.ActivityThread.-wrapl 8 (Unknown Source:0)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1780)
at android.os.Handler.dispatchMessage (Handlerjaval 05)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6942)
at java.lang.reflect.Method.invoke (Native Method:0)
at com.android.internal.os.Zygote$MethodAndArgsCaller. run
(Zygote.java:327)
at com.android.internal.os.Zygotelnit.main (Zygotelnit.javal 374)
Caused by: java.Iang.IllegalStateException:
at android.support.v4.media.session.MediaButtonReceiver.onReceive
(Unknown Source:76)
at android.app.ActivityThread.handieReceiver (ActivityThread.java:3392)

Dominant language
Kotlin
Stars
1.4k
Forks
777
Avg merge
1m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/media-samples

All issues in android/media-samples

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.