Hi George, I did not see your complete error stack, but you should look for the dspace objects. The error should exactly point out where the problem is. When you find it, change FetchType.Lazy to FetchType.Eager.
Regards, Enes On Tuesday, November 28, 2017 at 5:45:02 PM UTC+1, George Kozak wrote: > > Enes: > > I am unfamiliar with hibernate. I checked the config > file hibernate.cfg.xml, but did not see anything about changing class from > "lazy" to "eager". Is there somewhere else where this change should be > made? > Thanks, > George Kozak > Cornell University > > On Tue, Nov 28, 2017 at 6:24 AM, eneshukic via DSpace Technical Support < > [email protected] <javascript:>> wrote: > >> Hi George, >> >> This is Hibernate error. Try changing initaization in your class from >> lazy to eager. >> >> Regards, >> Enes >> >> On Monday, November 27, 2017 at 5:46:02 PM UTC+1, George Kozak wrote: >>> >>> Hi, >>> We are moving to upgrade our production server (which is running DSpace >>> 5.5) to Dspace 6.2. In our testing, we have found a problem with >>> submissions. When someone submits an item the following error appears: >>> "could not initialize proxy - no Session". >>> Has anyone ecountered this before? >>> >>> The underlining stack trace shows: >>> Java stacktrace: org.hibernate.LazyInitializationException: could not >>> initialize proxy - no Session at >>> org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:165) >>> >>> at >>> org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:286) >>> >>> at >>> org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185) >>> >>> at >>> org.dspace.content.Bitstream_$$_jvstdfd_c.getID(Bitstream_$$_jvstdfd_c.java) >>> >>> at org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:325) >>> at org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:280) >>> at >>> org.dspace.app.xmlui.aspect.versioning.Navigation.getValidity(Navigation.java:129) >>> >>> at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source) at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> >>> at java.lang.reflect.Method.invoke(Method.java:606) at >>> org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) >>> >>> at com.sun.proxy.$Proxy226.getValidity(Unknown Source) at >>> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.getValidityForInternalPipeline(AbstractCachingProcessingPipeline.java:987) >>> >>> at ... >>> >>> -- >>> *************************** >>> George Kozak >>> Digital Library Specialist >>> Cornell University Library - IT >>> 218 Olin Library >>> Cornell University >>> Ithaca, NY 14853 >>> 607-255-8924 >>> [email protected] >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "DSpace Technical Support" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/dspace-tech. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > *************************** > George Kozak > Digital Library Specialist > Cornell University Library - IT > 218 Olin Library > Cornell University > Ithaca, NY 14853 > 607-255-8924 > [email protected] <javascript:> > -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
