Skip to content

Unable to start receiver uk.orth.push.FirebaseMessagingReceiver: java.lang.NullPointerException #87

@gdurandrexel

Description

@gdurandrexel

Hello,

I have this exception reported by Crashlytics. I don't know what kind of notification triggered that.

Fatal Exception: java.lang.RuntimeException: Unable to start receiver uk.orth.push.FirebaseMessagingReceiver: java.lang.NullPointerException
       at android.app.ActivityThread.handleReceiver(ActivityThread.java:4315)
       at android.app.ActivityThread.-$$Nest$mhandleReceiver()
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2153)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:201)
       at android.os.Looper.loop(Looper.java:288)
       at android.app.ActivityThread.main(ActivityThread.java:7872)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

Caused by java.lang.NullPointerException:
       at uk.orth.push.BackgroundFlutterAppLauncher.<init>(BackgroundFlutterAppLauncher.kt:33)
       at uk.orth.push.FirebaseMessagingReceiver.sendMessageToFlutterApplication(FirebaseMessagingReceiver.kt:57)
       at uk.orth.push.FirebaseMessagingReceiver.onReceive(FirebaseMessagingReceiver.kt:22)
       at android.app.ActivityThread.handleReceiver(ActivityThread.java:4306)
       at android.app.ActivityThread.-$$Nest$mhandleReceiver()
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2153)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:201)
       at android.os.Looper.loop(Looper.java:288)
       at android.app.ActivityThread.main(ActivityThread.java:7872)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

Using 3.3.3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions