Actions
bug #9096
closedLazyInitializationException (LIE) in DescriptionElementListController.getDescriptionElementsForTaxon()
Start date:
Due date:
% Done:
0%
Estimated time:
Severity:
critical
Found in Version:
Description
test link https://europlusmed.org/cdm_dataportal/taxon/7c8012f2-bbda-4e51-83cd-39a06994098c
08:42:18.346 [euromed] [qtp527446182-2488] INFO e.e.c.r.c.DescriptionElementListController - getDescriptionElementsForTaxon : POST: /euromed/portal/descriptionElement/byTaxon 08:42:18.522 [euromed] [qtp527446182-2484] INFO e.e.c.r.c.BaseListController - doGetDistributionInfo() - GET: /euromed/portal/description/distributionInfoFor/7c8012f2-bbda-4e51-83cd-39a06994098c?recipe=EuroPlusMed&statusOrderPreference=1&subAreaPreference=1&hiddenAreaMarkerType=e2b42891-aa85-4a09-981b-b7d8f5749c54%2C0318c67d-e323-4e9c-bffb-bc0c7f8f9f40&part=mapUriParams&part=condensedDistribution&part=tree&omitLevels= 38efa5fd-d7f0-451c-9de9-e6cce41e2225&statusColors=%7B%0D%0A++++%22p%22%3A+%22%239CDF00%22%2C%0D%0A++++%22n%22%3A+%22%23008000%22%2C%0D%0A++++%22nd%22%3A+%22%2300FF00%22%2C%0D%0A++++%22nq%22%3A+%22%2300c8b4%22%2C%0D%0A++++%22f%22%3A+%22%23FFFFFF%22%2C%0D%0A++++%22in%22%3A+%22%23C86400%22%2C%0D%0A++++%22i%22%3A+%22%23C89600%22%2C%0D%0A++++%22ip%22%3A+%22%23C89600%22%2C%0D%0A++++%22ia%22%3A+%22%23c8c800%22%2C%0D%0A++++%22 iq%22%3A+%22%23ffc896%22%2C%0D%0A++++%22c%22%3A+%22%23ffff00%22%0D%0A%7D 08:42:18.648 [euromed] [qtp527446182-2484] WARN o.h.e.i.StatefulPersistenceContext - HHH000179: Narrowing proxy to class eu.etaxonomy.cdm.model.agent.Person - this operation breaks == 08:42:18.739 [euromed] [qtp527446182-2484] WARN e.e.cdm.api.service.DistributionTree - area.partOf is NULL for Euro+Med, area is of type: class eu.etaxonomy.cdm.model.location.NamedArea_$$_jvst848_2e target object is class eu.etaxonomy.cdm.model.location.NamedArea 08:42:19.430 [euromed] [qtp527446182-2484] WARN e.e.cdm.servlet.DateHeaderFilter - Can not add data header. org.springframework.web.util.NestedServletException: Request processing failed; nested exception is net.sf.json.JSONException: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: eu.etaxonomy.cdm.model.agent.Team.teamMembers, could not initialize proxy - no Session Caused by: net.sf.json.JSONException: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: eu.etaxonomy.cdm.model.agent.Team.teamMembers, could not initialize proxy - no Session at net.sf.json.JSONObject._fromBean(JSONObject.java:692) at net.sf.json.JSONObject.fromObject(JSONObject.java:172) at eu.etaxonomy.cdm.remote.json.processor.bean.HibernateProxyBeanProcessor.processBean(HibernateProxyBeanProcessor.java:28) at net.sf.json.JSONObject._fromBean(JSONObject.java:676) at net.sf.json.JSONObject.fromObject(JSONObject.java:172) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274) at net.sf.json.JSONObject._processValue(JSONObject.java:2655) at net.sf.json.JSONObject.processValue(JSONObject.java:2721) at net.sf.json.JSONObject.element(JSONObject.java:1786) at eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor.processBean(AbstractBeanProcessor.java:149) at net.sf.json.JSONObject._fromBean(JSONObject.java:676) at net.sf.json.JSONObject.fromObject(JSONObject.java:172) at eu.etaxonomy.cdm.remote.json.processor.bean.HibernateProxyBeanProcessor.processBean(HibernateProxyBeanProcessor.java:28) at net.sf.json.JSONObject._fromBean(JSONObject.java:676) at net.sf.json.JSONObject.fromObject(JSONObject.java:172) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274) at net.sf.json.JSONObject._processValue(JSONObject.java:2655) at net.sf.json.JSONObject.processValue(JSONObject.java:2721) at net.sf.json.JSONObject.setInternal(JSONObject.java:2736) at net.sf.json.JSONObject.setValue(JSONObject.java:1424) at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:765) at net.sf.json.JSONObject._fromBean(JSONObject.java:699) at net.sf.json.JSONObject.fromObject(JSONObject.java:172) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274) at net.sf.json.JSONArray._processValue(JSONArray.java:2513) at net.sf.json.JSONArray.processValue(JSONArray.java:2538) at net.sf.json.JSONArray.addValue(JSONArray.java:2525) at net.sf.json.JSONArray._fromCollection(JSONArray.java:1056) at net.sf.json.JSONArray.fromObject(JSONArray.java:123) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:240) at net.sf.json.JSONObject._processValue(JSONObject.java:2655) at net.sf.json.JSONObject.processValue(JSONObject.java:2721) at net.sf.json.JSONObject.element(JSONObject.java:1786) at eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor.processBean(AbstractBeanProcessor.java:151) at net.sf.json.JSONObject._fromBean(JSONObject.java:676) at net.sf.json.JSONObject.fromObject(JSONObject.java:172) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274) at net.sf.json.JSONArray._processValue(JSONArray.java:2513) at net.sf.json.JSONArray.processValue(JSONArray.java:2538) at net.sf.json.JSONArray.addValue(JSONArray.java:2525) at net.sf.json.JSONArray._fromCollection(JSONArray.java:1056) at net.sf.json.JSONArray.fromObject(JSONArray.java:123) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:240) at net.sf.json.JSONObject._processValue(JSONObject.java:2655) at net.sf.json.JSONObject.processValue(JSONObject.java:2721) at net.sf.json.JSONObject.element(JSONObject.java:1786) at eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor.processBean(AbstractBeanProcessor.java:153) at net.sf.json.JSONObject._fromBean(JSONObject.java:676) at net.sf.json.JSONObject.fromObject(JSONObject.java:172) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274) at net.sf.json.JSONArray._processValue(JSONArray.java:2513) at net.sf.json.JSONArray.processValue(JSONArray.java:2538) at net.sf.json.JSONArray.addValue(JSONArray.java:2525) at net.sf.json.JSONArray._fromCollection(JSONArray.java:1056) at net.sf.json.JSONArray.fromObject(JSONArray.java:123) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:240) at net.sf.json.JSONObject._processValue(JSONObject.java:2655) at net.sf.json.JSONObject.processValue(JSONObject.java:2721) at net.sf.json.JSONObject.element(JSONObject.java:1786) at eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor.processBean(AbstractBeanProcessor.java:151) at net.sf.json.JSONObject._fromBean(JSONObject.java:676) at net.sf.json.JSONObject.fromObject(JSONObject.java:172) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274) at net.sf.json.JSONArray._processValue(JSONArray.java:2513) at net.sf.json.JSONArray.processValue(JSONArray.java:2538) at net.sf.json.JSONArray.addValue(JSONArray.java:2525) at net.sf.json.JSONArray._fromCollection(JSONArray.java:1056) at net.sf.json.JSONArray.fromObject(JSONArray.java:123) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:240) at net.sf.json.JSONObject._processValue(JSONObject.java:2655) at net.sf.json.JSONObject.processValue(JSONObject.java:2721) at net.sf.json.JSONObject.element(JSONObject.java:1786) at eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor.processBean(AbstractBeanProcessor.java:151) at net.sf.json.JSONObject._fromBean(JSONObject.java:676) at net.sf.json.JSONObject.fromObject(JSONObject.java:172) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274) at net.sf.json.JSONObject._processValue(JSONObject.java:2655) at net.sf.json.JSONObject.processValue(JSONObject.java:2721) at net.sf.json.JSONObject.setInternal(JSONObject.java:2736) at net.sf.json.JSONObject.setValue(JSONObject.java:1424) at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:765) at net.sf.json.JSONObject._fromBean(JSONObject.java:699) at net.sf.json.JSONObject.fromObject(JSONObject.java:172) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274) at net.sf.json.JSONObject._processValue(JSONObject.java:2655) at net.sf.json.JSONObject.processValue(JSONObject.java:2721) at net.sf.json.JSONObject.setInternal(JSONObject.java:2736) at net.sf.json.JSONObject.setValue(JSONObject.java:1424) at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:765) at net.sf.json.JSONObject._fromBean(JSONObject.java:699) at net.sf.json.JSONObject.fromObject(JSONObject.java:172) at eu.etaxonomy.cdm.remote.view.JsonView.render(JsonView.java:128) at eu.etaxonomy.cdm.remote.view.JsonView.render(JsonView.java:188) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1243) at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1027) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:971) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969) ... 80 common frames omitted Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: eu.etaxonomy.cdm.model.agent.Team.teamMembers, could not initialize proxy - no Session at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:567) at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:205) at org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:546) at org.hibernate.collection.internal.AbstractPersistentCollection.read(AbstractPersistentCollection.java:133) at org.hibernate.collection.internal.PersistentList.iterator(PersistentList.java:132) at eu.etaxonomy.cdm.strategy.cache.agent.TeamDefaultCacheStrategy.getNomenclaturalTitle(TeamDefaultCacheStrategy.java:82) at eu.etaxonomy.cdm.strategy.cache.agent.TeamDefaultCacheStrategy.getNomenclaturalTitle(TeamDefaultCacheStrategy.java:1) at eu.etaxonomy.cdm.model.agent.Team.getNomenclaturalTitle(Team.java:270) at eu.etaxonomy.cdm.remote.json.processor.bean.TeamOrPersonBaseBeanProcessor.processBeanSecondStep(TeamOrPersonBaseBeanProcessor.java:40) at eu.etaxonomy.cdm.remote.json.processor.bean.TeamOrPersonBaseBeanProcessor.processBeanSecondStep(TeamOrPersonBaseBeanProcessor.java:22) at eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor.processBean(AbstractBeanProcessor.java:167) at net.sf.json.JSONObject._fromBean(JSONObject.java:676) ... 177 common frames omitted
Related issues
Updated by Andreas Kohlbecker over 3 years ago
- Subject changed from LazyInitializationException (LIE) in to LazyInitializationException (LIE) in getDescriptionElementsForTaxon()
Updated by Andreas Kohlbecker over 3 years ago
- Subject changed from LazyInitializationException (LIE) in getDescriptionElementsForTaxon() to LazyInitializationException (LIE) in DescriptionElementListController.getDescriptionElementsForTaxon()
Updated by Andreas Kohlbecker over 3 years ago
- Related to bug #9095: LazyInitializationException (LIE) in portal/description/distributionInfoFor/{uuid} added
Updated by Andreas Kohlbecker over 3 years ago
- Related to bug #7331: AdvancedBeanInitializer fails to initialize properties of preinitialized beans in the graph in very special situations added
Updated by Andreas Kohlbecker over 3 years ago
- Related to deleted (bug #9095: LazyInitializationException (LIE) in portal/description/distributionInfoFor/{uuid})
Updated by Andreas Kohlbecker over 3 years ago
- Is duplicate of bug #9095: LazyInitializationException (LIE) in portal/description/distributionInfoFor/{uuid} added
Updated by Andreas Kohlbecker over 3 years ago
- Status changed from New to Duplicate
- Target version deleted (
Release 5.18)
Updated by Andreas Kohlbecker over 3 years ago
- Related to deleted (bug #7331: AdvancedBeanInitializer fails to initialize properties of preinitialized beans in the graph in very special situations)
Actions