javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Could not set field value [TS time:Mon Jun 27 16:46:59 CEST 2016 inc:83] value by reflection : [class com.energielibre.middleware.service.mongodatalayergeneric.beans.EnlFluxF12Entry.sysReadDateTime] setter of com.energielibre.middleware.service.mongodatalayergeneric.beans.EnlFluxF12Entry.sysReadDateTime

Stack Overflow | Med Besbes | 2 weeks ago
  1. 0
    Check your annotations to use the proper table and column names.
  2. 0

    hibernate ogm mongodb Timestamp

    Stack Overflow | 2 weeks ago | Med Besbes
    javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Could not set field value [TS time:Mon Jun 27 16:46:59 CEST 2016 inc:83] value by reflection : [class com.energielibre.middleware.service.mongodatalayergeneric.beans.EnlFluxF12Entry.sysReadDateTime] setter of com.energielibre.middleware.service.mongodatalayergeneric.beans.EnlFluxF12Entry.sysReadDateTime
  3. 0

    Hibernate Community • View topic - NamedQueries are not supported

    hibernate.org | 1 year ago
    javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: could not set a field value by reflection setter of com.test.entity.model.user.User.id
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate JPA Persist

    Stack Overflow | 2 years ago | Softengilker
    javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: could not get a field value by reflection getter of com.ilkerkonar.applications.schoolproject.orm.model.SchoolClass.id
  6. 0

    PropertyAccessException from Hibernate during persist

    Stack Overflow | 10 months ago | l4mpi
    javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: could not get a field value by reflection getter of com.eclipselink.bug.TestEntity.id
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Can not set java.util.Date field com.energielibre.middleware.service.mongodatalayergeneric.beans.EnlFluxF12Entry.sysReadDateTime to org.bson.types.BSONTimestamp

    at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException()
  2. Java RT
    Field.set
    1. sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167)
    2. sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171)
    3. sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:81)
    4. java.lang.reflect.Field.set(Field.java:764)
    4 frames
  3. org.hibernate.property
    SetterFieldImpl.set
    1. org.hibernate.property.access.spi.SetterFieldImpl.set(SetterFieldImpl.java:38)
    1 frame
  4. Hibernate
    TwoPhaseLoad.initializeEntity
    1. org.hibernate.tuple.entity.AbstractEntityTuplizer.setPropertyValues(AbstractEntityTuplizer.java:607)
    2. org.hibernate.tuple.entity.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:220)
    3. org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:4573)
    4. org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:172)
    5. org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:128)
    5 frames
  5. Hibernate Object Grid Mapper
    OgmLoader.load
    1. org.hibernate.ogm.loader.impl.OgmLoader.initializeEntitiesAndCollections(OgmLoader.java:812)
    2. org.hibernate.ogm.loader.impl.OgmLoader.doQuery(OgmLoader.java:393)
    3. org.hibernate.ogm.loader.impl.OgmLoader.doQueryAndInitializeNonLazyCollections(OgmLoader.java:283)
    4. org.hibernate.ogm.loader.impl.OgmLoader.loadEntity(OgmLoader.java:201)
    5. org.hibernate.ogm.loader.impl.OgmLoader.load(OgmLoader.java:157)
    6. org.hibernate.ogm.loader.impl.OgmLoader.load(OgmLoader.java:149)
    6 frames
  6. org.hibernate.ogm
    DynamicBatchingEntityLoaderBuilder$DynamicBatchingEntityLoader.load
    1. org.hibernate.ogm.loader.entity.impl.DynamicBatchingEntityLoaderBuilder$DynamicBatchingEntityLoader.load(DynamicBatchingEntityLoaderBuilder.java:116)
    1 frame
  7. Hibernate
    SessionDelegatorBaseImpl.get
    1. org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3956)
    2. org.hibernate.event.internal.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:508)
    3. org.hibernate.event.internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:478)
    4. org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:219)
    5. org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:278)
    6. org.hibernate.event.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java:121)
    7. org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:89)
    8. org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1129)
    9. org.hibernate.internal.SessionImpl.access$2600(SessionImpl.java:164)
    10. org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.load(SessionImpl.java:2696)
    11. org.hibernate.internal.SessionImpl.get(SessionImpl.java:975)
    12. org.hibernate.engine.spi.SessionDelegatorBaseImpl.get(SessionDelegatorBaseImpl.java:630)
    12 frames
  8. org.hibernate.jpa
    AbstractEntityManagerImpl.find
    1. org.hibernate.jpa.spi.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:1075)
    2. org.hibernate.jpa.spi.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:1033)
    2 frames
  9. Hibernate Object Grid Mapper
    OgmEntityManager.find
    1. org.hibernate.ogm.jpa.impl.OgmEntityManager.find(OgmEntityManager.java:97)
    1 frame
  10. com.energielibre.middleware
    Tester.main
    1. com.energielibre.middleware.service.mongodatalayergeneric.Tester.main(Tester.java:30)
    1 frame