cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow Error

senthil_chinnai
Champ in-the-making
Champ in-the-making
Hi All:

I am getting this error, please help:

Caused by: org.jbpm.JbpmException: Failed to parse process definition from jBPM xml stream
   at org.alfresco.repo.workflow.jbpm.JBPMEngine.compileProcessDefinition(JBPMEngine.java:1068)
   at org.alfresco.repo.workflow.jbpm.JBPMEngine$2.doInJbpm(JBPMEngine.java:235)
   at org.alfresco.repo.workflow.jbpm.JBPMEngine$2.doInJbpm(JBPMEngine.java:232)
   at org.springmodules.workflow.jbpm31.JbpmTemplate$1.doInHibernate(JbpmTemplate.java:87)
   at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:365)
   at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:333)
   at org.springmodules.workflow.jbpm31.JbpmTemplate.execute(JbpmTemplate.java:80)
   at org.alfresco.repo.workflow.jbpm.JBPMEngine.isDefinitionDeployed(JBPMEngine.java:230)
   … 56 more
Caused by: org.jbpm.jpdl.JpdlException: [[ERROR] line 47: cvc-complex-type.2.4.a: Invalid content was found starting with element 'action'. One of '{"urn:jbpm.org:jpdl-3.1":task, "urn:jbpm.org:jpdl-3.1":event, "urn:jbpm.org:jpdl-3.1":exception-handler, "urn:jbpm.org:jpdl-3.1":timer, "urn:jbpm.org:jpdl-3.1":transition}' is expected., [WARNING] swimlane 'initiator' does not have an assignment, [WARNING] swimlane 'reviewer' does not have an assignment]
   at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:163)
   at org.alfresco.repo.workflow.jbpm.JBPMEngine.compileProcessDefinition(JBPMEngine.java:1063)
   … 63 more
10:43:59,155 ERROR [org.springframework.orm.hibernate3.HibernateTransactionManager] TransactionSynchronization.afterCompletion threw exception
java.lang.ThreadDeath

Thanks,
Senthil
2 REPLIES 2

seshu
Champ in-the-making
Champ in-the-making
Can you post your processdefinition. That will help to nail down the problem

senthil_chinnai
Champ in-the-making
Champ in-the-making
Seshu,

I could not figure out the location of the process definition file. So I had to reinstall alfresco.

Thanks,
Senthil.