AnsweredAssumed Answered

Simple Process created with Modeller fails when deployed

Question asked by florian.gau on Feb 3, 2011
Latest reply on May 30, 2011 by anitajadi
Hi there,

after I created a first simple process (just a starting point, a user task and an end point) I wanted to deploy this process in Probe.

For the deployment I selected the saved bpmn20.xml file. Probe answers with "deployment successful".

When I switch to "Processes" I get the following exception (it seems, that the generated process is not generated properly):

Any ideas on that?

Thanks in advance.

Web Script Status 500 - Internal Error

The Web Script /activiti-probe/service/component/process-definitions has responded with a status of 500 - Internal Error.

500 Description:   An error inside the HTTP server which prevented it from fulfilling the request.

Message:   01030010 Failed to process template webscripts/processes/process-definitions.get.html.ftl
   
Exception:   freemarker.core.InvalidReferenceException - Expression process.name is undefined on line 4, column 105 in webscripts/processes/process-definitions.get.html.ftl.
   
   freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
   freemarker.core.Expression.getStringValue(Expression.java:118)
   freemarker.core.Expression.getStringValue(Expression.java:93)
   freemarker.core.DollarVariable.accept(DollarVariable.java:76)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.MixedContent.accept(MixedContent.java:92)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179)
   freemarker.core.Environment.visit(Environment.java:415)
   freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.MixedContent.accept(MixedContent.java:92)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.Environment.process(Environment.java:188)
   freemarker.template.Template.process(Template.java:237)
   org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:156)
   org.springframework.extensions.webscripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:580)
   org.springframework.extensions.webscripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:263)
   org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:143)
   org.springframework.extensions.webscripts.PresentationContainer.executeScript(PresentationContainer.java:69)
   org.springframework.extensions.webscripts.LocalWebScriptRuntimeContainer.executeScript(LocalWebScriptRuntimeContainer.java:203)
   org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:333)
   org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:189)
   org.springframework.extensions.webscripts.WebScriptProcessor.executeBody(WebScriptProcessor.java:296)
   org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:79)
   org.springframework.extensions.surf.render.RenderService.processComponent(RenderService.java:467)
   org.springframework.extensions.surf.render.RenderService.renderRawComponent(RenderService.java:939)
   org.springframework.extensions.surf.render.RenderService.renderRawComponent(RenderService.java:926)
   org.springframework.extensions.surf.taglib.IncludeTag.doStartTag(IncludeTag.java:64)
   org.apache.jsp.WEB_002dINF.chrome.component.discrete_jsp._jspx_meth_surf_005fcomponentInclude_005f0(discrete_jsp.java:106)
   org.apache.jsp.WEB_002dINF.chrome.component.discrete_jsp._jspService(discrete_jsp.java:82)
   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
   org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
   org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
   org.springframework.extensions.surf.render.bean.JSPProcessor.doInclude(JSPProcessor.java:216)
   org.springframework.extensions.surf.render.bean.JSPProcessor.executeBody(JSPProcessor.java:139)
   org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:79)
   org.springframework.extensions.surf.render.RenderService.processRenderable(RenderService.java:389)
   org.springframework.extensions.surf.render.bean.ChromeRenderer.body(ChromeRenderer.java:96)
   org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:135)
   org.springframework.extensions.surf.render.bean.ChromeRenderer.render(ChromeRenderer.java:79)
   org.springframework.extensions.surf.render.bean.ComponentRenderer.body(ComponentRenderer.java:107)
   org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:135)
   org.springframework.extensions.surf.render.RenderService.renderRegionComponents(RenderService.java:796)
   org.springframework.extensions.surf.taglib.IncludeTag.doStartTag(IncludeTag.java:81)
   org.apache.jsp.WEB_002dINF.chrome.template.empty_jsp._jspx_meth_surf_005fregionInclude_005f0(empty_jsp.java:82)
   org.apache.jsp.WEB_002dINF.chrome.template.empty_jsp._jspService(empty_jsp.java:59)
   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
   org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
   org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
   org.springframework.extensions.surf.render.bean.JSPProcessor.doInclude(JSPProcessor.java:216)
   org.springframework.extensions.surf.render.bean.JSPProcessor.executeBody(JSPProcessor.java:139)
   org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:79)
   org.springframework.extensions.surf.render.RenderService.processRenderable(RenderService.java:389)
   org.springframework.extensions.surf.render.bean.ChromeRenderer.body(ChromeRenderer.java:96)
   org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:135)
   org.springframework.extensions.surf.render.bean.ChromeRenderer.render(ChromeRenderer.java:79)
   org.springframework.extensions.surf.render.bean.RegionRenderer.body(RegionRenderer.java:114)
   org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:135)
   org.springframework.extensions.surf.render.RenderService.startRegionRenderer(RenderService.java:748)
   org.springframework.extensions.surf.render.RenderService.renderRegion(RenderService.java:692)
   org.springframework.extensions.surf.render.PresentationUtil.renderRegion(PresentationUtil.java:113)
   org.springframework.extensions.surf.taglib.RegionTag.doStartTag(RegionTag.java:102)
   org.springframework.extensions.surf.render.TagService.execute(TagService.java:213)
   org.springframework.extensions.surf.render.TagService.execute(TagService.java:148)
   org.springframework.extensions.webscripts.FreemarkerTagSupportDirective.executeTag(FreemarkerTagSupportDirective.java:92)
   org.springframework.extensions.webscripts.RegionFreemarkerTagDirective.execute(RegionFreemarkerTagDirective.java:122)
   freemarker.core.Environment.visit(Environment.java:261)
   freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.MixedContent.accept(MixedContent.java:92)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.Environment.visit(Environment.java:393)
   freemarker.core.BodyInstruction.accept(BodyInstruction.java:93)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.MixedContent.accept(MixedContent.java:92)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.Macro$Context.runMacro(Macro.java:164)
   freemarker.core.Environment.visit(Environment.java:601)
   freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.MixedContent.accept(MixedContent.java:92)
   freemarker.core.Environment.visit(Environment.java:208)
   freemarker.core.Environment.process(Environment.java:188)
   freemarker.template.Template.process(Template.java:237)
   org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:156)
   org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:338)
   org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:79)
   org.springframework.extensions.surf.render.RenderService.processTemplate(RenderService.java:581)
   org.springframework.extensions.surf.render.bean.TemplateInstanceRenderer.body(TemplateInstanceRenderer.java:134)
   org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:135)
   org.springframework.extensions.surf.render.bean.PageRenderer.body(PageRenderer.java:70)
   org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:135)
   org.springframework.extensions.surf.render.RenderService.startPageRenderer(RenderService.java:633)
   org.springframework.extensions.surf.render.RenderService.renderPage(RenderService.java:610)
   org.springframework.extensions.surf.render.PresentationUtil.renderPage(PresentationUtil.java:74)
   org.springframework.extensions.surf.mvc.PageView.dispatchPage(PageView.java:358)
   org.springframework.extensions.surf.mvc.PageView.renderView(PageView.java:299)
   org.springframework.extensions.surf.mvc.AbstractWebFrameworkView.renderMergedOutputModel(AbstractWebFrameworkView.java:167)
   org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
   org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1060)
   org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
   org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
   org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
   org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
   org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
   org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
   org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
   org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
   org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
   org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
   org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
   org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
   org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   java.lang.Thread.run(Thread.java:680)
   
Exception:   org.springframework.extensions.webscripts.WebScriptException - 01030010 Failed to process template webscripts/processes/process-definitions.get.html.ftl
   
   org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:160)
   
Server:   Spring WebScripts - v1.0.0 (Release Candidate 2 660) schema 1.000
Time:   03.02.2011 22:55:41
   
Diagnostics:   Inspect Web Script (webscripts/processes/process-definitions.get)

Outcomes