Task Form generation parses your process BPMN2 and it looks as you have
some issues with it - click on the "BPMN2" button in the Designer footer
and then either provide the BPMN2 shown, or the server log error(s) it
generates. If you get errors, provide those, and also click on the
"JSON" button in the footer and provide the JSON representation of your
process.
You can click on the "info" button in the Designer header to provide the
Designer version you are using...that will help as well
Thanks.
Tihomir
On 8/7/12 9:02 AM, Sadiroveski wrote:
Dear helpers,
I designed process in drools with human tasks included, add the variables,
inputsets and bindings.
When I clicked on the "Generate Task Form Templates", to add forms I got the
following:
----------------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
java.lang.ArrayIndexOutOfBoundsException: 1
org.jbpm.designer.bpmn2.impl.Bpmn2JsonUnmarshaller.applyTaskProperties(Bpmn2JsonUnmarshaller.java:3482)
org.jbpm.designer.bpmn2.impl.Bpmn2JsonUnmarshaller.applyProperties(Bpmn2JsonUnmarshaller.java:1921)
org.jbpm.designer.bpmn2.impl.Bpmn2JsonUnmarshaller.unmarshallItem(Bpmn2JsonUnmarshaller.java:1645)
org.jbpm.designer.bpmn2.impl.Bpmn2JsonUnmarshaller.unmarshallItem(Bpmn2JsonUnmarshaller.java:1560)
org.jbpm.designer.bpmn2.impl.Bpmn2JsonUnmarshaller.unmarshall(Bpmn2JsonUnmarshaller.java:225)
org.jbpm.designer.bpmn2.impl.Bpmn2JsonUnmarshaller.unmarshall(Bpmn2JsonUnmarshaller.java:201)
org.jbpm.designer.web.server.TaskFormsServlet.doPost(TaskFormsServlet.java:73)
javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)
note The full stack trace of the root cause is available in the JBoss
Web/7.0.1.Final logs.
-------------------------------------------------------------------------------------------
Any help please,
--
View this message in context:
http://drools.46999.n3.nabble.com/Error-in-Drools-when-clicking-Generate-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users