cancel
Showing results for 
Search instead for 
Did you mean: 

Working wf on 4.2c goes wrong on 4.2e

7joeblack8
Champ in-the-making
Champ in-the-making
Hi,



i'm stuck on an error given on a closing task.

After submitting the first task with an activiti script, the repository shots me :

<javascript>Caused by: java.lang.IllegalArgumentException: script is a mandatory parameter
   at org.springframework.extensions.surf.util.ParameterCheck.mandatoryString(ParameterCheck.java:58)
   at org.alfresco.repo.processor.ScriptServiceImpl.executeString(ScriptServiceImpl.java:278)
   at org.alfresco.repo.processor.ScriptServiceImpl.executeScriptString(ScriptServiceImpl.java:193)
   at org.alfresco.repo.processor.ScriptServiceImpl.executeScriptString(ScriptServiceImpl.java:183)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   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:309)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:34)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:161)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at com.sun.proxy.$Proxy312.executeScriptString(Unknown Source)
   at org.alfresco.repo.workflow.activiti.script.ActivitiScriptBase.executeScript(ActivitiScriptBase.java:105)
   at org.alfresco.repo.workflow.activiti.script.ActivitiScriptBase$1.doWork(ActivitiScriptBase.java:89)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
   at org.alfresco.repo.workflow.activiti.script.ActivitiScriptBase.executeScriptAsUser(ActivitiScriptBase.java:85)
   at org.alfresco.repo.workflow.activiti.script.ActivitiScriptBase.executeScript(ActivitiScriptBase.java:77)
   at org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener.notify(ScriptTaskListener.java:78)
   at org.activiti.engine.impl.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:34)
   at org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37)
   at org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25)
   at org.activiti.engine.impl.bpmn.helper.ClassDelegate.notify(ClassDelegate.java:93)
   … 87 more
</javascript>


Parameter check class says it's because of a null object or parameter, but the script exists, and all the mandatory fields are compiled.

I just upgrade to 4.2e and this flow started this behaviour.

Is changed any of the script declaration?

here's my task:

<javascript> <userTask id="alfrescoUsertask1" name="Compiler" activiti:assignee="claude" activiti:formKey="wf:reviewTask2">
      <extensionElements>
       <activiti:taskListener event="complete" class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener">
               <activiti:field name="runAs">
                  <activiti:string>admin</activiti:string>
               </activiti:field>
                  <activiti:field name="script">
                     <activiti:string>
          //…here's my example script string
                        var example =  task.getVariable('cmis_name');
                     </activiti:string>
                  </activiti:field>
                </activiti:taskListener>
       </extensionElements>
   </userTask></javascript>

thanks in advance
2 REPLIES 2

7joeblack8
Champ in-the-making
Champ in-the-making
Well, i updated to last version of workdesk and it seems explaining better the error.

First of all on the start task i got the "hiddenTransitions" which i can't figure out how to populate (i tried, "canceled","ok","timedout"…always get error like impossible to understand that field).

Well..if i delete all multi entries, the first task proceed to sencond…and there i got this…it seems expecting an array anyways…i suspect for that field:

<javascript> JSP/Servlet Rendering Exception

javax.servlet.ServletException: com.wewebu.ow.server.exceptions.OwServerException: The native value must be of Array type.
   at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)
   at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
   at org.apache.jsp.designs.default41.OwObjectPropertyView_jsp._jspService(OwObjectPropertyView_jsp.java:79)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:720)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:657)
   at com.wewebu.ow.server.ui.OwAppContext.serverSideInclude(OwAppContext.java:545)
   at com.wewebu.ow.server.ui.OwView.serverSideInclude(OwView.java:455)
   at com.wewebu.ow.server.ui.OwView.serverSideDesignInclude(OwView.java:495)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectPropertyView.onRender(OwObjectPropertyView.java:813)
   at com.wewebu.ow.server.ui.OwView.render(OwView.java:345)
   at com.wewebu.ow.server.ui.OwLayout.renderRegion(OwLayout.java:211)
   at com.wewebu.ow.server.app.OwStandardDialog.renderRegion(OwStandardDialog.java:174)
   at com.wewebu.ow.server.app.OwStandardSequenceDialog.renderRegion(OwStandardSequenceDialog.java:59)
   at org.apache.jsp.designs.default41.OwStandardDialog_jsp._jspService(OwStandardDialog_jsp.java:131)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:720)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:657)
   at com.wewebu.ow.server.ui.OwAppContext.serverSideInclude(OwAppContext.java:545)
   at com.wewebu.ow.server.ui.OwView.serverSideInclude(OwView.java:455)
   at com.wewebu.ow.server.ui.OwView.serverSideDesignInclude(OwView.java:495)
   at com.wewebu.ow.server.app.OwStandardDialog.onRender(OwStandardDialog.java:255)
   at com.wewebu.ow.server.ui.OwView.render(OwView.java:351)
   at com.wewebu.ow.server.ui.OwDialogManager.onRender(OwDialogManager.java:162)
   at com.wewebu.ow.server.ui.OwView.render(OwView.java:351)
   at com.wewebu.ow.server.ui.OwAppContext$OwDialogManagerViewReference.render(OwAppContext.java:1516)
   at com.wewebu.ow.server.ui.OwLayout.renderRegion(OwLayout.java:211)
   at com.wewebu.ow.server.app.OwMainLayout.renderRegion(OwMainLayout.java:421)
   at org.apache.jsp.designs.default41.OwMainLayout_jsp._jspService(OwMainLayout_jsp.java:322)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:720)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:657)
   at com.wewebu.ow.server.ui.OwAppContext.serverSideInclude(OwAppContext.java:545)
   at com.wewebu.ow.server.ui.OwView.serverSideInclude(OwView.java:455)
   at com.wewebu.ow.server.ui.OwView.serverSideDesignInclude(OwView.java:495)
   at com.wewebu.ow.server.app.OwMainLayout.onRender(OwMainLayout.java:291)
   at com.wewebu.ow.server.ui.OwView.render(OwView.java:351)
   at org.apache.jsp.main_jsp._jspService(main_jsp.java:277)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:720)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:657)
   at com.wewebu.ow.server.ui.OwWebApplication.handleRequest(OwWebApplication.java:417)
   at org.apache.jsp.default41_jsp._jspService(default41_jsp.java:71)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
   at com.wewebu.ow.server.servlets.OwServletFilter.doFilter(OwServletFilter.java:57)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
   at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
   at java.lang.Thread.run(Thread.java:724)
Caused by: com.wewebu.ow.server.exceptions.OwServerException: The native value must be of Array type.
   at com.wewebu.ow.server.ecmimpl.alfresco.bpm.rest.converters.ArrayAgregateConverter.fromNative(ArrayAgregateConverter.java:53)
   at com.wewebu.ow.server.ecmimpl.alfresco.bpm.OwAlfrescoBPMProperty.getValue(OwAlfrescoBPMProperty.java:60)
   at com.wewebu.ow.server.app.OwStandardFieldManager.insertEditFieldInternal(OwStandardFieldManager.java:569)
   at com.wewebu.ow.server.app.OwFieldManager.insertEditField(OwFieldManager.java:232)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectPropertyView.renderHorizontalProperty(OwObjectPropertyView.java:1048)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectPropertyView.renderHorizontalProperties(OwObjectPropertyView.java:992)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectPropertyView.renderMainRegion(OwObjectPropertyView.java:1216)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectPropertyView.renderRegion(OwObjectPropertyView.java:1283)
   at com.wewebu.ow.server.plug.owbpm.plug.OwBPMStandardProcessorView.renderRegion(OwBPMStandardProcessorView.java:272)
   at org.apache.jsp.designs.default41.OwObjectPropertyView_jsp._jspService(OwObjectPropertyView_jsp.java:64)
   … 94 more


Root Cause:


com.wewebu.ow.server.exceptions.OwServerException: The native value must be of Array type.
   at com.wewebu.ow.server.ecmimpl.alfresco.bpm.rest.converters.ArrayAgregateConverter.fromNative(ArrayAgregateConverter.java:53)
   at com.wewebu.ow.server.ecmimpl.alfresco.bpm.OwAlfrescoBPMProperty.getValue(OwAlfrescoBPMProperty.java:60)
   at com.wewebu.ow.server.app.OwStandardFieldManager.insertEditFieldInternal(OwStandardFieldManager.java:569)
   at com.wewebu.ow.server.app.OwFieldManager.insertEditField(OwFieldManager.java:232)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectPropertyView.renderHorizontalProperty(OwObjectPropertyView.java:1048)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectPropertyView.renderHorizontalProperties(OwObjectPropertyView.java:992)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectPropertyView.renderMainRegion(OwObjectPropertyView.java:1216)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectPropertyView.renderRegion(OwObjectPropertyView.java:1283)
   at com.wewebu.ow.server.plug.owbpm.plug.OwBPMStandardProcessorView.renderRegion(OwBPMStandardProcessorView.java:272)
   at org.apache.jsp.designs.default41.OwObjectPropertyView_jsp._jspService(OwObjectPropertyView_jsp.java:64)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:720)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:657)
   at com.wewebu.ow.server.ui.OwAppContext.serverSideInclude(OwAppContext.java:545)
   at com.wewebu.ow.server.ui.OwView.serverSideInclude(OwView.java:455)
   at com.wewebu.ow.server.ui.OwView.serverSideDesignInclude(OwView.java:495)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectPropertyView.onRender(OwObjectPropertyView.java:813)
   at com.wewebu.ow.server.ui.OwView.render(OwView.java:345)
   at com.wewebu.ow.server.ui.OwLayout.renderRegion(OwLayout.java:211)
   at com.wewebu.ow.server.app.OwStandardDialog.renderRegion(OwStandardDialog.java:174)
   at com.wewebu.ow.server.app.OwStandardSequenceDialog.renderRegion(OwStandardSequenceDialog.java:59)
   at org.apache.jsp.designs.default41.OwStandardDialog_jsp._jspService(OwStandardDialog_jsp.java:131)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:720)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:657)
   at com.wewebu.ow.server.ui.OwAppContext.serverSideInclude(OwAppContext.java:545)
   at com.wewebu.ow.server.ui.OwView.serverSideInclude(OwView.java:455)
   at com.wewebu.ow.server.ui.OwView.serverSideDesignInclude(OwView.java:495)
   at com.wewebu.ow.server.app.OwStandardDialog.onRender(OwStandardDialog.java:255)
   at com.wewebu.ow.server.ui.OwView.render(OwView.java:351)
   at com.wewebu.ow.server.ui.OwDialogManager.onRender(OwDialogManager.java:162)
   at com.wewebu.ow.server.ui.OwView.render(OwView.java:351)
   at com.wewebu.ow.server.ui.OwAppContext$OwDialogManagerViewReference.render(OwAppContext.java:1516)
   at com.wewebu.ow.server.ui.OwLayout.renderRegion(OwLayout.java:211)
   at com.wewebu.ow.server.app.OwMainLayout.renderRegion(OwMainLayout.java:421)
   at org.apache.jsp.designs.default41.OwMainLayout_jsp._jspService(OwMainLayout_jsp.java:322)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:720)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:657)
   at com.wewebu.ow.server.ui.OwAppContext.serverSideInclude(OwAppContext.java:545)
   at com.wewebu.ow.server.ui.OwView.serverSideInclude(OwView.java:455)
   at com.wewebu.ow.server.ui.OwView.serverSideDesignInclude(OwView.java:495)
   at com.wewebu.ow.server.app.OwMainLayout.onRender(OwMainLayout.java:291)
   at com.wewebu.ow.server.ui.OwView.render(OwView.java:351)
   at org.apache.jsp.main_jsp._jspService(main_jsp.java:277)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:720)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:657)
   at com.wewebu.ow.server.ui.OwWebApplication.handleRequest(OwWebApplication.java:417)
   at org.apache.jsp.default41_jsp._jspService(default41_jsp.java:71)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
   at com.wewebu.ow.server.servlets.OwServletFilter.doFilter(OwServletFilter.java:57)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
   at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
   at java.lang.Thread.run(Thread.java:724)
</javascript>

The funny thing is that bpmModel and WorkflowModel are the same as previous versione (4.2c).

Any help would be appreciated…

7joeblack8
Champ in-the-making
Champ in-the-making
got it!

the flows breaks down if i insert in a file through the javascript api this line:
(there's also something strange with the parsing html–> pdf… anyways now the flow works like a charm)

<javascript>file.content += "<br><br><small>Copyright Test</small></br></br>";</javascript>