Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10453

Fix error when accessing to Workflow tab directly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.6.0-HF04, 5.7.1
    • Component/s: Workflow

      Description

      this problem is highlighted when a new tab is defined as the default one for a document.

      how to reproduce

      • start a workflow which has several steps
      • with the appropriate user, go the workflow tab and accept the task to go to the next step
      • you are redirected to the default tab
      • click on the Workflow tab
      • this will raise an error because the current task is not set
      No current task defined
                    javax.servlet.ServletException: /layouts/custom-project_layout_template.xhtml @74,75 value="#{value['Reden']}": /layouts/custom-project_layout_template.xhtml @74,75 value="#{value}": /widgets/route/current_route_user_tasks_widget_template.xhtml @76,139 value="#{routingTaskActions.formVariables}": Error reading 'formVariables' on type org.nuxeo.ecm.platform.routing.web.RoutingTaskActionsBean_$$_javassist_74
      	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.internalDoFilter(ApplicatiocustomlterChain.java:290)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.doFilter(ApplicatiocustomlterChain.java:206)
      	at org.nuxeo.wss.servlet.BaseWSSFilter.doFilter(BaseWSSFilter.java:137)
      	at org.nuxeo.wss.servlet.FailSafeWSSFilter.doFilter(FailSafeWSSFilter.java:55)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.internalDoFilter(ApplicatiocustomlterChain.java:235)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.doFilter(ApplicatiocustomlterChain.java:206)
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      	at org.nuxeo.ecm.platform.ui.web.multipart.MultipartFilter.doFilter(MultipartFilter.java:73)
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	at org.jboss.seam.web.Exceptiocustomlter.doFilter(Exceptiocustomlter.java:64)
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
      	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
      	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
      	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
      	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.internalDoFilter(ApplicatiocustomlterChain.java:235)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.doFilter(ApplicatiocustomlterChain.java:206)
      	at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticatiocustomlter.doFilterInternal(NuxeoAuthenticatiocustomlter.java:376)
      	at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:35)
      	at org.nuxeo.ecm.platform.ui.web.auth.oauth.NuxeoOAuthFilter.doFilter(NuxeoOAuthFilter.java:116)
      	at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:33)
      	at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticatiocustomlter.doFilter(NuxeoAuthenticatiocustomlter.java:349)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.internalDoFilter(ApplicatiocustomlterChain.java:235)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.doFilter(ApplicatiocustomlterChain.java:206)
      	at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptiocustomlter.doFilter(NuxeoExceptiocustomlter.java:79)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.internalDoFilter(ApplicatiocustomlterChain.java:235)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.doFilter(ApplicatiocustomlterChain.java:206)
      	at org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.doFilter(NuxeoEncodingFilter.java:59)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.internalDoFilter(ApplicatiocustomlterChain.java:235)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.doFilter(ApplicatiocustomlterChain.java:206)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
      	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
      	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
      	at org.nuxeo.ecm.platform.ui.web.rest.FancyURLFilter.doFilter(FancyURLFilter.java:123)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.internalDoFilter(ApplicatiocustomlterChain.java:235)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.doFilter(ApplicatiocustomlterChain.java:206)
      	at org.nuxeo.ecm.platform.wi.filter.WIRequestFilter.doFilter(WIRequestFilter.java:114)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.internalDoFilter(ApplicatiocustomlterChain.java:235)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.doFilter(ApplicatiocustomlterChain.java:206)
      	at org.nuxeo.ecm.platform.web.common.requestcontroller.filter.NuxeoRequestControllerFilter.doFilter(NuxeoRequestControllerFilter.java:145)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.internalDoFilter(ApplicatiocustomlterChain.java:235)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.doFilter(ApplicatiocustomlterChain.java:206)
      	at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticatiocustomlter.doFilterInternal(NuxeoAuthenticatiocustomlter.java:548)
      	at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:35)
      	at org.nuxeo.ecm.platform.ui.web.auth.oauth.NuxeoOAuthFilter.doFilter(NuxeoOAuthFilter.java:116)
      	at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:33)
      	at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticatiocustomlter.doFilter(NuxeoAuthenticatiocustomlter.java:349)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.internalDoFilter(ApplicatiocustomlterChain.java:235)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.doFilter(ApplicatiocustomlterChain.java:206)
      	at org.nuxeo.apidoc.filter.BaseApiDocFilter.doFilter(BaseApiDocFilter.java:58)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.internalDoFilter(ApplicatiocustomlterChain.java:235)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.doFilter(ApplicatiocustomlterChain.java:206)
      	at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptiocustomlter.doFilter(NuxeoExceptiocustomlter.java:79)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.internalDoFilter(ApplicatiocustomlterChain.java:235)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.doFilter(ApplicatiocustomlterChain.java:206)
      	at org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.doFilter(NuxeoEncodingFilter.java:59)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.internalDoFilter(ApplicatiocustomlterChain.java:235)
      	at org.apache.catalina.core.ApplicatiocustomlterChain.doFilter(ApplicatiocustomlterChain.java:206)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      	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:293)
      	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      	at java.lang.Thread.run(Thread.java:679)
      Caused by: javax.el.ELException: /layouts/custom-project_layout_template.xhtml @74,75 value="#{value['Reden']}": /layouts/custom-project_layout_template.xhtml @74,75 value="#{value}": /widgets/route/current_route_user_tasks_widget_template.xhtml @76,139 value="#{routingTaskActions.formVariables}": Error reading 'formVariables' on type org.nuxeo.ecm.platform.routing.web.RoutingTaskActionsBean_$$_javassist_74
      

      With a default Nuxeo, this is not reproducible because the summary, which is the default tab, initialize the current task.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: