Why am i seeing the process variable list, and not the actual form mapped to an activity, when i run the process ?
The form is a direct mapping to the activity. It is working fine in preview, and even as a standalone form inside an userview. But, as part of a process, when i run it, it gives the process variable list instead of the form attached to the activity. I even checked the monitoring of the process to check if some instance is stuck arbitrarily in some intermediate status, but it looked fine as well.
In the catalina logs, i see the below error -
ERROR 25 May 2017 08:35:20 org.joget.apps.app.service.AppServiceImpl - Unable to read XML
org.hibernate.InvalidMappingException: Unable to read XML
at org.hibernate.internal.util.xml.MappingReader.legacyReadMappingDocument(MappingReader.java
:375)
at org.hibernate.internal.util.xml.MappingReader.readMappingDocument(MappingReader.java:304)
at org.hibernate.cfg.Configuration.add(Configuration.java:518)
at org.hibernate.cfg.Configuration.add(Configuration.java:514)
at org.hibernate.cfg.Configuration.addFile(Configuration.java:509)
at org.joget.apps.form.dao.FormDataDaoImpl.findSessionFactory(FormDataDaoImpl.java:741)
at org.joget.apps.form.dao.FormDataDaoImpl.getHibernateSession(FormDataDaoImpl.java:700)
at org.joget.apps.form.dao.FormDataDaoImpl.internalLoad(FormDataDaoImpl.java:183)
at org.joget.apps.form.dao.FormDataDaoImpl.loadWithoutTransaction(FormDataDaoImpl.java:171)
at sun.reflect.GeneratedMethodAccessor548.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMet
hodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvoc
ation.java:157)
What might be causing this issue ?