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
martedì 19 marzo 2013 23:55:29 UTC+1, MarDeMar ha scritto: 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

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