java.lang.ExceptionInInitializerError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.ExceptionInInitializerError: null at com.avaje.ebean.dbmigration.DbMigration.setDefaults(DbMigration.java:471) at com.avaje.ebean.dbmigration.DbMigration.generateMigration(DbMigration.java:211) at com.mycompany.commons.persistence.dbmigration.MainDbMigration.main(MainDbMigration.java:88) Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Property id not found in [contact, standard, phoneNumber] for type class com .mycompany.customer.contactphone.ContactPhone at com.avaje.ebean.Ebean$ServerManager.<init>(Ebean.java:170) at com.avaje.ebean.Ebean$ServerManager.<init>(Ebean.java:130) at com.avaje.ebean.Ebean.<clinit>(Ebean.java:124) ... 3 more Caused by: java.lang.IllegalStateException: Property id not found in [ contact, standard, phoneNumber] for type class com.mycompany.customer. contactphone.ContactPhone at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.setBeanReflect(BeanDescriptorManager.java:1340) at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.createByteCode(BeanDescriptorManager.java:1287) at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.readDeployAssociations(BeanDescriptorManager.java:1205) at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.readEntityDeploymentAssociations(BeanDescriptorManager.java:709) at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.deploy(BeanDescriptorManager.java:319) at com.avaje.ebeaninternal.server.core.InternalConfiguration.<init>(InternalConfiguration.java:135) at com.avaje.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:115) at com.avaje.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:75) at com.avaje.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:42) at com.avaje.ebean.EbeanServerFactory.create(EbeanServerFactory.java:55) at com.avaje.ebean.Ebean$ServerManager.getWithCreate(Ebean.java:207) at com.avaje.ebean.Ebean$ServerManager.<init>(Ebean.java:165) ... 5 more

Users with the same issue

Unknown visitor1 times, last one,