2 Replies Latest reply on Jan 10, 2007 10:31 AM by juangiovanolli

    Task Nodes into SuperState

    juangiovanolli

      is possible put TaskNodes into SuperStates?
      i'm getting this error when the processDefinition shown below is running in the jbpm-server

      error

      type Exception report
      
      message
      
      description The server encountered an internal error () that prevented it from fulfilling this request.
      
      exception
      
      javax.servlet.ServletException: org.apache.jasper.JasperException
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
       org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
       org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
       org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      
      root cause
      
      javax.faces.FacesException: org.apache.jasper.JasperException
       org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425)
       org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
       org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
       org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
       org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
       org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      
      note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
      


      processdefinition
      <?xml version="1.0" encoding="UTF-8"?>
      
      <process-definition xmlns="" name="SuperSt">
       <start-state name="start">
       <transition name="" to="super1/task1"></transition>
       </start-state>
      
       <super-state name="super1">
      
       <task-node name="task1">
       <task name="d" />
       <transition name="" to="../end1"></transition>
       </task-node>
       </super-state>
      
       <end-state name="end1"></end-state>
      
      </process-definition>
      

      ----------------------------------------------------------------------------------
      thks and Merry Xmas from Argentina

        • 1. Re: Task Nodes into SuperState
          koen.aers

          Please post the jBPM logs if this still is a problem.

          Regards,
          Koen

          • 2. Re: Task Nodes into SuperState
            juangiovanolli

            hi:
            this problem is a very little problem of jbpm-server.
            the problem is what when the processdefinition contains superstates with nodes inside, the processimage.jpg don't reflect these internal nodes, and when the jbpm try to find an image that reflect the internal node launch a nullpointerexception.
            i found a really cool patch to that problem searching in the forum.
            it was really simple: replace the reference to the image with a static image ( in that case, with an image of aria giovanni 8P'''' , Cool eh?? ).
            Thanks anyway