sinanselimoglu / geocoder-java

Automatically exported from code.google.com/p/geocoder-java
1 stars 0 forks source link

Problems Getting Lat and Lng #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I only want to get Lat and Lng so I do this:

What steps will reproduce the problem?
1. Declare a Class GeoAddressService and LatLng variable
2. Assign the value geoAddressService.getLatLngPointsByAddress("Paris, France") 
to the LatLng variable

What is the expected output? What do you see instead?
I expect to receive the Lat and Lng from the address but instead I receive a 
NullPointerException in the line 32

What version of the product are you using? On what operating system?
Is the 0.15 version

Please provide any additional information below.
When I only use the geocoder.geocode(geocoderRequest); method it works fine but 
then I use the getLatLngPointsByAddress method and it throws me a exception.

Original issue reported on code.google.com by Chuasupo...@gmail.com on 11 Jun 2013 at 12:35