Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12574

Got FEEL/SCALA-01008 when inputExpression is 'function' on 7.13.0

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Unresolved
    • L3 - Default
    • None
    • 7.13.0
    • dmn-engine
    • None

    Description

      Step to reproduce

      • UseĀ org.camunda.bpm.dmn version 7.13.0
      • Create a dmn file with inputExpression is function, for example:
      <dmn:input id="_83CB7098-E65E-4CD8-B8AA-5991D23BAEA2">
          <dmn:inputExpression id="_B67DF868-5121-40F6-9308-5E4C4584EDA2" typeRef="string">
              <dmn:text>function</dmn:text>
          </dmn:inputExpression>
      </dmn:input>
      

      I also provide a sample project, dmntest.zip file.

      • Execute dmn
      • When it run, I got the following error
      Exception in thread "main" org.camunda.bpm.dmn.feel.impl.FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression 'function': [1.9] error: '(' expected but end of source found
      
      function
              ^
      	at org.camunda.bpm.dmn.feel.impl.scala.ScalaFeelLogger.evaluationException(ScalaFeelLogger.java:77)
      	at org.camunda.bpm.dmn.feel.impl.scala.ScalaFeelEngine.evaluateSimpleExpression(ScalaFeelEngine.java:82)
      	at org.camunda.bpm.dmn.engine.impl.evaluation.ExpressionEvaluationHandler.evaluateFeelSimpleExpression(ExpressionEvaluationHandler.java:130)
      	at org.camunda.bpm.dmn.engine.impl.evaluation.ExpressionEvaluationHandler.evaluateExpression(ExpressionEvaluationHandler.java:59)
      	at org.camunda.bpm.dmn.engine.impl.evaluation.DecisionTableEvaluationHandler.evaluateInputExpression(DecisionTableEvaluationHandler.java:193)
      	at org.camunda.bpm.dmn.engine.impl.evaluation.DecisionTableEvaluationHandler.evaluateInput(DecisionTableEvaluationHandler.java:122)
      	at org.camunda.bpm.dmn.engine.impl.evaluation.DecisionTableEvaluationHandler.evaluateDecisionTable(DecisionTableEvaluationHandler.java:104)
      	at org.camunda.bpm.dmn.engine.impl.evaluation.DecisionTableEvaluationHandler.evaluate(DecisionTableEvaluationHandler.java:81)
      	at org.camunda.bpm.dmn.engine.impl.DefaultDmnDecisionContext.evaluateDecision(DefaultDmnDecisionContext.java:85)
      	at org.camunda.bpm.dmn.engine.impl.DefaultDmnEngine.evaluateDecisionTable(DefaultDmnEngine.java:115)
      	at org.camunda.bpm.dmn.engine.impl.DefaultDmnEngine.evaluateDecisionTable(DefaultDmnEngine.java:105)
      	at com.example.dmntest.Main.main(Main.java:23)
      
      • It can be running without the error if the org.camunda.bpm.dmn was changed to version 7.12.0

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              thorben.lindhauer Thorben Lindhauer
              guitarpawat Pawat Nakpiphatkul
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Salesforce