Re: Sporadic errors during compilation, Checking type argument 0 of type 'java.util.Arrays.ArrayList, no default constructor.

2013-03-28 Thread MarDeMar
Finally I find the solution! In my dto I declared a property of type class X in which I declared an enum in this manner: public enum Type { SHORT (S), MEDIUM (M), LONG (L); private String code; private Type(String code) { this.code = code; } public String

Re: Sporadic errors during compilation, Checking type argument 0 of type 'java.util.Arrays.ArrayList, no default constructor.

2013-03-21 Thread MarDeMar
Unfortunately even this is not the solution! I confirm that the behavior of the gwt compiler seems to be rather random. Currently I only note that making a gwt compile only after a complete maven clean, it seems that it fixes the problem. Anyone has the same problem? Marcello De Marco Il giorno

Re: Sporadic errors during compilation, Checking type argument 0 of type 'java.util.Arrays.ArrayList, no default constructor.

2013-03-20 Thread MarDeMar
ERRATA CORRIGE The solution for me is more trivial than it seemed. I had this error using bean with a list property not initialized. For example: public class Order implements Serializable { private ListItem items; ... } Simply initializing the list property the error disappears: public

Re: Sporadic errors during compilation, Checking type argument 0 of type 'java.util.Arrays.ArrayList, no default constructor.

2012-03-06 Thread Dan
Sorry for the delay in thanking you for your reply. I understand that Objects cannot be serialized, which is why I can't understand the error message. Some more information: DeviceConfiguration is has a generic type, T, which extends DeviceProperty which is an interface. The definition of the

Re: Sporadic errors during compilation, Checking type argument 0 of type 'java.util.Arrays.ArrayList, no default constructor.

2012-02-27 Thread Thomas Broyer
On Sunday, February 26, 2012 2:22:47 AM UTC+1, Dan wrote: [WARN] Checking all subtypes of Object which qualify for serialization This is your problem. See http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes -- You received this