Firebase Component - Runtime Error Error from Companion: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference

Me too I have the same issue. Tried with western europe location first, then when I saw this triggers error I switched to a new Firebase project, set up a realtime database in US location, tried again and get the exact same error upon startup:

Error from Companion: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference

I find projectBucket term confusing. I have set there the name of the folder under which tag/value pair get stored. Hope this is OK.

But this thing just triggers this error. Any idea to get the information bit out from a standard website (I can write the server part) instead of this buggy Firebase component?

1 Like

I have the same problems above trying to run projects in new accounts, one that I created a few weeks ago and another that I created right now. Neither the apk works. But the same projects works well whitout any problem in a old account I have since 2016.

Could this issue be related with any kind of authentication process necessary for the new accounts?

I'm having the same problem, in version:

Built: April 25 2026 Version: nb204b-ai2a-2
Use Companion: Use Companion: 2.78a or 2.78au

This older version works:

Built: March 26 2026 Version: nb204b
Use Companion: Use Companion: 2.78a or 2.78au

Any solution?

The Firebase component is broken.

Use the Firebase RealtimeDatabase REST api with the AppInventor Web component.

Do you think we're stupid? Did I ask for help on this forum without even trying these things first?

I would prefer to not grace this question with a response.

I have not seen that you did ask for help about Firebase anywhere on this community, and do not know if you tried anything - we have to start somewhere. As it happens, the Firebase component is broken, so an alternative approach is required, available extensions or the web component.

Runtime Error
Error from Companion: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference.

When will this problem be solved?

There was a recent update to AI2 requiring a fresh Companion download.

Check your version.

Am I speaking without having the latest updates?

Firebase component is not work