SilverHoodCorp / gdata-java-client

Automatically exported from code.google.com/p/gdata-java-client
Apache License 2.0
0 stars 0 forks source link

getLocationAttributeAsObject: null pointer #183

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This error appears sporadically while downloading a feed (sorry, I can't
figure out how to reproduce it):

java.lang.NullPointerException: address cannot be null
    at com.google.api.gbase.client.Location.setAddress(Location.java:139)
    at com.google.api.gbase.client.Location.<init>(Location.java:37)
    at
com.google.api.gbase.client.ConversionUtil.extractLocation(ConversionUtil.java:4
62)
    at
com.google.api.gbase.client.GoogleBaseAttributesExtension.getLocationAttributeAs
Object(GoogleBaseAttributesExtension.java:1461)

From looking at the source code, it seems like there's a
GoogleBaseAttribute which is not null, but returns null for
getValueAsString(). 

gdata client 1.34.0
Java 1.6
Linux

Original issue reported on code.google.com by mbaranczak@gmail.com on 3 Sep 2009 at 10:04