{"action":"created","issue":{"url":"https://api.github.com/repos/lefevre00/parking/issues/103","repository_url":"https://api.github.com/repos/lefevre00/parking","labels_url":"https://api.github.com/repos/lefevre00/parking/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/lefevre00/parking/issues/103/comments","events_url":"https://api.github.com/repos/lefevre00/parking/issues/103/events","html_url":"https://github.com/lefevre00/parking/issues/103","id":166920448,"number":103,"title":"Mode Standalone / Erreur sauvegarde lors de la réservation d'une place","user":{"login":"vwilliam","id":11461653,"avatar_url":"https://avatars.githubusercontent.com/u/11461653?v=3","gravatar_id":"","url":"https://api.github.com/users/vwilliam","html_url":"https://github.com/vwilliam","followers_url":"https://api.github.com/users/vwilliam/followers","following_url":"https://api.github.com/users/vwilliam/following{/other_user}","gists_url":"https://api.github.com/users/vwilliam/gists{/gist_id}","starred_url":"https://api.github.com/users/vwilliam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vwilliam/subscriptions","organizations_url":"https://api.github.com/users/vwilliam/orgs","repos_url":"https://api.github.com/users/vwilliam/repos","events_url":"https://api.github.com/users/vwilliam/events{/privacy}","received_events_url":"https://api.github.com/users/vwilliam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-21T21:19:58Z","updated_at":"2016-08-23T15:59:04Z","closed_at":null,"body":"Hibernate: update PLACES set EMAIL_OCCUPANT=? where (OCCUPATION_DATE, ID)=(?, ?)\r\n[http-nio-8080-exec-8] ERROR spark.webserver.MatcherFilter -\r\norg.hibernate.property.access.spi.PropertyAccessException: 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]\r\n        at org.hibernate.property.access.spi.GetterFieldImpl.get(GetterFieldImpl.java:71)\r\n        at org.hibernate.tuple.component.AbstractComponentTuplizer.getPropertyValue(AbstractComponentTuplizer.java:58)\r\n        at org.hibernate.tuple.component.AbstractComponentTuplizer.getPropertyValues(AbstractComponentTuplizer.java:64)\r\n        at org.hibernate.tuple.component.PojoComponentTuplizer.getPropertyValues(PojoComponentTuplizer.java:95)\r\n        at org.hibernate.type.ComponentType.getPropertyValues(ComponentType.java:438)\r\n        at org.hibernate.type.ComponentType.nullSafeGetValues(ComponentType.java:379)\r\n        at org.hibernate.type.ComponentType.nullSafeSet(ComponentType.java:332)\r\n        at org.hibernate.param.NamedParameterSpecification.bind(NamedParameterSpecification.java:53)\r\n        at org.hibernate.hql.internal.ast.exec.BasicExecutor.doExecute(BasicExecutor.java:82)\r\n        at org.hibernate.hql.internal.ast.exec.BasicExecutor.execute(BasicExecutor.java:59)\r\n        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:429)\r\n        at org.hibernate.engine.query.spi.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:374)\r\n        at org.hibernate.internal.SessionImpl.executeUpdate(SessionImpl.java:1471)\r\n        at org.hibernate.query.internal.AbstractProducedQuery.doExecuteUpdate(AbstractProducedQuery.java:1428)\r\n        at org.hibernate.query.internal.AbstractProducedQuery.executeUpdate(AbstractProducedQuery.java:1406)\r\n        at org.friends.app.dao.PlaceDao.update(PlaceDao.java:34)\r\n        at org.friends.app.service.impl.PlaceServiceBean.book(PlaceServiceBean.java:109)\r\n        at org.friends.app.view.route.BookRoute.doHandle(BookRoute.java:47)\r\n        at org.friends.app.view.route.AuthenticatedRoute.handle(AuthenticatedRoute.java:26)\r\n        at spark.TemplateViewRouteImpl$1.handle(TemplateViewRouteImpl.java:66)\r\n        at spark.webserver.MatcherFilter.doFilter(MatcherFilter.java:162)\r\n        at spark.servlet.SparkFilter.doFilter(SparkFilter.java:122)\r\n        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)\r\n        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)\r\n        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)\r\n        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)\r\n        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)\r\n        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)\r\n        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)\r\n        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)\r\n        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)\r\n        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)\r\n        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)\r\n        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670)\r\n        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)\r\n        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n        at java.lang.Thread.run(Unknown Source)\r\nCaused by: java.lang.IllegalArgumentException: Can not set java.lang.String field org.friends.app.model.Place$PlacePK.occupationDate to org.friends.app.model.Place\r\n        at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)\r\n        at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)\r\n        at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)\r\n        at sun.reflect.UnsafeObjectFieldAccessorImpl.get(Unknown Source)\r\n        at java.lang.reflect.Field.get(Unknown Source)\r\n        at org.hibernate.property.access.spi.GetterFieldImpl.get(GetterFieldImpl.java:67)\r\n        ... 39 more\r\n"},"comment":{"url":"https://api.github.com/repos/lefevre00/parking/issues/comments/241782908","html_url":"https://github.com/lefevre00/parking/issues/103#issuecomment-241782908","issue_url":"https://api.github.com/repos/lefevre00/parking/issues/103","id":241782908,"user":{"login":"vwilliam","id":11461653,"avatar_url":"https://avatars.githubusercontent.com/u/11461653?v=3","gravatar_id":"","url":"https://api.github.com/users/vwilliam","html_url":"https://github.com/vwilliam","followers_url":"https://api.github.com/users/vwilliam/followers","following_url":"https://api.github.com/users/vwilliam/following{/other_user}","gists_url":"https://api.github.com/users/vwilliam/gists{/gist_id}","starred_url":"https://api.github.com/users/vwilliam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vwilliam/subscriptions","organizations_url":"https://api.github.com/users/vwilliam/orgs","repos_url":"https://api.github.com/users/vwilliam/repos","events_url":"https://api.github.com/users/vwilliam/events{/privacy}","received_events_url":"https://api.github.com/users/vwilliam/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T15:59:04Z","updated_at":"2016-08-23T15:59:04Z","body":"Nouveau message d'erreur suite à l'installation de la version standalone :\r\n\r\norg.springframework.orm.hibernate5.HibernateSystemException: getNamedQuery is not valid without active transaction; nested exception is org.hibernate.HibernateException: getNamedQuery is not valid without active transaction\r\n        at org.springframework.orm.hibernate5.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:258)\r\n        at org.springframework.orm.hibernate5.HibernateExceptionTranslator.convertHibernateAccessException(HibernateExceptionTranslator.java:57)\r\n        at org.springframework.orm.hibernate5.HibernateExceptionTranslator.translateExceptionIfPossible(HibernateExceptionTranslator.java:44)\r\n        at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:59)\r\n        at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213)\r\n        at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:147)\r\n        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)\r\n        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)\r\n        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)\r\n        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)\r\n        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)\r\n        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)\r\n        at org.friends.app.dao.impl.UserSessionDaoImpl$$EnhancerBySpringCGLIB$$db73cfde.findByCookie(<generated>)\r\n        at org.friends.app.service.impl.UserServiceBean.findUserByCookie(UserServiceBean.java:87)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:498)\r\n        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)\r\n        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)\r\n        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)\r\n        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)\r\n        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)\r\n        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)\r\n        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)\r\n        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)\r\n        at com.sun.proxy.$Proxy102.findUserByCookie(Unknown Source)\r\n        at org.friends.app.view.route.AuthenticatedRoute.checkAuthenticated(AuthenticatedRoute.java:44)\r\n        at org.friends.app.view.route.AuthenticatedRoute.handle(AuthenticatedRoute.java:25)\r\n        at spark.TemplateViewRouteImpl$1.handle(TemplateViewRouteImpl.java:66)\r\n        at spark.webserver.MatcherFilter.doFilter(MatcherFilter.java:162)\r\n        at spark.servlet.SparkFilter.doFilter(SparkFilter.java:122)\r\n        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)\r\n        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\r\n        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)\r\n        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)\r\n        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)\r\n        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)\r\n        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)\r\n        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)\r\n        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)\r\n        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)\r\n        at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:827)\r\n        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)\r\n        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)\r\n        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n        at java.lang.Thread.run(Thread.java:745)\r\nCaused by: org.hibernate.HibernateException: getNamedQuery is not valid without active transaction\r\n        at org.hibernate.context.internal.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:334)\r\n        at com.sun.proxy.$Proxy103.getNamedQuery(Unknown Source)\r\n        at org.friends.app.dao.impl.UserSessionDaoImpl.findByCookie(UserSessionDaoImpl.java:43)\r\n        at org.friends.app.dao.impl.UserSessionDaoImpl$$FastClassBySpringCGLIB$$868a5ea9.invoke(<generated>)\r\n        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)\r\n        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)\r\n        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)\r\n        at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)\r\n        ... 44 more\r\n^C\r\n"}}
{"actor":{"display_login":"vwilliam"}}