08/04/2021, 12:40 PM
this is the exception
08/04/2021, 12:50 PM
Let's use this thread so we won't derail the channel.
It looks like your method is returning null. Are you checking if the object shouldnt return null?
08/04/2021, 12:52 PM
Okay, thank you
No I didn't check that
Do you think there's an error here?
This is the method that's supposed to return the object, I'm trying to avoid returning a future
08/04/2021, 12:56 PM
I doubt if it works.
Try printing to see if user is returned.
Don't hook it with the UI yet.
First of all make sure the user is returned.
08/04/2021, 12:59 PM
Okay I just tried that and so far, it gets the user within the then block but doesn't return it
And returning within the then block is not executing