Android Question Firebase Notification error

Jithesh Mepparambath

Licensed User
Longtime User
Hi Erel ,

First of all I thank you for creating such a wondefull tool and creating the vidoes and Booklets.

using the Booklets i was able to create the first APP succefully . I wanted to test the FCM push Notification , I watched your video and gone through the documentation .

when I am running the application in release mode , following errors are coming .

Code is here with Attached.

Logger connected to: samsung SM-J730GM
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
*** Service (firebasemessaging) Create ***
** Service (firebasemessaging) Start **
firebasemessaging_subscribetotopics (java line: 228)
java.lang.NullPointerException: Attempt to invoke virtual method 'void' on a null object reference
at Source)
at anywheresoftware.b4a.objects.FirebaseNotificationsService$FirebaseMessageWrapper.SubscribeToTopic(
at com.quiqgenie.pushexample.firebasemessaging._subscribetotopics(
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(
at anywheresoftware.b4a.keywords.Common$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)




    9.2 KB · Views: 129

Jithesh Mepparambath

Licensed User
Longtime User
Hi Manfred ,

Thanks for the solution. now it works like a charm.

Thanks again.

With reference to this FCM is there any documentation link available where I can go through how this notification works.

I mean how i will send the notification and those who received , while clicking on it how I can go to the particular Msg in my android application.etc...

I want to send notification to many , to selected people or to single person. how i can achieve this


Jithesh M
Upvote 0