Android Question Error In SupaBase Example Chat App

AmirPYTHON

Member
Hi Guys!
After Click On room Name I See This Error:


supabase_authentication_filluserobject (java line: 180)
java.lang.RuntimeException: Object should first be initialized (Map).
at anywheresoftware.b4a.AbsObjectWrapper.getObject(AbsObjectWrapper.java:67)
at anywheresoftware.b4a.objects.collections.Map.ContainsKey(Map.java:130)
at com.stoltex.supachat.supabase_authentication._filluserobject(supabase_authentication.java:180)
at com.stoltex.supachat.supabase_authentication$ResumableSub_GetUser.resume(supabase_authentication.java:720)
at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:275)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:215)
at anywheresoftware.b4a.keywords.Common$12.run(Common.java:1212)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:7948)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1075)




 

Alexander Stolte

Expert
Licensed User
Longtime User
I can't recreate it in B4A, please make sure you have the latest supabase version (V1.26+)

And make sure that you have implemented all points in the realtime tutorial:
you can also set the following after the initialization, important information can then be included in the log:
B4X:
xSupabase.LogEvents = True
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
read the supabase docs:
supabase also has its own youtube channel where things are explained, other youtubers have also uploaded exciting videos, just search for them.
 
Upvote 0

Similar Threads

Top