org.hibernate.property.access.spi.PropertyAccessException: Error accessing field [private java.util.Date centaurus.domain.User.created] by reflection for persistent property [centaurus.domain.User#created] : User{id=0, email='test', created=Wed Jun 08 13:06:53 BST 2016}

jakzaprogramowac.pl | 7 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

    Hibernate DAO setting object value as object

    Stack Overflow | 10 months ago | Arthur
    org.hibernate.property.access.spi.PropertyAccessException: Error accessing field [private java.util.Date centaurus.domain.User.created] by reflection for persistent property [centaurus.domain.User#created] : User{id=0, email='test', created=Wed Jun 08 13:06:53 BST 2016}
  2. 0

    NewTips | Hibernate DAO setting object value as object

    newtips.co | 9 months ago
    org.hibernate.property.access.spi.PropertyAccessException: Error accessing field [private java.util.Date centaurus.domain.User.created] by reflection for persistent property [centaurus.domain.User#created] : User{id=0, email='test', created=Wed Jun 08 13:06:53 BST 2016}
  3. 0

    Hibernate DAO setting object value as object,java,hibernate,reflection - jakzaprogramowac.pl

    jakzaprogramowac.pl | 7 months ago
    org.hibernate.property.access.spi.PropertyAccessException: Error accessing field [private java.util.Date centaurus.domain.User.created] by reflection for persistent property [centaurus.domain.User#created] : User{id=0, email='test', created=Wed Jun 08 13:06:53 BST 2016}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate trying to set field value to object

    Stack Overflow | 10 months ago | Arthur
    org.hibernate.property.access.spi.PropertyAccessException: Error accessing field [private java.lang.String centaurus.domain.Player.email] by reflection for persistent property [centaurus.domain.Player#email] : centaurus.domain.Player@507b79f7
  6. 0

    Exception saving product with custom attribute

    GitHub | 3 years ago | e-iceman
    java.lang.IllegalArgumentException: Can not set java.lang.Long field org.broadleafcommerce.core.catalog.domain.ProductAttributeImpl.id to java.lang.String
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 centaurus.domain.User.created to centaurus.domain.User

    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. org.hibernate.property
    GetterFieldImpl.getForInsert
    1. org.hibernate.property.access.spi.GetterFieldImpl.get(GetterFieldImpl.java:39)
    2. org.hibernate.property.access.spi.GetterFieldImpl.getForInsert(GetterFieldImpl.java:58)
    2 frames
  4. Hibernate
    SessionImpl.save
    1. org.hibernate.tuple.entity.AbstractEntityTuplizer.getPropertyValuesToInsert(AbstractEntityTuplizer.java:521)
    2. org.hibernate.tuple.entity.PojoEntityTuplizer.getPropertyValuesToInsert(PojoEntityTuplizer.java:228)
    3. org.hibernate.persister.entity.AbstractEntityPersister.getPropertyValuesToInsert(AbstractEntityPersister.java:4701)
    4. org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:254)
    5. org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:182)
    6. org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:113)
    7. org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:192)
    8. org.hibernate.event.internal.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:38)
    9. org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:177)
    10. org.hibernate.event.internal.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:32)
    11. org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:73)
    12. org.hibernate.internal.SessionImpl.fireSave(SessionImpl.java:682)
    13. org.hibernate.internal.SessionImpl.save(SessionImpl.java:674)
    14. org.hibernate.internal.SessionImpl.save(SessionImpl.java:669)
    14 frames
  5. centaurus.service.player
    PlayerDAOimpl.saveUser
    1. centaurus.service.player.PlayerDAOimpl.saveUser(PlayerDAOimpl.java:32)
    1 frame
  6. centaurus
    Dbmaintain.start
    1. centaurus.Dbmaintain.start(Dbmaintain.java:25)
    1 frame
  7. restx.factory
    Factory.start
    1. restx.factory.Factory.start(Factory.java:846)
    1 frame
  8. restx
    RestxMainRouterFactory.newInstance
    1. restx.RestxMainRouterFactory.build(RestxMainRouterFactory.java:450)
    2. restx.RestxMainRouterFactory.newInstance(RestxMainRouterFactory.java:70)
    2 frames
  9. restx.servlet
    RestxMainRouterServlet.init
    1. restx.servlet.RestxMainRouterServlet.init(RestxMainRouterServlet.java:74)
    1 frame
  10. Jetty
    AbstractLifeCycle.start
    1. org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:519)
    2. org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:331)
    3. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    4. org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:747)
    5. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
    6. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
    7. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
    8. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
    9. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    10. org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
    11. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    12. org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
    13. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    14. org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
    15. org.eclipse.jetty.server.Server.doStart(Server.java:277)
    16. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    16 frames
  11. restx.server
    JettyWebServer.startAndAwait
    1. restx.server.JettyWebServer.start(JettyWebServer.java:109)
    2. restx.server.JettyWebServer.startAndAwait(JettyWebServer.java:114)
    2 frames
  12. centaurus
    AppServer.main
    1. centaurus.AppServer.main(AppServer.java:30)
    1 frame