org.hibernate.LazyInitializationException

failed to lazily initialize a collection of role: org.jasig.cas.services.RegisteredServiceImpl.allowedAttributes, no session or session was closed

Solutions on the web712

  • via Apereo Issues by Marvin S. Addison, 1 year ago
    failed to lazily initialize a collection of role: org.jasig.cas.services.RegisteredServiceImpl.allowedAttributes, no session or session was closed
  • via Apereo Issues by Marvin S. Addison, 1 year ago
    failed to lazily initialize a collection of role: org.jasig.cas.services.RegisteredServiceImpl.allowedAttributes, no session or session was closed
  • failed to lazily initialize a collection of role: com.threeht.iriswi.biz.model.LineItem.asids - no session or session was closed
  • Stack trace

    • org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.jasig.cas.services.RegisteredServiceImpl.allowedAttributes, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:380) at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:372) at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:365) at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:108) at org.hibernate.collection.PersistentList.iterator(PersistentList.java:138) at org.jasig.cas.CentralAuthenticationServiceImpl.validateServiceTicket_aroundBody8(CentralAuthenticationServiceImpl.java:354)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 4 months ago
    2 times, 4 months ago
    2 times, 8 months ago
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    9 more bugmates