adek adek - 1 year ago 481
Android Question

Firebase Crash Library - NullPointerException in the console

I've implemented the new Firebase Crash library ( to log error in Android app.

Anyone is having similar problem.

I'm checking errors and on the top I've got:

Exception java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference
android.util.Base64.decode ( ( ( ( ( ( ( ( ( ($ (
java.util.concurrent.ThreadPoolExecutor.runWorker (
java.util.concurrent.ThreadPoolExecutor$ ( (

I have checked but there are not extra proguard rules for Firebase Crash.
Is it bug in the library? Anyone is having similar problem?

I can't reproduce error on my devices.

The error is strange and I don't know in which place in the application. Nothing so I think it's connected to Crash library.

This is not standard nullexception. It's connected to Firebase Crash library. Why I'm thinking this is library bug - there is no sign on my code/activity here.

enter image description here

enter image description here

Answer Source

It was confirmed by Google that this was bug in the Firebase Crash library.

This bug was fixed in the latest version of library

compile ''

Note! For some users this bug is fixed but you can see in the comments that some people are still getting this error. At the moment we can't do nothing more than update to the latest version. If you've been using previous version - update to the latest.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download