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

[BUG]: java.lang.SecurityException - Not allowed to start service Intent #5554

Open
seanlip opened this issue Oct 15, 2024 · 0 comments
Open
Labels
bug End user-perceivable behaviors which are not desirable. Impact: Medium Moderate perceived user impact (non-blocking bugs and general improvements). Work: Medium The means to find the solution is clear, but it isn't at good-first-issue level yet.

Comments

@seanlip
Copy link
Member

seanlip commented Oct 15, 2024

Describe the bug

This crash is trending on Firebase and has 142 events affecting 2 users at time of writing.

Stacktrace is as follows:

Fatal Exception: java.lang.SecurityException: Not allowed to start service Intent { act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gms (has extras) } without permission com.google.android.c2dm.permission.RECEIVE
       at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1250)
       at android.app.ContextImpl.startService(ContextImpl.java:1227)
       at android.content.ContextWrapper.startService(ContextWrapper.java:581)
       at com.google.firebase.iid.w.c(SourceFile:131)
       at com.google.firebase.iid.w.b(SourceFile:92)
       at com.google.firebase.iid.w.a(SourceFile:91)
       at com.google.firebase.iid.af.a(SourceFile:73)
       at com.google.firebase.iid.ae.run(SourceFile)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
       at bf.b.run(SourceFile:2)
       at java.lang.Thread.run(Thread.java:818)

Steps To Reproduce

Not sure, this is a crash that Firebase is reporting as trending.

Expected Behavior

The crash should not occur.

Screenshots/Videos

No response

What device/emulator are you using?

The devices are Lenovo Mobile (75%, Android 6) and Atouch (25%, Android 10, rooted).

Which Android version is your device/emulator running?

Android 6 and Android 10

Which version of the Oppia Android app are you using?

0.13-beta-dcde7b359e (154)

Additional Context

No response

@seanlip seanlip added bug End user-perceivable behaviors which are not desirable. triage needed labels Oct 15, 2024
@adhiamboperes adhiamboperes added Impact: Medium Moderate perceived user impact (non-blocking bugs and general improvements). Work: Medium The means to find the solution is clear, but it isn't at good-first-issue level yet. labels Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug End user-perceivable behaviors which are not desirable. Impact: Medium Moderate perceived user impact (non-blocking bugs and general improvements). Work: Medium The means to find the solution is clear, but it isn't at good-first-issue level yet.
Development

No branches or pull requests

2 participants