org.mvel.ConversionException: unable to resolve property: cannot convert <> to a numeric type

Stack Overflow | skrtxao | 3 months ago
  1. 0

    Issue casting a string to number with MVEL

    Stack Overflow | 3 months ago | skrtxao
    org.mvel.ConversionException: unable to resolve property: cannot convert <> to a numeric type

    Root Cause Analysis

    1. org.mvel.ConversionException

      unable to resolve property: cannot convert <> to a numeric type

      at org.mvel.math.IEEEFloatingPointMath.getBigDecimalFromType()
    2. org.mvel.math
      IEEEFloatingPointMath.doOperation
      1. org.mvel.math.IEEEFloatingPointMath.getBigDecimalFromType(IEEEFloatingPointMath.java:424)
      2. org.mvel.math.IEEEFloatingPointMath._doOperations(IEEEFloatingPointMath.java:87)
      3. org.mvel.math.IEEEFloatingPointMath.doOperation(IEEEFloatingPointMath.java:43)
      3 frames
    3. org.mvel.util
      ParseTools.doOperations
      1. org.mvel.util.ParseTools.doOperations(ParseTools.java:854)
      1 frame
    4. org.mvel.ast
      BinaryOperation.getReducedValueAccelerated
      1. org.mvel.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:21)
      1 frame
    5. org.mvel
      ExecutableAccessor.getValue
      1. org.mvel.ExecutableAccessor.getValue(ExecutableAccessor.java:45)
      1 frame
    6. org.mvel.ast
      IfNode.getReducedValueAccelerated
      1. org.mvel.ast.IfNode.getReducedValueAccelerated(IfNode.java:31)
      1 frame
    7. org.mvel
      MVEL.executeExpression
      1. org.mvel.ExecutableAccessor.getValue(ExecutableAccessor.java:50)
      2. org.mvel.MVEL.executeExpression(MVEL.java:271)
      2 frames
    8. com.capeclear.mediation
      InternalUtils.evaluateExpression
      1. com.capeclear.mediation.InternalUtils.evaluateExpression(InternalUtils.java:630)
      1 frame
    9. com.capeclear.assembly
      AssemblyUtils.evaluateExpression
      1. com.capeclear.assembly.impl.AssemblyUtils.evaluateExpression(AssemblyUtils.java:1424)
      1 frame
    10. com.capeclear.mediation
      MediationTube.processRequest
      1. com.capeclear.mediation.impl.mediators.EvalStep.process(EvalStep.java:82)
      2. com.capeclear.mediation.impl.MediationStepDestinationImpl.processRequest(MediationStepDestinationImpl.java:128)
      3. com.capeclear.mediation.impl.cc.MediationTube.doProcessRequest(MediationTube.java:140)
      4. com.capeclear.mediation.impl.cc.MediationTube.processRequest(MediationTube.java:96)
      5. com.capeclear.mediation.impl.cc.MediationTube.processRequest(MediationTube.java:35)
      5 frames
    11. com.sun.tubes
      Fiber.runSync
      1. com.sun.tubes.Fiber.__doRun(Fiber.java:602)
      2. com.sun.tubes.Fiber._doRun(Fiber.java:556)
      3. com.sun.tubes.Fiber.doRun(Fiber.java:541)
      4. com.sun.tubes.Fiber.runSync(Fiber.java:435)
      4 frames
    12. com.capeclear.mediation
      DefaultMediationMessageProcessor.process
      1. com.capeclear.mediation.impl.DefaultMediationMessageProcessor.doProcessMessage(DefaultMediationMessageProcessor.java:473)
      2. com.capeclear.mediation.impl.DefaultMediationMessageProcessor.process(DefaultMediationMessageProcessor.java:308)
      2 frames
    13. com.capeclear.transport
      LocalOutTransport.processRequest
      1. com.capeclear.transport.impl.vm.LocalOutAssemblyEndpoint.processRequest(LocalOutTransport.java:507)
      2. com.capeclear.transport.impl.vm.LocalOutTransport.processRequest(LocalOutTransport.java:283)
      2 frames
    14. com.capeclear.mediation
      MediationTube.processRequest
      1. com.capeclear.mediation.impl.cc.MediationTube.doProcessRequest(MediationTube.java:140)
      2. com.capeclear.mediation.impl.cc.MediationTube.processRequest(MediationTube.java:96)
      3. com.capeclear.mediation.impl.cc.MediationTube.processRequest(MediationTube.java:35)
      3 frames
    15. com.sun.tubes
      Fiber.runSync
      1. com.sun.tubes.Fiber.__doRun(Fiber.java:602)
      2. com.sun.tubes.Fiber._doRun(Fiber.java:556)
      3. com.sun.tubes.Fiber.doRun(Fiber.java:541)
      4. com.sun.tubes.Fiber.runSync(Fiber.java:435)
      4 frames
    16. com.capeclear.mediation
      DefaultMediationMessageProcessor.process
      1. com.capeclear.mediation.impl.DefaultMediationMessageProcessor.doProcessMessage(DefaultMediationMessageProcessor.java:473)
      2. com.capeclear.mediation.impl.DefaultMediationMessageProcessor.process(DefaultMediationMessageProcessor.java:308)
      2 frames
    17. com.workday.mediation
      SlaveRequestProcessor$1.run
      1. com.workday.mediation.slave.runtime.SlaveRequestProcessor$1.run(SlaveRequestProcessor.java:199)
      1 frame
    18. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames