hi everyone here:
I design a workflow with 2 mandatory packages with different types, but they are forms that stores as repository attributes.
I also found that 2 packages of XML instance don't have this problem.
when I use "Tools \ workflow \ Start" to start the workflow and click "use form" link to create the second form instance.
The system show the following error message:
org.chiba.xml.xforms.exception.XFormsException: java.lang.ClassCastException: com.documentum.web.form.control.TextArea
org.chiba.xml.xforms.exception.XFormsException: java.lang.ClassCastException: com.documentum.web.form.control.TextArea
After closing this window, press the Refresh or Reload button on your browser to continue.
Hide Details
Stack Trace:
com.documentum.xforms.engine.XFormsProcessorException: org.chiba.xml.xforms.exception.XFormsException: java.lang.ClassCastException: com.documentum.web.form.control.TextArea
at com.documentum.xforms.engine.chiba.ChibaProcessor.render(Unknown Source)
at com.documentum.xforms.engine.chiba.ChibaProcessor.render(Unknown Source)
at com.documentum.web.formext.control.xforms.XFormsTag.renderStart(XFormsTag.java:158)
at com.documentum.web.form.ControlTag.doStartTag(ControlTag.java:728)
at org.apache.jsp.webcomponent.library.workflow.startworkflow.startWorkflowDrilldown_jsp._jspService(startWorkflowDrilldown_jsp.java:238)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
No matter the order of creation and the type of package,
One thing is confirmed that After first form created successfully, then I click the "use form" to create the form of another package.
The error shows up.
Finally, I found that 2 packages of the same type (same cutom type or both are xml instance) will not cause the problem.
But I have to make the workflow carry 2 different types of package.
Do someone encounter this situation? how to solve it?
thanks in advanced.