2 Replies Latest reply on Sep 12, 2007 7:42 PM by Ronald van Kuijk

    Problem executing an action

    Carlos Martinez Newbie

      Hello:

      I am trying to execute a jbpm process within a web app. I got the process definition from DB (previously I deployed my process). When I execute my process within a console app its works, but within a web app its throws me an exception:

      org.jbpm.graph.def.DelegationException
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:376)
      at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:367)
      at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:270)
      at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:220)
      at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:190)
      at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:174)
      at org.jbpm.graph.def.Transition.take(Transition.java:138)
      at org.jbpm.graph.def.Node.leave(Node.java:393)
      at org.jbpm.graph.node.StartState.leave(StartState.java:70)
      at org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke()
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
      at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$1edaf556_9.leave()
      at org.jbpm.graph.exe.Token.signal(Token.java:194)
      at org.jbpm.graph.exe.Token.signal(Token.java:139)
      at org.jbpm.graph.exe.Token$$FastClassByCGLIB$$74df1c6e.invoke()
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
      at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$cb699bea_9.signal()
      at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:270)
      at impl.ProcessService$1.run(ProcessService.java:58)
      Caused by: java.lang.NullPointerException
      at org.jbpm.graph.def.Action.execute(Action.java:122)
      at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:255)
      ... 18 more

      Can somebody help me?

      Hugs & regards