Project

General

Profile

Actions

bug #9387

closed

LazyInitializationException (LIE) in NameController.doGetTypeDesignationsInHomotypicalGroup()

Added by Andreas Kohlbecker almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib-remote
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Found in Version:

Description

doGetTypeDesignationsInHomotypicalGroup()GET: /cdmserver/greece_bupleurum_01_with_onthology/name/b0372cc9-cc9e-46c8-a673-5be8ad2206e3/typeDesignationsInHomotypicalGroup.json

Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: eu.etaxonomy.cdm.model.name.TypeDesignationBase.registrations, 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.initialize(AbstractPersistentCollection.java:563)
        at org.hibernate.collection.internal.AbstractPersistentCollection.read(AbstractPersistentCollection.java:132)
        at org.hibernate.collection.internal.PersistentSet.iterator(PersistentSet.java:163)
        at java.util.AbstractCollection.addAll(AbstractCollection.java:343)
        at eu.etaxonomy.cdm.remote.service.RegistrableEntityFilter.filterPublishedOnly(RegistrableEntityFilter.java:107)
        at eu.etaxonomy.cdm.remote.controller.NameController.doGetTypeDesignationsInHomotypicalGroup(NameController.java:191)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Actions #1

Updated by Andreas Kohlbecker almost 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50
Actions #2

Updated by Andreas Kohlbecker almost 2 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100
Actions

Also available in: Atom PDF