Closed kwoot closed 6 years ago
Bugzilla Comment ID: 222 Date: 2009-11-25 19:50:55 From: Oscar González \<ogonzalez@igalia.com>
Could not reproduce, but doing changes to ensuring it can't happen: commit c99c0b0acad7cf8a01340a246b2aa2bc1ba49f89 Author: Ãscar González Fernández ogonzalez@igalia.com Date: Wed Nov 25 19:46:17 2009 +0100
ItEr36S07ValidacionEProbasFuncionaisItEr35S08: [Bug #100] Avoiding LazyInitializationException ensuring that the AggregatedHours' properties being shown are already loaded.
Bugzilla Comment ID: 220 Date: 2009-11-25 14:16:12 From: Xavi Castaño \<xcastanho@igalia.com>
11; U; Linux x86_64; en-GB; rv:1.9.0.13) Gecko/2009080317 Ubuntu/8.04 (hardy) Firefox/3.0.13"
1709674 [Thread-22] ERROR org.hibernate.LazyInitializationException - could not initialize proxy - no Session
org.hibernate.LazyInitializationException: could not initialize proxy - no Session
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:57)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:150)
at org.navalplanner.business.resources.entities.Criterion$$EnhancerByCGLIB$$e4bb4adc.getName(
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:57) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:150) at org.navalplanner.business.resources.entities.Criterion$$EnhancerByCGLIB$$e4bb4adc.getName(
) at org.navalplanner.business.orders.entities.AggregatedHoursGroup.asNames(AggregatedHoursGroup.java:112) ... 1709713 [1946510873@qtp-74017119-10] ERROR org.navalplanner.web.error.PageForErrorOnEvent - could not initialize proxy - no Session org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:57) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:150) at org.navalplanner.business.resources.entities.Criterion$$EnhancerByCGLIB$$e4bb4adc.getName( ) at org.navalplanner.business.orders.entities.AggregatedHoursGroup.asNames(AggregatedHoursGroup.java:112) at org.navalplanner.business.orders.entities.AggregatedHoursGroup.getCriterionsJoinedByComma(AggregatedHoursGroup.java:104) at org.navalplanner.web.planner.allocation.ResourceAllocationController$HoursRendererColumn$1.cell(ResourceAllocationController.java:174) at org.navalplanner.web.planner.allocation.ResourceAllocationController$1.cellFor(ResourceAllocationController.java:197) at org.navalplanner.web.planner.allocation.ResourceAllocationController$1.cellFor(ResourceAllocationController.java:191) at org.zkoss.ganttz.timetracker.OnColumnsRowRenderer.render(OnColumnsRowRenderer.java:119) at org.zkoss.zul.Grid$Renderer.render(Grid.java:1072) at org.zkoss.zul.Grid.onInitRender(Grid.java:960) at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:209) 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: 225 Date: 2009-11-25 21:17:31 From: Oscar González \<ogonzalez@igalia.com>
It wasn't really solved. Now I could reproduce and fix it.
commit adc7c7fc71d53ce8e3836b66b15920b49b2d96a4 Author: Ãscar González Fernández ogonzalez@igalia.com Date: Wed Nov 25 21:13:24 2009 +0100
ItEr36S07ValidacionEProbasFuncionaisItEr35S08: [Bug #100] Reattaching the criterions associated to the hours groups was also needed
(Original Bugzilla Bug ID: 100)
Date: 2009-11-25 14:16:12 From: Xavi Castaño \<xcastanho@igalia.com> To: Javier Morán \<jmoran@igalia.com> Version: navalplan-1.0 (1.0.x) Last updated: 2011-01-18 17:53:55
(Note: this issue was migrated automatically with bugzilla2github.py tool )