java.lang.RuntimeException: uncomparable values <<TESTVALUE>> and <<100.0>>

Stack Overflow | PPK | 9 months 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

    Drools 6.4.0 fails with error uncomparable values

    Stack Overflow | 9 months ago | PPK
    java.lang.RuntimeException: uncomparable values <<TESTVALUE>> and <<100.0>>

    Root Cause Analysis

    1. java.lang.RuntimeException

      uncomparable values <<TESTVALUE>> and <<100.0>>

      at org.mvel2.math.MathProcessor.doOperationNonNumeric()
    2. org.mvel2.math
      MathProcessor.doOperations
      1. org.mvel2.math.MathProcessor.doOperationNonNumeric(MathProcessor.java:274)
      2. org.mvel2.math.MathProcessor._doOperations(MathProcessor.java:234)
      3. org.mvel2.math.MathProcessor.doOperations(MathProcessor.java:79)
      3 frames
    3. org.mvel2.ast
      BinaryOperation.getReducedValueAccelerated
      1. org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:117)
      1 frame
    4. org.mvel2
      MVELRuntime.execute
      1. org.mvel2.MVELRuntime.execute(MVELRuntime.java:85)
      1 frame
    5. org.mvel2.compiler
      CompiledExpression.getValue
      1. org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123)
      2. org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119)
      2 frames
    6. org.mvel2
      MVEL.executeExpression
      1. org.mvel2.MVEL.executeExpression(MVEL.java:929)
      1 frame
    7. Drools :: Core
      MVELSafeHelper$RawMVELEvaluator.executeExpression
      1. org.drools.core.util.MVELSafeHelper$RawMVELEvaluator.executeExpression(MVELSafeHelper.java:496)
      1 frame