SHARE
TWEET

Untitled

a guest Aug 13th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Root cause:
  2.  
  3. java.lang.IllegalArgumentException: Can not set java.lang.Long field its.fractal.entity.Project.idProject to java.util.ArrayList
  4. at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146)
  5. at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150)
  6. at java.lang.reflect.Field.get(Field.java:358)
  7. at org.hibernate.property.DirectPropertyAccessor$DirectGetter.get(DirectPropertyAccessor.java:32)
  8. at org.hibernate.tuple.entity.AbstractEntityTuplizer.getIdentifier(AbstractEntityTuplizer.java:183)
  9. at org.hibernate.persister.entity.AbstractEntityPersister.getIdentifier(AbstractEntityPersister.java:3539)
  10. at org.hibernate.persister.entity.AbstractEntityPersister.isTransient(AbstractEntityPersister.java:3255)
  11. at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:181)
  12. at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:218)
  13. at org.hibernate.type.EntityType.getIdentifier(EntityType.java:397)
  14. at org.hibernate.type.ManyToOneType.nullSafeSet(ManyToOneType.java:87)
  15. at org.hibernate.param.PositionalParameterSpecification.bind(PositionalParameterSpecification.java:39)
  16. at org.hibernate.loader.hql.QueryLoader.bindParameterValues(QueryLoader.java:503)
  17. at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1554)
  18. at org.hibernate.loader.Loader.doQuery(Loader.java:661)
  19. at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
  20. at org.hibernate.loader.Loader.doList(Loader.java:2211)
  21. at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2095)
  22. at org.hibernate.loader.Loader.list(Loader.java:2090)
  23. at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:388)
  24. at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
  25. at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
  26. at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
  27. at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  28. at org.springframework.orm.hibernate3.HibernateTemplate$33.doInHibernate(HibernateTemplate.java:948)
  29. at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:374)
  30. at org.springframework.orm.hibernate3.HibernateTemplate.findByNamedQuery(HibernateTemplate.java:939)
  31. at its.fractal.hibernate.UserHibernateDao.getActivityByUserAndDateInterval(UserHibernateDao.java:148)
  32. at java.lang.reflect.Method.invoke(Method.java:597)
  33. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
  34. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
  35. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
  36. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
  37. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
  38. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  39. at $Proxy27.getActivityByUserAndDateInterval(Unknown Source)
  40. at java.lang.reflect.Method.invoke(Method.java:597)
  41. at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416)
  42. at org.apache.wicket.proxy.$Proxy78.getActivityByUserAndDateInterval(Unknown Source)
  43. at its.fractal.admin.StatisticUsers$SubmitCalendarButton.onSubmit(StatisticUsers.java:203)
  44. at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1561)
  45. at org.apache.wicket.markup.html.form.Form.process(Form.java:958)
  46. at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:920)
  47. at java.lang.reflect.Method.invoke(Method.java:597)
  48. at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:182)
  49. at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
  50. at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
  51. at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
  52. at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
  53. at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
  54. at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
  55. at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
  56. at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
  57. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
  58. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  59. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
  60. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  61. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
  62. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
  63. at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
  64. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
  65. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:383)
  66. at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
  67. at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
  68. at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)
  69. at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  70. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  71. at java.lang.Thread.run(Thread.java:662)
  72.  
  73. Complete stack:
  74.  
  75. org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = formDate]] threw an exception
  76. at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:193)
  77. at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
  78. at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
  79. at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
  80. at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
  81. at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
  82. at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
  83. at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
  84.  
  85. java.lang.reflect.InvocationTargetException
  86. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  87. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  88. at java.lang.reflect.Method.invoke(Method.java:597)
  89. at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:182)
  90. at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
  91. at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
  92. at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
  93. at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
  94. at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
  95. at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
  96. at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
  97.  
  98. org.springframework.orm.hibernate3.HibernateSystemException: could not get a field value by reflection getter of its.fractal.entity.Project.idProject; nested exception is org.hibernate.PropertyAccessException: could not get a field value by reflection getter of its.fractal.entity.Project.idProject
  99. at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:661)
  100. at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
  101. at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:379)
  102. at org.springframework.orm.hibernate3.HibernateTemplate.findByNamedQuery(HibernateTemplate.java:939)
  103. at its.fractal.hibernate.UserHibernateDao.getActivityByUserAndDateInterval(UserHibernateDao.java:148)
  104. at java.lang.reflect.Method.invoke(Method.java:597)
  105. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
  106. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
  107. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
  108. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
  109. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
  110. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  111. at $Proxy27.getActivityByUserAndDateInterval(Unknown Source)
  112. at java.lang.reflect.Method.invoke(Method.java:597)
  113. at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416)
  114. at org.apache.wicket.proxy.$Proxy78.getActivityByUserAndDateInterval(Unknown Source)
  115. at its.fractal.admin.StatisticUsers$SubmitCalendarButton.onSubmit(StatisticUsers.java:203)
  116. at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1561)
  117. at org.apache.wicket.markup.html.form.Form.process(Form.java:958)
  118. at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:920)
  119. at java.lang.reflect.Method.invoke(Method.java:597)
  120. at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:182)
  121. at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
  122. at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
  123. at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
  124. at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
  125. at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
  126. at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
  127. at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
  128.  
  129. org.hibernate.PropertyAccessException: could not get a field value by reflection getter of its.fractal.entity.Project.idProject
  130. at org.hibernate.property.DirectPropertyAccessor$DirectGetter.get(DirectPropertyAccessor.java:35)
  131. at org.hibernate.tuple.entity.AbstractEntityTuplizer.getIdentifier(AbstractEntityTuplizer.java:183)
  132. at org.hibernate.persister.entity.AbstractEntityPersister.getIdentifier(AbstractEntityPersister.java:3539)
  133. at org.hibernate.persister.entity.AbstractEntityPersister.isTransient(AbstractEntityPersister.java:3255)
  134. at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:181)
  135. at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:218)
  136. at org.hibernate.type.EntityType.getIdentifier(EntityType.java:397)
  137. at org.hibernate.type.ManyToOneType.nullSafeSet(ManyToOneType.java:87)
  138. at org.hibernate.param.PositionalParameterSpecification.bind(PositionalParameterSpecification.java:39)
  139. at org.hibernate.loader.hql.QueryLoader.bindParameterValues(QueryLoader.java:503)
  140. at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1554)
  141. at org.hibernate.loader.Loader.doQuery(Loader.java:661)
  142. at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
  143. at org.hibernate.loader.Loader.doList(Loader.java:2211)
  144. at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2095)
  145. at org.hibernate.loader.Loader.list(Loader.java:2090)
  146. at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:388)
  147. at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
  148. at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
  149. at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
  150. at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  151. at org.springframework.orm.hibernate3.HibernateTemplate$33.doInHibernate(HibernateTemplate.java:948)
  152. at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:374)
  153. at org.springframework.orm.hibernate3.HibernateTemplate.findByNamedQuery(HibernateTemplate.java:939)
  154. at its.fractal.hibernate.UserHibernateDao.getActivityByUserAndDateInterval(UserHibernateDao.java:148)
  155. at java.lang.reflect.Method.invoke(Method.java:597)
  156. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
  157. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
  158. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
  159. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
  160. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
  161. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  162. at $Proxy27.getActivityByUserAndDateInterval(Unknown Source)
  163. at java.lang.reflect.Method.invoke(Method.java:597)
  164. at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416)
  165. at org.apache.wicket.proxy.$Proxy78.getActivityByUserAndDateInterval(Unknown Source)
  166. at its.fractal.admin.StatisticUsers$SubmitCalendarButton.onSubmit(StatisticUsers.java:203)
  167. at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1561)
  168. at org.apache.wicket.markup.html.form.Form.process(Form.java:958)
  169. at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:920)
  170. at java.lang.reflect.Method.invoke(Method.java:597)
  171. at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:182)
  172. at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
  173. at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
  174. at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
  175. at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
  176. at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
  177. at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
  178. at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top