Hi,
I experience a strange phenomenon with Picasa Web API 1.40. I am using
the PicasawebClient to retrieve photos. First time it works fine.
However EVERY SECOND TRY I get a NullPointerException:
Caused by: java.lang.NullPointerException
at com.google.gdata.wireformats.AltRegistry.lookupType
(AltRegistry.java:190)
at com.google.gdata.client.Service.parseResponseData(Service.java:
2000)
at com.google.gdata.client.Service.getFeed(Service.java:1074)
at com.google.gdata.client.Service.getFeed(Service.java:936)
at com.google.gdata.client.GoogleService.getFeed
(GoogleService.java:631)
at com.google.gdata.client.Service.getFeed(Service.java:955)
After debugging it I found out that in line 2000 of class Service
inputFormat = altRegistry.lookupType(inputProperties.getContentType
());
--> inputProperties.getContentType() returns null!
Obviously this is not expected behaviour. Can someone tell me what is
happening here? Why does it only work on first try and never again??
--
You received this message because you are subscribed to the Google Groups
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-picasa-data-api?hl=en.