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

"Unable to start service com.flowcrypt.email.service.PassPhrasesInRAMServ" errors #2703

Open
sosnovsky opened this issue May 3, 2024 · 2 comments · Fixed by #2713 or #2790
Open

"Unable to start service com.flowcrypt.email.service.PassPhrasesInRAMServ" errors #2703

sosnovsky opened this issue May 3, 2024 · 2 comments · Fixed by #2713 or #2790
Assignees
Milestone

Comments

@sosnovsky
Copy link
Collaborator

Seems like similar issues was fixed earlier (#1588), but there are still many error reports:

java.lang.RuntimeException: Unable to start service com.flowcrypt.email.service.PassPhrasesInRAMService@6e4302 with null: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service com.flowcrypt.email/.service.PassPhrasesInRAMService
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5286)
at android.app.ActivityThread.-$$Nest$mhandleServiceArgs(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2531)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:8893)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Caused by: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service com.flowcrypt.email/.service.PassPhrasesInRAMService
at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:54)
at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:50)
at android.os.Parcel.readParcelableInternal(Parcel.java:4882)
at android.os.Parcel.readParcelable(Parcel.java:4864)
at android.os.Parcel.createExceptionOrNull(Parcel.java:3064)
at android.os.Parcel.createException(Parcel.java:3053)
at android.os.Parcel.readException(Parcel.java:3036)
at android.os.Parcel.readException(Parcel.java:2978)
at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:7214)
at android.app.Service.startForeground(Service.java:775)
at com.flowcrypt.email.service.PassPhrasesInRAMService.onStartCommand(PassPhrasesInRAMService.kt:60)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5268)
@DenBond7
Copy link
Collaborator

Reopened. It looks like the last changes didn't help

@sosnovsky
Copy link
Collaborator Author

@DenBond7 there are still many error reports with this error in 1.5.9 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment