Project

General

Profile

bug #8013

LazyInitializationException (LIE) in RegistrationDTO.makeBibliographicCitationStrings

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

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

100%

Severity:
normal
Found in Version:
Tags:

Description

http://test.e-taxonomy.eu/cdmserver/phycobank/app/registration#!workingset/4e40184e-815c-4fd2-abe1-570040dde8ef

  • Referenz vorhanden
  • Existing name ausgewählt
  • Einfacher Klick auf „Existing name“
  • Der Fehler war mit verschiedenen Workingsets reproduzierbar, mit derselben Fehlermeldung auch nach Abmelden und wieder anmelden (war als Curator drin).

Fehlermeldung:

org.hibernate.LazyInitializationException: could not initialize proxy - no Session
               at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:148)
               at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:266)
               at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:68)
               at eu.etaxonomy.cdm.model.reference.Reference_$$_jvst98f_26.getTitle(Reference_$$_jvst98f_26.java)
               at eu.etaxonomy.cdm.strategy.cache.reference.TitleWithoutYearAndAuthorHelper.getTitleWithoutYearAndAuthorArticle(TitleWithoutYearAndAuthorHelper.java:87)
               at eu.etaxonomy.cdm.strategy.cache.reference.TitleWithoutYearAndAuthorHelper.getTitleWithoutYearAndAuthor(TitleWithoutYearAndAuthorHelper.java:55)
               at eu.etaxonomy.cdm.strategy.cache.reference.DefaultReferenceCacheStrategy.getTitleWithoutYearAndAuthor(DefaultReferenceCacheStrategy.java:502)
               at eu.etaxonomy.cdm.strategy.cache.reference.DefaultReferenceCacheStrategy.getTitleCache(DefaultReferenceCacheStrategy.java:120)
               at eu.etaxonomy.cdm.strategy.cache.reference.DefaultReferenceCacheStrategy.getTitleCache(DefaultReferenceCacheStrategy.java:1)
               at eu.etaxonomy.cdm.model.common.IdentifiableEntity.generateTitle(IdentifiableEntity.java:607)
               at eu.etaxonomy.cdm.model.reference.Reference.generateTitle(Reference.java:853)
               at eu.etaxonomy.cdm.api.service.dto.RegistrationDTO.makeBibliographicCitationStrings(RegistrationDTO.java:363)
               at eu.etaxonomy.cdm.api.service.dto.RegistrationDTO.<init>(RegistrationDTO.java:144)
               at eu.etaxonomy.cdm.vaadin.view.registration.RegistrationWorkingsetPresenter.onRegistrationWorkflowEventActionStart(RegistrationWorkingsetPresenter.java:576)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


Related issues

Duplicated by Edit - bug #8038: NullPointerException when accessing newly created workingset Duplicate 01/30/2019

Associated revisions

Revision b3031a24 (diff)
Added by Andreas Kohlbecker 11 months ago

ref #8013 proper loading of reference to be used in RegistrationDTO constructor

History

#1 Updated by Andreas Kohlbecker 11 months ago

  • Target version changed from CDM UML 5.5 to Release 5.5

#2 Updated by Andreas Kohlbecker 11 months ago

  • Status changed from New to Closed
  • Assignee changed from Andreas Kohlbecker to Wolf-Henning Kusber
  • % Done changed from 0 to 100

#3 Updated by Andreas Kohlbecker 11 months ago

  • Assignee changed from Wolf-Henning Kusber to Andreas Kohlbecker

#4 Updated by Andreas Kohlbecker 11 months ago

  • Duplicated by bug #8038: NullPointerException when accessing newly created workingset added

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)