bug #9949
Updated by Andreas Müller about 2 years ago
Caused by collectorTitleCache creation
Example pages:
https://efloramex.ib.unam.mx/cdm_dataportal/taxon/0a279351-c222-4281-a825-10ba0d3a0ff3
https://efloramex.ib.unam.mx/cdm_dataportal/taxon/d32160d9-6ad9-4e43-95f3-f3b481feaed9
Example webservice:
https://132.248.13.83/cdmserver/cdm_flora_mexico/portal/taxon/d32160d9-6ad9-4e43-95f3-f3b481feaed9/synonymy.json
~~~
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:584)
at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:201)
at org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:145)
at org.hibernate.collection.internal.PersistentList.size(PersistentList.java:113)
at eu.etaxonomy.cdm.strategy.cache.agent.TeamDefaultCacheStrategy.getCache(TeamDefaultCacheStrategy.java:174)
at eu.etaxonomy.cdm.strategy.cache.agent.TeamDefaultCacheStrategy.getCollectorTitleCache(TeamDefaultCacheStrategy.java:167)
at eu.etaxonomy.cdm.strategy.cache.agent.TeamDefaultCacheStrategy.getCollectorTitleCache(TeamDefaultCacheStrategy.java:1)
at eu.etaxonomy.cdm.model.agent.Team.getCollectorTitleCache(Team.java:359)
... 145 common frames omitted
~~~