cancel
Showing results for 
Search instead for 
Did you mean: 

While submitting changes following error occurs:-

joonjasbir
Champ in-the-making
Champ in-the-making
I am creating a site using wcm, after the bulk import of the demo-website.
When i submit the changes, the following error occurs.


Please correct the errors below then click OK.
A system error happened during the operation: failed to lazily initialize a collection of role:
org.jbpm.graph.def.Transition.events, no session or session was closed; nested exception is
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role:
org.jbpm.graph.def.Transition.events, no session or session was closed
2 REPLIES 2

kvc
Champ in-the-making
Champ in-the-making
What version of Alfresco are you using?  2.0.0 Community, 2.0.1 Enterprise, or a nightly build?

Kevin

sly
Champ in-the-making
Champ in-the-making
Hi,

We're seeing the same error:

Please correct the errors below then click OK.

    * A system error happened during the operation: failed to lazily initialize a collection of role: org.jbpm.graph.def.Transition.events, no session or session was closed; nested exception is org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.jbpm.graph.def.Transition.events, no session or session was closed

Seems to be happening when trying to submit a large number of files (e.g 100+).  Once it fails, it still considers the files to be part of a workflow and as such, we cannot re-submit the files.  This leaves the user's sandbox in an unuseable state.  Here's the output of the workflow console:

Last command: desc task jbpm$8
Duration: 94ms
—–

id: jbpm$8
name: wcmwf:reviewTask
title: Review
description: Review Documents to approve or reject them
state: COMPLETED
path: jbpm$3-@
transitions: 2
transition: reject , title: Reject , desc: Reject
transition: approve , title: Approve , desc: Approve
properties: 20
{http://www.alfresco.org/model/bpm/1.0}dueDate = null
{http://www.alfresco.org/model/bpm/1.0}context = null
{http://www.alfresco.org/model/bpm/1.0}description = easb updates
{http://www.alfresco.org/model/bpm/1.0}pooledActors = []
{http://www.alfresco.org/model/content/1.0}created = 2007-07-10 13:42:44.0
{http://www.alfresco.org/model/bpm/1.0}outcome = approve
{http://www.alfresco.org/model/bpm/1.0}completionDate = 2007-07-10 13:43:02.0
{http://www.alfresco.org/model/bpm/1.0}status = Completed
{http://www.alfresco.org/model/wcmworkflow/1.0}reviewType = Serial
{http://www.alfresco.org/model/wcmworkflow/1.0}fromPath = easb–admin:/www
{http://www.alfresco.org/model/content/1.0}owner = admin
{http://www.alfresco.org/model/bpm/1.0}packageActionGroup =
{http://www.alfresco.org/model/bpm/1.0}assignees = [workspace://SpacesStore/7d9c7603-2e71-11dc-90c6-3bddb9c02140, workspace://SpacesStore/d449cdf7-2e75-11dc-90c6-3bddb9c02140, workspace://SpacesStore/c4391a39-2e75-11dc-90c6-3bddb9c02140]
{http://www.alfresco.org/model/bpm/1.0}priority = 3
{http://www.alfresco.org/model/bpm/1.0}startDate = null
{http://www.alfresco.org/model/wcmworkflow/1.0}label = easb updates
{http://www.alfresco.org/model/bpm/1.0}percentComplete = 0
{http://www.alfresco.org/model/bpm/1.0}taskId = 8
{http://www.alfresco.org/model/bpm/1.0}package = avm://easb–workflow-1be3f8f5-2f26-11dc-be92-459d7827c59b/-1;www
{http://www.alfresco.org/model/bpm/1.0}packageItemActionGroup = edit_wcm_package_item_actions

We're using 2.0.2 Enterprise.  We need a solution to this ASAP.  At the very least, we need to know how to recover the user's sandbox.  Thanks.