org.jbpm.graph.def.DelegationException: java.sql.SQLException: Unexpected token: IF in statement

runawfe | erickv | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    SQL Action Handler + IF in statement

    runawfe | 5 years ago | erickv
    org.jbpm.graph.def.DelegationException: java.sql.SQLException: Unexpected token: IF in statement

    Root Cause Analysis

    1. org.jbpm.graph.def.DelegationException

      java.sql.SQLException: Unexpected token: IF in statement

      at org.jbpm.graph.def.GraphElement.raiseException()
    2. org.jbpm.graph
      Node.enter
      1. org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:385)
      2. org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:376)
      3. org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:299)
      4. org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:239)
      5. org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:211)
      6. org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:194)
      7. org.jbpm.graph.def.Transition.take(Transition.java:134)
      8. org.jbpm.graph.def.Node.leave(Node.java:447)
      9. org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:135)
      10. org.jbpm.graph.node.Decision.execute(Decision.java:162)
      11. org.jbpm.graph.def.Node.enter(Node.java:357)
      11 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Hibernate
      JavassistLazyInitializer.invoke
      1. org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
      1 frame