Project

General

Profile

bug #6317

LIE during request to portal/taxon/find.json

Added by Andreas Kohlbecker almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
New
Category:
cdmlib-remote
Target version:
Start date:
01/09/2017
Due date:
% Done:

100%

Severity:
normal
Found in Version:
Tags:

Description

http://api.cybertaxonomy.org/salvador/portal/taxon/find.json?doTaxaByCommonNames=1&doMisappliedNames=1&doSynonyms=1&doTaxa=1&pageNumber=0&pageSize=25&query=Tecoma&tree=b010c84d-6049-45f4-9f13-c065101eaa26

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.getTitleCache(TeamDefaultCacheStrategy.java:89)
    at eu.etaxonomy.cdm.strategy.cache.agent.TeamDefaultCacheStrategy.getTitleCache(TeamDefaultCacheStrategy.java:1)
    at eu.etaxonomy.cdm.model.common.IdentifiableEntity.generateTitle(IdentifiableEntity.java:677)
    at eu.etaxonomy.cdm.model.agent.Team.getTitleCache(Team.java:301)
    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:23)
    at eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor.processBean(AbstractBeanProcessor.java:168)
    at net.sf.json.JSONObject._fromBean(JSONObject.java:676)

Related issues

Related to Edit - bug #4377: LazyInitializationException (LIE) related to Team.teamMembers when calling portal/taxon.json Closed 08/28/2014

Associated revisions

Revision 79902c85 (diff)
Added by Andreas Kohlbecker almost 2 years ago

fix #6317 fixing LIE related to inReference author teams

History

#1 Updated by Andreas Kohlbecker almost 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#2 Updated by Andreas Kohlbecker almost 2 years ago

  • Related to bug #4377: LazyInitializationException (LIE) related to Team.teamMembers when calling portal/taxon.json added

#3 Updated by Andreas Kohlbecker almost 2 years ago

  • Related to deleted (bug #4377: LazyInitializationException (LIE) related to Team.teamMembers when calling portal/taxon.json)

#4 Updated by Andreas Kohlbecker almost 2 years ago

  • Duplicates bug #4377: LazyInitializationException (LIE) related to Team.teamMembers when calling portal/taxon.json added

#5 Updated by Andreas Kohlbecker almost 2 years ago

  • Duplicates deleted (bug #4377: LazyInitializationException (LIE) related to Team.teamMembers when calling portal/taxon.json)

#6 Updated by Andreas Kohlbecker almost 2 years ago

  • Related to bug #4377: LazyInitializationException (LIE) related to Team.teamMembers when calling portal/taxon.json added

#7 Updated by Andreas Kohlbecker almost 2 years ago

  • Status changed from Resolved to Closed

#8 Updated by Andreas Müller over 1 year ago

  • % Done changed from 50 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)