Thursday, October 4, 2012

ClassCastException from Map update in iOS6

Hello, 

So, as many people have experienced, some of our apps stop working on iOS6.  We are seeing ClassCastException from Cookie.isCookieEnabled(). After some debugging,  I found the exception is actually thrown by the line of code:

          m.@java.util.Map::put(Ljava/lang/Object;Ljava/lang/Object;)(name,value);

in Cookie.loadCookies method.  I can consistently reproduce the issue in UIWebView (iPad), but intermittently in Safari.  Here is the best part: the issue does not occur when I connect to it with Safari's remote debugging.  So I had to isolate the root cause with fair amount of window.alert.

We are using GWT 2.4.0.

Has anyone seen this issue?

Thanks

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/G6_3y8DatIUJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment