bug #8911
LazyInitializationException (LIE) in portal/description/{uuid}
Status:
Closed
Priority:
Highest
Assignee:
Category:
cdmlib-remote
Target version:
Start date:
03/27/2020
Due date:
% Done:
100%
Severity:
normal
Found in Version:
Description
Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:148) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:266) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:68) at eu.etaxonomy.cdm.model.agent.TeamOrPersonBase_$$_jvst5ab_6e.getNomenclaturalTitle(TeamOrPersonBase_$$_jvst5ab_6e.java) at eu.etaxonomy.cdm.strategy.cache.name.TaxonNameDefaultCacheStrategy.getAuthorAndExAuthor(TaxonNameDefaultCacheStrategy.java:254) at eu.etaxonomy.cdm.strategy.cache.name.TaxonNameDefaultCacheStrategy.getNonCacheAuthorshipCache(TaxonNameDefaultCacheStrategy.java:196) at eu.etaxonomy.cdm.strategy.cache.name.TaxonNameDefaultCacheStrategy.getAuthorshipCache(TaxonNameDefaultCacheStrategy.java:170) at eu.etaxonomy.cdm.strategy.cache.name.TaxonNameDefaultCacheStrategy.getTaggedTitle(TaxonNameDefaultCacheStrategy.java:411) at eu.etaxonomy.cdm.model.name.TaxonName.getTaggedName(TaxonName.java:1477) at eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNameBeanProcessor.processBeanSecondStep(TaxonNameBeanProcessor.java:66) at eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNameBeanProcessor.processBeanSecondStep(TaxonNameBeanProcessor.java:25) at eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor.processBean(AbstractBeanProcessor.java:167) at net.sf.json.JSONObject._fromBean(JSONObject.java:676) ... 107 more
Related issues
Associated revisions
fix #8911 fixing initstrategy for Taxon Descriptions
History
#1 Updated by Andreas Kohlbecker 10 months ago
- Priority changed from New to Highest
#2 Updated by Andreas Kohlbecker 10 months ago
- Status changed from New to Resolved
- % Done changed from 0 to 50
Applied in changeset cdmlib|f4bffe1d71350100bb634d183424a441c3777530.
#3 Updated by Andreas Kohlbecker 10 months ago
- Assignee changed from Andreas Kohlbecker to Andreas Müller
please review
#4 Updated by Andreas Müller 10 months ago
- Status changed from Resolved to Feedback
- Assignee changed from Andreas Müller to Andreas Kohlbecker
The above link already works on production. Has this issue been hotfixed already?
#5 Updated by Andreas Müller 10 months ago
- % Done changed from 50 to 90
Andreas Müller wrote:
The above link already works on production. Has this issue been hotfixed already?
upps, no, this fix was on cdmlib so it can't be hotfixed yet.
So maybe the data has changed?
However, the fix seems to be correct so I think we can close the ticket.
Have you checked if there might be other init strategies which require the same hotfix (the issue might be caused by the fix for #8881)?
#6 Updated by Andreas Müller 10 months ago
- Related to bug #8881: Use pure last names (without initials) for in-references of taxon names added
#7 Updated by Andreas Kohlbecker 9 months ago
- Status changed from Feedback to Closed
- % Done changed from 90 to 100
there are no other suspect spots.