i checked out version 2.3 & patched it  manually (n1 & 2), recompile gwt &
redeploy.

got this exception:

May 11, 2011 3:49:21 PM
com.google.web.bindery.requestfactory.server.RequestFactoryServlet doPost
SEVERE: Unexpected error
java.lang.ClassCastException: java.lang.ref.WeakReference cannot be cast to
com.google.web.bindery.autobean.shared.AutoBean
        at
com.google.web.bindery.autobean.shared.AutoBeanUtils.getAutoBean(AutoBeanUtils.java:218)
        at
com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl.tryExtractSplittable(AutoBeanCodexImpl.java:600)
        at
com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$CollectionCoder.extractSplittable(AutoBeanCodexImpl.java:173)
        at
com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.setProperty(AbstractAutoBean.java:277)
        at
com.google.web.bindery.autobean.vm.impl.ProxyAutoBean.setProperty(ProxyAutoBean.java:226)
        at
com.google.web.bindery.autobean.vm.impl.BeanMethod$3.invoke(BeanMethod.java:103)
        at
com.google.web.bindery.autobean.vm.impl.SimpleBeanHandler.invoke(SimpleBeanHandler.java:46)
        at $Proxy7.setInvocationResults(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
com.google.web.bindery.autobean.vm.impl.ShimHandler.invoke(ShimHandler.java:86)
        at $Proxy7.setInvocationResults(Unknown Source)
        at
com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:229)
        at
com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:125)
        at
com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:118)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)


what did i miss ?

thanx



On Tue, May 10, 2011 at 3:09 PM, khiem nguyen <[email protected]> wrote:

> hi Thomas
> thanx for the quick answer.
> sorry for being a noop here but i i dont seem to be able to apply the patch
> n2 & 4, since the package-structure of the source ( from
>
> http://google-web-toolkit.googlecode.com/svn/trunk/ )
>
>
> is not  the same as in release version. just replace the built gwt-user.jar
> gave me exception (requestfactory not found), it's also at different package
> compare to the released version.
>
>
>
>
>
> On Mon, May 9, 2011 at 4:30 PM, Thomas Broyer <[email protected]> wrote:
>
>> Yes: http://code.google.com/p/google-web-toolkit/issues/detail?id=6193
>>
>> At the moment, because I haven't upgraded or GWT libraries for a while,
>> we're having a copy of WeakMapping (from the first patchset in the proposed
>> fix) in our sources, that happen to override GWT's one thanks to the order
>> they appear in the classpath. The issue hasn't appeared again yet, but we're
>> still only in the testing phase of our very first milestone.
>> That'd be great if you could test the proposed fix (to AutoBean rather
>> than WeakMapping) and comment back with your feedback, as I cannot upgrade
>> GWT for the time being.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" 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-web-toolkit?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-web-toolkit?hl=en.

Reply via email to