Closed kwoot closed 6 years ago
Bugzilla Comment ID: 597 Date: 2010-01-19 18:12:54 From: Javier Morán \<jmoran@igalia.com>
With the attached dump the report "scheduling order" on asking it for report "5º release desenvolvemento aplicacion xestion producion" it is produced the following error:
478875 [Thread-29] ERROR org.hibernate.LazyInitializationException - failed to lazily initialize a collection of role: org.navalplanner.business.orders.entities.TaskSource.hoursGroups, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.navalplanner.business.orders.entities.TaskSource.hoursGroups, no session or session was closed
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350)
at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:343)
at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86)
at org.hibernate.collection.PersistentSet.iterator(PersistentSet.java:163)
at org.navalplanner.business.orders.entities.TaskSource.getTotalHours(TaskSource.java:334)
at org.navalplanner.business.planner.entities.TaskElement.getWorkHours(TaskElement.java:97)
at org.navalplanner.business.planner.entities.Task.getHoursSpecifiedAtOrder(Task.java:107)
at org.navalplanner.business.reports.dtos.SchedulingProgressPerOrderDTO.getHoursSpecifiedAtOrder(SchedulingProgressPerOrderDTO.java:147)
at org.navalplanner.business.reports.dtos.SchedulingProgressPerOrderDTO.
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358) at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350) at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:343) at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) at org.hibernate.collection.PersistentSet.iterator(PersistentSet.java:163) ... 478912 [897908616@qtp-243010881-9] ERROR org.navalplanner.web.error.PageForErrorOnEvent - failed to lazily initialize a collection of role: org.navalplanner.business.orders.entities.TaskSource.hoursGroups, no session or session was closed org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.navalplanner.business.orders.entities.TaskSource.hoursGroups, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358) at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350) at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:343) at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) at org.hibernate.collection.PersistentSet.iterator(PersistentSet.java:163) at org.navalplanner.business.orders.entities.TaskSource.getTotalHours(TaskSource.java:334) at org.navalplanner.business.planner.entities.TaskElement.getWorkHours(TaskElement.java:97) at org.navalplanner.business.planner.entities.Task.getHoursSpecifiedAtOrder(Task.java:107) at org.navalplanner.business.reports.dtos.SchedulingProgressPerOrderDTO.getHoursSpecifiedAtOrder(SchedulingProgressPerOrderDTO.java:147) at org.navalplanner.business.reports.dtos.SchedulingProgressPerOrderDTO.
(SchedulingProgressPerOrderDTO.java:98) at org.navalplanner.web.reports.SchedulingProgressPerOrderModel.getSchedulingProgressPerOrderReport(SchedulingProgressPerOrderModel.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy100.getSchedulingProgressPerOrderReport(Unknown Source) at org.navalplanner.web.reports.SchedulingProgressPerOrderController.getDataSource(SchedulingProgressPerOrderController.java:84) at org.navalplanner.web.reports.NavalplannerReportController.showReport(NavalplannerReportController.java:59) at org.navalplanner.web.reports.SchedulingProgressPerOrderController.showReport(SchedulingProgressPerOrderController.java:189) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at bsh.Reflect.invokeMethod(Unknown Source) at bsh.Reflect.invokeObjectMethod(Unknown Source) at bsh.Name.invokeMethod(Unknown Source) at bsh.BSHMethodInvocation.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at org.zkoss.zk.scripting.bsh.BSHInterpreter.exec(BSHInterpreter.java:119) at org.zkoss.zk.scripting.util.GenericInterpreter.interpret(GenericInterpreter.java:310) at org.zkoss.zk.ui.impl.PageImpl.interpret(PageImpl.java:787) at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:176) at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141) at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:493) at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:425)
Bugzilla Comment ID: 598 Date: 2010-01-19 18:13:49 From: Javier Morán \<jmoran@igalia.com>
Attached file: dump.sql File description: database dump
(Original Bugzilla Bug ID: 250)
Date: 2010-01-19 18:12:54 From: Javier Morán \<jmoran@igalia.com> To: Susana \<smpedreira@gmail.com> Version: navalplan-1.0 (1.0.x) Last updated: 2011-01-18 17:51:14
(Note: this issue was migrated automatically with bugzilla2github.py tool )