Project

General

Profile

Actions

bug #9482

closed

NameTypeDesignationEditor: designationReference --> new causes LIE

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

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

100%

Estimated time:
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 publishedUnitClosedAndreas Kohlbecker

Actions
Actions #1

Updated by Andreas Kohlbecker almost 2 years ago

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

Updated by Andreas Kohlbecker almost 2 years 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)
Actions #3

Updated by Andreas Kohlbecker almost 2 years 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

Actions #4

Updated by Andreas Kohlbecker almost 2 years ago

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

Updated by Andreas Kohlbecker almost 2 years ago

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

Also available in: Atom PDF