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

Google Groups | Thorsten Knöller | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ClassCastExceptino BeanCollection

    Google Groups | 11 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