java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.avaje.ebean.bean.BeanCollection

Google Groups | Thorsten Knöller | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ClassCastExceptino BeanCollection

    Google Groups | 8 months ago | Thorsten Knöller
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.avaje.ebean.bean.BeanCollection

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.ArrayList cannot be cast to com.avaje.ebean.bean.BeanCollection

      at com.avaje.ebeaninternal.server.deploy.BeanPropertyAssocMany.resetMany()
    2. avaje-ebeanorm
      Model.refresh
      1. com.avaje.ebeaninternal.server.deploy.BeanPropertyAssocMany.resetMany(BeanPropertyAssocMany.java:273)
      2. com.avaje.ebeaninternal.server.deploy.BeanDescriptor.resetManyProperties(BeanDescriptor.java:2092)
      3. com.avaje.ebeaninternal.server.core.DefaultBeanLoader.refreshBeanInternal(DefaultBeanLoader.java:325)
      4. com.avaje.ebeaninternal.server.core.DefaultBeanLoader.refresh(DefaultBeanLoader.java:236)
      5. com.avaje.ebeaninternal.server.core.DefaultServer.refresh(DefaultServer.java:455)
      6. com.avaje.ebean.Model.refresh(Model.java:313)
      6 frames