Hi
I tried to convert B4J project called sending tool for Firebase notificaton in B4A but I retrieve this error
I tried to convert B4J project called sending tool for Firebase notificaton in B4A but I retrieve this error
B4X:
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
googleoauth2_getaccesstoken (java line: 165)
java.lang.NullPointerException: Attempt to read from field 'boolean com.domos.client.googleoauth2$_tokeninformation.Valid' on a null object reference in method 'java.lang.String com.domos.client.googleoauth2._getaccesstoken()'
at com.domos.client.googleoauth2._getaccesstoken(googleoauth2.java:165)
at com.domos.client.b4xmainpage$ResumableSub_SendMessage.resume(b4xmainpage.java:118)
at com.domos.client.b4xmainpage._sendmessage(b4xmainpage.java:84)
at com.domos.client.b4xmainpage._initialize(b4xmainpage.java:78)
at com.domos.client.b4xpagesmanager._initialize(b4xpagesmanager.java:707)
at com.domos.client.main._activity_create(main.java:366)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:221)
at com.domos.client.main.afterFirstLayout(main.java:105)
at com.domos.client.main.access$000(main.java:17)
at com.domos.client.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:224)
at android.os.Looper.loop(Looper.java:318)
at android.app.ActivityThread.main(ActivityThread.java:8759)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)