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

runawfe | erickv | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SQL Action Handler + IF in statement

    runawfe | 5 years ago | erickv
    java.lang.RuntimeException: java.sql.SQLException: Unexpected token: IF in statement

    Root Cause Analysis

    1. java.lang.RuntimeException

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

      at ru.runa.wf.SQLActionHandler.execute()
    2. ru.runa.wf
      SQLActionHandler.execute
      1. ru.runa.wf.SQLActionHandler.execute(SQLActionHandler.java:122)
      1 frame
    3. org.jbpm.graph
      Node.enter
      1. org.jbpm.graph.def.Action.execute(Action.java:127)
      2. org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:282)
      3. org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:239)
      4. org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:211)
      5. org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:194)
      6. org.jbpm.graph.def.Transition.take(Transition.java:134)
      7. org.jbpm.graph.def.Node.leave(Node.java:447)
      8. org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:135)
      9. org.jbpm.graph.node.Decision.execute(Decision.java:162)
      10. org.jbpm.graph.def.Node.enter(Node.java:357)
      10 frames
    4. 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
    5. Hibernate
      JavassistLazyInitializer.invoke
      1. org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
      1 frame