Zn2O / gwt-google-apis

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

DirectionResults.getPolyline() results in a ClassCastException #171

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release:
r782

Detailed description:
Calling the method DirectionResults.getPolyline() in the onSuccess()
callback is resulting in a CastClassException in hosted mode during unit
tests.

Workaround if you have one:
none known.

Links to the relevant GWT Developer Forum posts:

Original issue reported on code.google.com by galgwt.reviews@gmail.com on 12 Sep 2008 at 1:49

GoogleCodeExporter commented 9 years ago
getMarker results in a ClassCastException, too

Original comment by DennisK...@googlemail.com on 12 Sep 2008 at 6:39

GoogleCodeExporter commented 9 years ago

Original comment by mmendez+personal@google.com on 15 Sep 2008 at 1:35

GoogleCodeExporter commented 9 years ago
An update to my GWT trunk solved this issue in my environment.

Original comment by galgwt.reviews@gmail.com on 15 Sep 2008 at 5:51

GoogleCodeExporter commented 9 years ago
Same problem using latest GWT release (1.5.2) and revision 791 of gwt-maps.
It used to work with revision 3326 of GWT, but this new release messed things 
up.

Any prediction on when this will be fixed??

Original comment by vitor.tc...@gmail.com on 16 Sep 2008 at 3:16

GoogleCodeExporter commented 9 years ago
This issue seems to be the one that is tripping up getPolyline():

  http://code.google.com/p/google-web-toolkit/issues/detail?id=2841

This patch was committed to the GWT 1.5 branch a couple of weeks ago and has 
been
merged into the trunk as of this week:

r3612 | scottb@google.com | 2008-09-03 18:35:57 -0400 (Wed, 03 Sep 2008) | 5 li
nes

Fixes issue #2841; in hosted mode, JSNI refs to static methods could incorrectl
y resolve to the same-signature method in a super class.

Also in this patch, do not create entries for synthetic methods since they can 
potential conflict with real methods.

Review by: bobv, jat

--

Please go to the issue and 'star' it.  I'll update the issue to let folks know 
its
tripping us up.

Original comment by galgwt.reviews@gmail.com on 16 Sep 2008 at 10:07

GoogleCodeExporter commented 9 years ago
I have a patch out for review in the Google-Web-Tookit-Contributors group that 
adds a
Unit test for getPolyline and getMarkers().  It fixes the Marker issue, but I'm 
not
sure there's anything I can do for getPolyline() without the GWT core patch. for
issue 2841

Original comment by galgwt.reviews@gmail.com on 16 Sep 2008 at 10:10

GoogleCodeExporter commented 9 years ago
Patch out for review.

Original comment by galgwt.reviews@gmail.com on 16 Sep 2008 at 2:11

Attachments:

GoogleCodeExporter commented 9 years ago
Committed unit test and Marker fix as r797.

Original comment by galgwt.reviews@gmail.com on 17 Sep 2008 at 5:01

GoogleCodeExporter commented 9 years ago

Original comment by galgwt.reviews@gmail.com on 13 Oct 2008 at 8:54

GoogleCodeExporter commented 9 years ago

Original comment by galgwt.reviews@gmail.com on 11 Dec 2008 at 3:08

GoogleCodeExporter commented 9 years ago
Updating account names

Original comment by zundel@google.com on 21 Dec 2009 at 1:59