Compiler should throw a meaningful error if <from>/<to> expression is empty
---------------------------------------------------------------------------

                 Key: ODE-648
                 URL: https://issues.apache.org/jira/browse/ODE-648
             Project: ODE
          Issue Type: Bug
          Components: BPEL Compilation/Parsing
    Affects Versions: 1.3.2, 1.2, 1.3.3, 2.0
            Reporter: Tammo van Lessen


If the expression is empty, the only error message is from the expression 
compiler and is quite confusing:

java.lang.IllegalStateException: XPath string and xpath node are both null
    at 
org.apache.ode.bpel.elang.xpath20.compiler.XPath20ExpressionCompilerImpl.doJaxpCompile.

Fixing this issue will also help if a copy and paste engineer added a BPEL 1.1 
<from expression="someexp"/> to a BPEL 2.0 process ;)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to