Project

General

Profile

bug #9482

NameTypeDesignationEditor: designationReference --> new causes LIE

Added by Andreas Kohlbecker 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Highest
Category:
cdm-vaadin
Target version:
Start date:
02/25/2021
Due date:
% Done:

100%

Severity:
normal
Found in Version:
Tags:

Description

in some cases creating new reference is blocked by a

org.hibernate.LazyInitializationException: could not initialize proxy - no Session
    at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:147)
    at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:260)
    at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:73)
    at eu.etaxonomy.cdm.model.reference.Reference_$$_jvst50b_2c.getType(Reference_$$_jvst50b_2c.java)
    at eu.etaxonomy.cdm.format.reference.ReferenceEllypsisFormatter.entityEllypsis(ReferenceEllypsisFormatter.java:111)
    at eu.etaxonomy.cdm.format.reference.ReferenceEllypsisFormatter.entityEllypsis(ReferenceEllypsisFormatter.java:198)
    at eu.etaxonomy.cdm.format.reference.ReferenceEllypsisFormatter.entityEllypsis(ReferenceEllypsisFormatter.java:1)
    at eu.etaxonomy.cdm.format.AbstractEllypsisFormatter.ellypsis(AbstractEllypsisFormatter.java:32)
    at eu.etaxonomy.cdm.vaadin.util.ReferenceEllypsisCaptionGenerator.getCaption(ReferenceEllypsisCaptionGenerator.java:46)
    at eu.etaxonomy.cdm.vaadin.util.ReferenceEllypsisCaptionGenerator.getCaption(ReferenceEllypsisCaptionGenerator.java:1)
    at org.vaadin.viritin.fields.TypedSelect.getCaption(TypedSelect.java:311)

Related issues

Copied from Edit - bug #9480: SpecimenTypeDesignationEditor: designationReference --> new should be limited to sections of the publishedUnit Closed 02/25/2021

Associated revisions

Revision 5c297207 (diff)
Added by Andreas Kohlbecker 8 months ago

ref #9482 fixing init strategy for description source reference

Revision 53c22678 (diff)
Added by Andreas Kohlbecker 8 months ago

ref #9482 fixing init strategy for description source reference

History

#1 Updated by Andreas Kohlbecker 8 months ago

  • Copied from bug #9480: SpecimenTypeDesignationEditor: designationReference --> new should be limited to sections of the publishedUnit added

#2 Updated by Andreas Kohlbecker 8 months ago

  • Description updated (diff)

Currently creating new reference is blockes by a

org.hibernate.LazyInitializationException: could not initialize proxy - no Session
    at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:147)
    at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:260)
    at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:73)
    at eu.etaxonomy.cdm.model.reference.Reference_$$_jvst50b_2c.getType(Reference_$$_jvst50b_2c.java)
    at eu.etaxonomy.cdm.format.reference.ReferenceEllypsisFormatter.entityEllypsis(ReferenceEllypsisFormatter.java:111)
    at eu.etaxonomy.cdm.format.reference.ReferenceEllypsisFormatter.entityEllypsis(ReferenceEllypsisFormatter.java:198)
    at eu.etaxonomy.cdm.format.reference.ReferenceEllypsisFormatter.entityEllypsis(ReferenceEllypsisFormatter.java:1)
    at eu.etaxonomy.cdm.format.AbstractEllypsisFormatter.ellypsis(AbstractEllypsisFormatter.java:32)
    at eu.etaxonomy.cdm.vaadin.util.ReferenceEllypsisCaptionGenerator.getCaption(ReferenceEllypsisCaptionGenerator.java:46)
    at eu.etaxonomy.cdm.vaadin.util.ReferenceEllypsisCaptionGenerator.getCaption(ReferenceEllypsisCaptionGenerator.java:1)
    at org.vaadin.viritin.fields.TypedSelect.getCaption(TypedSelect.java:311)

#3 Updated by Andreas Kohlbecker 8 months ago

  • Subject changed from NameTypeDesignationEditor: designationReference --> new should be limited to sections of the publishedUnit to NameTypeDesignationEditor: designationReference --> new casuses LIE
  • Description updated (diff)

limitation works already, only the LIE is a problem

#4 Updated by Andreas Kohlbecker 8 months ago

  • Subject changed from NameTypeDesignationEditor: designationReference --> new casuses LIE to NameTypeDesignationEditor: designationReference --> new causes LIE
  • Description updated (diff)

#5 Updated by Andreas Kohlbecker 8 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)