JRebel causes LazyInitializationException

Forum on this website is being phased out. New threads or replies cannot be posted. Existing content remains available for now in read only mode. You can contact technical support at support@zeroturnaround.com.

ZeroTurnaround Homepage Forums JRebel Support JRebel causes LazyInitializationException

This topic contains 0 replies, has 1 voice, and was last updated by  zygmunt 1 month, 2 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #67119

    zygmunt
    Member

    When I run my application with enabled JRebel in Eclipse I get ‘LazyInitializationException’. Problem does not occur when JRebel is disabled.

    JRebel Agent 7.1.7 (201802271049)
    java version “1.7.0_71”
    JBoss 7.1
    Eclipse: Oxygen.2 Release (4.7.2)

    Message:
    14:14:45,072 INFO [stdout] (http-/0.0.0.0:8080-1) [] failed to lazily initialize a collection of role: my.domain.user.User.configuration.configurationEntries, no session or session was closed
    14:14:45,072 INFO [stdout] (http-/0.0.0.0:8080-1) [] Stack trace:
    14:14:45,072 INFO [stdout] (http-/0.0.0.0:8080-1) [] org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:383)
    14:14:45,072 INFO [stdout] (http-/0.0.0.0:8080-1) [] org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:375)
    14:14:45,072 INFO [stdout] (http-/0.0.0.0:8080-1) [] org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:368)
    14:14:45,073 INFO [stdout] (http-/0.0.0.0:8080-1) [] org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111)
    14:14:45,073 INFO [stdout] (http-/0.0.0.0:8080-1) [] org.hibernate.collection.PersistentBag.iterator(PersistentBag.java:272)
    14:14:45,073 INFO [stdout] (http-/0.0.0.0:8080-1) [] my.domain.user.UserConfiguration.getConfigurationEntriesMap(UserConfiguration.java:60)

Viewing 1 post (of 1 total)

The forum ‘JRebel Support’ is closed to new topics and replies.