org.hibernate.PropertyAccessException: could not get a field value by reflection getter of com....Account.code

Hibernate JIRA | Donnchadh O Donnabhain | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0
  2. 0

    Root Cause Analysis

    1. org.hibernate.PropertyAccessException

      could not get a field value by reflection getter of com....Account.code

      at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException()
    2. Java RT
      Field.get
      1. sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:164)
      2. sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:168)
      3. sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:55)
      4. sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:36)
      5. java.lang.reflect.Field.get(Field.java:379)
      5 frames
    3. Hibernate
      DefaultLoadEventListener.doLoad
      1. org.hibernate.property.DirectPropertyAccessor$DirectGetter.get(DirectPropertyAccessor.java:57)
      2. org.hibernate.tuple.entity.AbstractEntityTuplizer.getPropertyValue(AbstractEntityTuplizer.java:631)
      3. org.hibernate.persister.entity.AbstractEntityPersister.getPropertyValue(AbstractEntityPersister.java:4731)
      4. org.hibernate.engine.internal.StatefulPersistenceContext$1.extractNaturalIdValues(StatefulPersistenceContext.java:1875)
      5. org.hibernate.event.internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:471)
      5 frames