Friday, November 21, 2014

Re: GWT 2.0.3 migration issue => java.lang.AssertionError: Not enough methods, expecting 3 saw 2

Hi, I have the same problem. what did you do?

Thanks.

El miércoles, 19 de mayo de 2010 19:49:46 UTC+2, lmolinero escribió:
Hi, I've run into a problem after migrating form GWT 1.7 to GWT 2.0.3

one of my rpc is failling in 2.0.3 and throwing this:


java.lang.AssertionError: Not enough methods, expecting 3 saw 2
    at
com.google.gwt.user.client.rpc.impl.SerializerBase.check(SerializerBase.java:
165)
    at
com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java:
145)
    at .........

this is my rcp:

Service Method
public void asignarCuentas(List<Long> usuarios, HashMap<Long,String>
gestiones)

Async Service Method
public void asignarCuentas(List<Long> usuarios, HashMap<Long,String>
gestiones, AsyncCallback callback)

Service Implementation Method
public void asignarCuentas(List<Long> usuarios, HashMap<Long,String>
gestiones){
// some code
}

can anyone explain me what that assertion error means?

thanks



--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@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.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment