Skip to content

Fatal Exception: java.lang.NullPointerException #915

@TheNotorius0

Description

@TheNotorius0

Bug report

CHECKLIST

  • I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.
  • I have checked that no similar issues (open or closed) already exist.

Current behavior:

I have got this crash report on Firebase:

Fatal Exception: java.lang.NullPointerException: println needs a message
  at android.util.Log.println_native(Log.java)
  at android.util.Log.e(Log.java:334)
  at org.apache.cordova.firebase.FirebasePlugin$2.run(FirebasePlugin.java:687)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
  at java.lang.Thread.run(Thread.java:1012)

Expected behavior:

It shouldn't crash.

How to fix:

It seems there is already an opened Pull Request that should fix this issue on line 687 by calling handleExceptionWithContext.

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