Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-3868

Workflow / Share - exception after a workflow is started

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 3.2 R
    • Fix Version/s: 3.2.1
    • Component/s: Installer
    • Labels:
      None
    • Bug Priority:
      Category 3

      Description

      I was able to reproduce a previously documented bug (https://issues.alfresco.com/jira/browse/ALFCOM-3188) in exactly the manner as described. Looks like it was closed due to lack of reproducibility.

      "How-to replicate

      • Start a workflow on a file
        • Addhoc task , assigned to admin, no due date, a single word comment
      • validate it ... and wait a little"

      I am running 3.2.r2. Error listing below.

      18:11:17,000 ERROR [freemarker.runtime]

      Error executing macro: resultsJSON
      required parameter: results is not specified.
      The problematic instruction:
      ----------
      ==> macro resultsJSON [on line 1, column 1 in org/alfresco/slingshot/documentlibrary/action/action.lib.ftl]
      in user-directive actionLib.resultsJSON [on line 2, column 1 in org/alfresco/slingshot/documentlibrary/action/assign-workflow.post.json.ftl]
      ----------

      Java backtrace for programmers:
      ----------
      freemarker.template.TemplateException: Error executing macro: resultsJSON
      required parameter: results is not specified.
      at freemarker.core.Macro$Context.sanityCheck(Macro.java:181)
      at freemarker.core.Macro$Context.runMacro(Macro.java:161)
      at freemarker.core.Environment.visit(Environment.java:601)
      at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
      at freemarker.core.Environment.visit(Environment.java:208)
      at freemarker.core.MixedContent.accept(MixedContent.java:92)
      at freemarker.core.Environment.visit(Environment.java:208)
      at freemarker.core.Environment.process(Environment.java:188)
      at freemarker.template.Template.process(Template.java:237)
      at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:202)
      at org.alfresco.web.scripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:523)
      at org.alfresco.web.scripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:241)
      at org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)
      at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:372)
      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:327)
      at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:422)
      at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:439)
      at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:303)
      at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:306)
      at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:183)
      at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      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:286)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:619)
      18:11:17,109 ERROR [org.alfresco.web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 00270008 Wrapped Exception (with status template): 00270007 Error during processing of the template 'Error executing macro: resultsJSON
      required parameter: results is not specified.'. Please contact your system administrator.
      org.alfresco.web.scripts.WebScriptException: 00270008 Wrapped Exception (with status template): 00270007 Error during processing of the template 'Error executing macro: resultsJSON
      required parameter: results is not specified.'. Please contact your system administrator.
      at org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScript.java:613)
      at org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:165)
      at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:372)
      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:327)
      at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:422)
      at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:439)
      at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:303)
      at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:306)
      at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:183)
      at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      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:286)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.alfresco.service.cmr.repository.TemplateException: 00270007 Error during processing of the template 'Error executing macro: resultsJSON
      required parameter: results is not specified.'. Please contact your system administrator.
      at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:206)
      at org.alfresco.web.scripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:523)
      at org.alfresco.web.scripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:241)
      at org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)
      ... 21 more
      Caused by: freemarker.template.TemplateException: Error executing macro: resultsJSON
      required parameter: results is not specified.
      at freemarker.core.Macro$Context.sanityCheck(Macro.java:181)
      at freemarker.core.Macro$Context.runMacro(Macro.java:161)
      at freemarker.core.Environment.visit(Environment.java:601)
      at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
      at freemarker.core.Environment.visit(Environment.java:208)
      at freemarker.core.MixedContent.accept(MixedContent.java:92)
      at freemarker.core.Environment.visit(Environment.java:208)
      at freemarker.core.Environment.process(Environment.java:188)
      at freemarker.template.Template.process(Template.java:237)
      at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:202)
      ... 24 more

        Attachments

          Activity

            People

            • Assignee:
              closedbugs Closed Bugs
              Reporter:
              cszamudio Carlos S. Zamudio
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified