Runtime Error, Attempt To invoke Virtual Method

Getting Error

“Attempt to invoke virtual method ‘’ on a null object reference”
I have stored users Latitude And Longitude in TinyDB and When I call them it Gets The Right Value But Not Working
Here Are My Blocks

In order to update marker you have to added first or else will throw an exception


1 Like

how add a marker??

1 Like

I tried this but still not working

Finally I Solved With This Blocks

And @dora_paz This Also Helped Me.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.