org.hibernate.LazyInitializationException: could not initialize proxy - no Session

openmrs.org | 2 months ago
  1. 0

    ERROR org.hibernate.LazyInitializationException - could not initialize proxy - no Session

    Stack Overflow | 3 years ago | user2879071
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  2. 0

    Spring Hibernate Transaction No Session Lazy Loading

    Stack Overflow | 4 years ago | user979051
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    How to pass (properly) a Java Object from a Servlet to a JSP page

    Stack Overflow | 6 years ago | Vincent
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  5. 0

    Hibernate Lazy Load Error after merge

    Stack Overflow | 5 years ago | Scott
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session

  1. MoYapro 2 times, last 4 weeks ago
14 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.hibernate.LazyInitializationException

    could not initialize proxy - no Session

    at org.hibernate.proxy.AbstractLazyInitializer.initialize()
  2. Hibernate
    JavassistLazyInitializer.invoke
    1. org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:167)
    2. org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:215)
    3. org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
    3 frames
  3. org.openmrs
    Provider.toString
    1. org.openmrs.Person_$$2a.getNames(Person_$$2a.java)
    2. org.openmrs.Provider.toString(Provider.java:107)
    2 frames
  4. Spring Context
    ValidationUtils.rejectIfEmpty
    1. org.springframework.validation.ValidationUtils.rejectIfEmpty(ValidationUtils.java:166)
    2. org.springframework.validation.ValidationUtils.rejectIfEmpty(ValidationUtils.java:108)
    2 frames
  5. org.openmrs.validator
    DrugOrderValidator.validate
    1. org.openmrs.validator.OrderValidator.validate(OrderValidator.java:83)
    2. org.openmrs.validator.DrugOrderValidator.validate(DrugOrderValidator.java:83)
    2 frames