org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: br.gov.jfrj.siga.sr.model.SrItemConfiguracao.meuItemHistoricoSet, could not initialize proxy - no Session at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersist entCollection.java:569) at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentC ollection.java:188) at org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:548 ) at org.hibernate.collection.internal.AbstractPersistentCollection.read(AbstractPersistentCollection.java:126)

GitHub | rafaela00castro | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    SR: erro de LazyInitializationException ao fechar solicitação

    GitHub | 8 months ago | rafaela00castro
    org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: br.gov.jfrj.siga.sr.model.SrItemConfiguracao.meuItemHistoricoSet, could not initialize proxy - no Session at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersist entCollection.java:569) at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentC ollection.java:188) at org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:548 ) at org.hibernate.collection.internal.AbstractPersistentCollection.read(AbstractPersistentCollection.java:126)
  2. 0

    SR: erro lazy initialization (LIE) ao buscar SrItemConfiguracao.meuItemHistoricoSet

    GitHub | 6 months ago | rafaela00castro
    org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: br.gov.jfrj.siga.sr.model.SrItemConfiguracao.meuItemHistoricoSet, could not initialize proxy - no Session

    Root Cause Analysis

    1. org.hibernate.LazyInitializationException

      failed to lazily initialize a collection of role: br.gov.jfrj.siga.sr.model.SrItemConfiguracao.meuItemHistoricoSet, could not initialize proxy - no Session at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersist entCollection.java:569) at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentC ollection.java:188) at org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:548 ) at org.hibernate.collection.internal.AbstractPersistentCollection.read(AbstractPersistentCollection.java:126)

      at org.hibernate.collection.internal.PersistentBag.get()
    2. Hibernate
      PersistentBag.get
      1. org.hibernate.collection.internal.PersistentBag.get(PersistentBag.java:439)
      1 frame
    3. br.gov.jfrj
      SrConfiguracaoBL.deduzFiltro
      1. br.gov.jfrj.siga.sr.model.SrItemConfiguracao.getAtual(SrItemConfiguracao.java:198)
      2. br.gov.jfrj.siga.sr.model.SrConfiguracaoBL.deduzFiltro(SrConfiguracaoBL.java:43)
      2 frames