Any idea why my app crashes when calling `fetchHea...
# android
j
Any idea why my app crashes when calling
fetchHeartbeat()
in my
MapsActivity.kt
t
Could you also post the stacktrace related to the crash ?
p
Because an Exception is thrown 🧌
🤣 2
j
Its weird android studio didn't print any info regarding the crash 😕
p
Maybe you didn't set the log filter in logcat correctly?
j
Screenshot from 2019-12-03 16-56-15.png
t
You should have more output by removing your filter, unchecking the "Regex" box and selecting "Only the current application" in the right combo box
r
are you sure that
heartbeatModel.lat/lng
are not null?
j
Still getting an error
@roland i just logged my latlng and they are not null
I think the problem is when im adding marker to my maps
Silly mistake, im toasting the thrown exception. Changed it to log and viola! App is working thank you everyone!