Hi George & Enes,

This error sounds similar to several other hibernate related caching bugs
that were found in 6.0/6.1 and resolved in 6.2, namely these tickets:
https://jira.duraspace.org/browse/DS-3648
https://jira.duraspace.org/browse/DS-3660

In those situations, the issue was *not* related to a Hibernate
misconfiguration, but rather a caching issue in the Java code.  I do not
know offhand if the issue you are seeing is similar, or not.

However, if you are able to find a way to reliably reproduce this issue
(especially on the demo site), please submit a bug ticket to
https://jira.duraspace.org/projects/DS, providing us with the step-by-step
instructions for how to reproduce it. Simply put, if it doesn't have a
ticket, then it's not being tracked and it won't get fixed. So, if you are
certain this is a bug and can reproduce it, please do let us know via a
ticket

If you've also figured out a way to resolve this, consider submitting a
GitHub Pull Request.  DSpace development is entirely volunteer driven. We
do our best to be responsive to annoying bugs/issues, but if you or someone
on your end figures out the fix, please send it our way.  That way we can
quickly verify it and get it merged for the next release!

Thanks,

Tim


On Thu, Nov 30, 2017 at 7:08 AM eneshukic via DSpace Technical Support <
[email protected]> wrote:

> Hi George,
>
> I have seen this error on the Control panel harvesting tab, but submittion
> is working fine.  This same error is occuring on demo.dspace.org.
>
>
> 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 <(607)%20255-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].
> 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.
>
-- 

Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
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.

Reply via email to