Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Thrown to indicate that a method has been passed an illegal or inappropriate argument. Make sure your getter and setter methods have the same return/parameter types (that is, String for String, Integer for Integer).

Solutions on the web

via GitHub by vwilliam
, 1 year ago
Error accessing field [protected java.lang.String org.friends.app.model.Place$PlacePK.occupationDate] by reflection for persistent property [org.friends.app.model.Place$PlacePK#occupationDate] : Place [placeNumber=141, usedBy=null, occupationDate=2016-07-22]
via Stack Overflow by Arthur
, 1 year ago
Error accessing field [private java.lang.String centaurus.domain.Player.email] by reflection for persistent property [centaurus.domain.Player#email] : centaurus.domain.Player@507b79f7
via Hibernate JIRA by Tony, 5 months ago
Error accessing field [private java.lang.Integer com.techprimers.jpa.springjpahibernateexample.model.Users.id] by reflection for persistent property [com.techprimers.jpa.springjpahibernateexample.model.Users#id] : cbfaed14-bb65-11e7-abc4-cec278b6b50a
via Hibernate JIRA by kostd, 1 year ago
Error accessing field [private java.lang.Long ru.argustelecom.system.personal.model.WorksiteWorkerPK.workerId] by reflection for persistent property [ru.argustelecom.system.personal.model.WorksiteWorkerPK#workerId] : ru.argustelecom.system.personal.model.WorksiteWorkerPK@e0b06848
via Stack Overflow by Jown
, 1 month ago
Error accessing field [private java.util.Date my.entity.AnotherObjectPK.reportDate] by reflection for persistent property [my.entity.AnotherObjectPK#reportDate] : null
via Hibernate JIRA by Giovanni Lovato, 1 year ago
Error accessing field [private java.lang.String MyEmbeddableId.foo] by reflection for persistent property [MyEmbeddableId#foo] : MyEmbeddableId@33675787
java.lang.IllegalArgumentException: Can not set java.lang.String field org.friends.app.model.Place$PlacePK.occupationDate to org.friends.app.model.Place	at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)	at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)	at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)	at sun.reflect.UnsafeObjectFieldAccessorImpl.get(Unknown Source)	at java.lang.reflect.Field.get(Unknown Source)	at org.hibernate.property.access.spi.GetterFieldImpl.get(GetterFieldImpl.java:67)	at org.hibernate.tuple.component.AbstractComponentTuplizer.getPropertyValue(AbstractComponentTuplizer.java:58)	at org.hibernate.tuple.component.AbstractComponentTuplizer.getPropertyValues(AbstractComponentTuplizer.java:64)	at org.hibernate.tuple.component.PojoComponentTuplizer.getPropertyValues(PojoComponentTuplizer.java:95)	at org.hibernate.type.ComponentType.getPropertyValues(ComponentType.java:438)	at org.hibernate.type.ComponentType.nullSafeGetValues(ComponentType.java:379)	at org.hibernate.type.ComponentType.nullSafeSet(ComponentType.java:332)	at org.hibernate.param.NamedParameterSpecification.bind(NamedParameterSpecification.java:53)	at org.hibernate.hql.internal.ast.exec.BasicExecutor.doExecute(BasicExecutor.java:82)	at org.hibernate.hql.internal.ast.exec.BasicExecutor.execute(BasicExecutor.java:59)	at org.hibernate.hql.internal.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:429)	at org.hibernate.engine.query.spi.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:374)	at org.hibernate.internal.SessionImpl.executeUpdate(SessionImpl.java:1471)	at org.hibernate.query.internal.AbstractProducedQuery.doExecuteUpdate(AbstractProducedQuery.java:1428)	at org.hibernate.query.internal.AbstractProducedQuery.executeUpdate(AbstractProducedQuery.java:1406)	at org.friends.app.dao.PlaceDao.update(PlaceDao.java:34)	at org.friends.app.service.impl.PlaceServiceBean.book(PlaceServiceBean.java:109)	at org.friends.app.view.route.BookRoute.doHandle(BookRoute.java:47)	at org.friends.app.view.route.AuthenticatedRoute.handle(AuthenticatedRoute.java:26)	at spark.TemplateViewRouteImpl$1.handle(TemplateViewRouteImpl.java:66)	at spark.webserver.MatcherFilter.doFilter(MatcherFilter.java:162)	at spark.servlet.SparkFilter.doFilter(SparkFilter.java:122)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670)	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Unknown Source)