Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MicroG keeps stopping #3279

@TypicallyThomas

Description

@TypicallyThomas

Describe the bug
MicroG keeps crashing due to a NullPointerException when calling get-second.

To Reproduce

  1. Start MicroG
  2. Await registration attempt
  3. Repeated crashing

Expected behavior
MicroG successfully registering.

Logs

FATAL EXCEPTION: main
Process: com.google.android.gms:persistent, PID: 28030
java.lang.NullPointerException: <get-second>(...) must not be null
	at org.microg.gms.gcm.registeration.ChimeGmsRegistrationHelper$handleRegistration$response$1.invokeSuspend(ChimeGmsRegistrationHelper.kt:74)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@94bd385, Dispatchers.Main.immediate]

System
Android Version: 15
Custom ROM: /e/OS 3.4
MicroG version: 3.11.250932-15

Additional context
I am new to MicroG and changed the profile after initial registration. I am not sure, but I have a hunch that's what caused this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions