2 Replies Latest reply on Jun 28, 2012 10:00 AM by Jonathan Fuerth

    Error generating marshallers: Cannot convert from List to ArrayList<Something>

    navigateur Newbie

      For every "ArrayList" variable I'm using in a @Portable class, I'm getting:

       

      {code}

      37. ERROR in C:\Users\admin\AppData\Local\Temp\errai\7c2aa826f82ceab411fec8e8a739446fbc592f2afe682331fe9ed5ee771\errai.marshalling\gen\org\jboss\errai\marshalling\server\impl\ServerMarshallingFactoryImpl.java (at line 438)

                entity.relatedStatements = java_util_ArrayList.demarshall(obj.get("relatedStatements"), a1);

                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

      Type mismatch: cannot convert from List to ArrayList<Id>

      {code}

       

      How do I make it work?