First of all thank you for this plugin - it really speed up my initial development cycle. But now I'm hitting the wall: when I'm trying to login again to the system (user data already exists and are stored in database) I'm getting LazyInitializationException. Any hints?
org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:147) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:260) at org.grails.orm.hibernate.proxy.HibernateGroovyObjectMethodHandler.resolveDelegate(HibernateGroovyObjectMethodHandler.java:29) at org.grails.datastore.mapping.proxy.GroovyObjectMethodHandler.resolveDelegateAndGetProperty(GroovyObjectMethodHandler.java:59) at org.grails.datastore.mapping.proxy.GroovyObjectMethodHandler.getProperty(GroovyObjectMethodHandler.java:52) at org.grails.datastore.mapping.proxy.GroovyObjectMethodHandler.handleInvocation(GroovyObjectMethodHandler.java:167) at org.grails.datastore.mapping.proxy.EntityProxyMethodHandler.handleInvocation(EntityProxyMethodHandler.java:76) at org.grails.orm.hibernate.proxy.GroovyAwareJavassistLazyInitializer.invoke(GroovyAwareJavassistLazyInitializer.java) at tbt.user.User_$$_jvstee4_4.getProperty(User_$$_jvstee4_4.java) at groovy.lang.GroovyObject$getProperty$0.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callSafe(AbstractCallSite.java:87) at com.the6hours.grails.springsecurity.facebook.DefaultFacebookAuthDao$_getRoles_closure7.doCall(DefaultFacebookAuthDao.groovy:219) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)
Hey
First of all thank you for this plugin - it really speed up my initial development cycle. But now I'm hitting the wall: when I'm trying to login again to the system (user data already exists and are stored in database) I'm getting LazyInitializationException. Any hints?
org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:147) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:260) at org.grails.orm.hibernate.proxy.HibernateGroovyObjectMethodHandler.resolveDelegate(HibernateGroovyObjectMethodHandler.java:29) at org.grails.datastore.mapping.proxy.GroovyObjectMethodHandler.resolveDelegateAndGetProperty(GroovyObjectMethodHandler.java:59) at org.grails.datastore.mapping.proxy.GroovyObjectMethodHandler.getProperty(GroovyObjectMethodHandler.java:52) at org.grails.datastore.mapping.proxy.GroovyObjectMethodHandler.handleInvocation(GroovyObjectMethodHandler.java:167) at org.grails.datastore.mapping.proxy.EntityProxyMethodHandler.handleInvocation(EntityProxyMethodHandler.java:76) at org.grails.orm.hibernate.proxy.GroovyAwareJavassistLazyInitializer.invoke(GroovyAwareJavassistLazyInitializer.java) at tbt.user.User_$$_jvstee4_4.getProperty(User_$$_jvstee4_4.java) at groovy.lang.GroovyObject$getProperty$0.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callSafe(AbstractCallSite.java:87) at com.the6hours.grails.springsecurity.facebook.DefaultFacebookAuthDao$_getRoles_closure7.doCall(DefaultFacebookAuthDao.groovy:219) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)