I have a problem with a piece of code.
I am trying to initialize a variable Coordinates with Latitude and Longitude and all the time I'm getting NullPointerException error and I have no idea why.
where lat and lon are 2 double values.
Do you have any idea why?
Thank you very much