Owd-Larrd / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

ClassCastException width CustomGeocodeCache #400

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release:
1.1.0
Detailed description:
I'm trying to extend the CustomGeocodeCache class to suport LatLng caching 
instead of address string caching, so I implemented my own class overriding 
only the put and get methods in this way:
public void put(LatLng point,
                com.google.gwt.core.client.JavaScriptObject reply){...}
. Later, when I call to geocoder.getLocations() from my code 
(MapSelectorWidget.java), I get the attached exception. I'm confused, because 
the exception it isn't on my cache class, but I don't know if is my fault or 
not.

Thanks!

Workaround if you have one:

Links to the relevant GWT Developer Forum posts:

Original issue reported on code.google.com by gotu...@gmail.com on 15 Jul 2010 at 5:04

Attachments:

GoogleCodeExporter commented 9 years ago
From what I can see, this is just a problem of your JSNI code returning the 
wrong type from what is specified in your java syntax.  Please reserve the 
issue tracker for bugs and feature requests.  Post to the gwt-google-apis group 
for help with your projects.

Original comment by zundel@google.com on 15 Jul 2010 at 5:20