java.lang.UnsupportedOperationException: Cannot convert expression to MX: size(A, 1)

  1. 0

    Optimal control of a boiler: using Fluid Library w. the DynamicPipe component using JModelica

    Stack Overflow | 3 months ago | Joakim B Petersen
    java.lang.UnsupportedOperationException: Cannot convert expression to MX: size(A, 1)
  2. 0

    python+pyspark: error on inner join with multiple column comparison in pyspark

    Stack Overflow | 3 months ago | Satya
    java.lang.UnsupportedOperationException: Cannot evaluate expression: count(1)
  3. 0

    Conversion bug (different behavior between java6 and java7)

    GitHub | 3 years ago | lviggiano
    java.lang.UnsupportedOperationException: Cannot convert 'invalid' to java.lang.Integer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    @DefaultValue("null") on Integer: Cannot convert 'null' to java.lang.Integer

    GitHub | 2 years ago | Gama11
    java.lang.UnsupportedOperationException: Cannot convert 'null' to java.lang.Integer
  6. 0

    How to compare two Joda time Periods

    Stack Overflow | 5 years ago | Persimmonium
    java.lang.UnsupportedOperationException: Cannot convert to Days as this period contains months and months vary in length

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Cannot convert expression to MX: size(A, 1)

      at org.jmodelica.optimica.compiler.FExp.toMX()
    2. org.jmodelica.optimica
      FVariable.findMXBindingExpressionIfPresent
      1. org.jmodelica.optimica.compiler.FExp.toMX(FExp.java:4516)
      2. org.jmodelica.optimica.compiler.FMaxExp.toMX(FMaxExp.java:560)
      3. org.jmodelica.optimica.compiler.FExp.toMXVector(FExp.java:4497)
      4. org.jmodelica.optimica.compiler.FAssignStmt.updateExpressionsAccordingToStatement(FAssignStmt.java:385)
      5. org.jmodelica.optimica.compiler.FFunctionDecl.generateFinalExpressionVector(FFunctionDecl.java:1365)
      6. org.jmodelica.optimica.compiler.FFunctionDecl.toMXFunction_compute(FFunctionDecl.java:2878)
      7. org.jmodelica.optimica.compiler.FFunctionDecl.toMXFunction(FFunctionDecl.java:2865)
      8. org.jmodelica.optimica.compiler.FFunctionCall.toMXVector(FFunctionCall.java:1578)
      9. org.jmodelica.optimica.compiler.FFunctionCallStmt.updateExpressionsAccordingToStatement(FFunctionCallStmt.java:391)
      10. org.jmodelica.optimica.compiler.FFunctionDecl.generateFinalExpressionVector(FFunctionDecl.java:1365)
      11. org.jmodelica.optimica.compiler.FFunctionDecl.toMXFunction_compute(FFunctionDecl.java:2878)
      12. org.jmodelica.optimica.compiler.FFunctionDecl.toMXFunction(FFunctionDecl.java:2865)
      13. org.jmodelica.optimica.compiler.FFunctionCall.toMXVector(FFunctionCall.java:1578)
      14. org.jmodelica.optimica.compiler.FFunctionCallStmt.updateExpressionsAccordingToStatement(FFunctionCallStmt.java:391)
      15. org.jmodelica.optimica.compiler.FFunctionDecl.generateFinalExpressionVector(FFunctionDecl.java:1365)
      16. org.jmodelica.optimica.compiler.FFunctionDecl.toMXFunction_compute(FFunctionDecl.java:2878)
      17. org.jmodelica.optimica.compiler.FFunctionDecl.toMXFunction(FFunctionDecl.java:2865)
      18. org.jmodelica.optimica.compiler.FFunctionCall.toMXVector(FFunctionCall.java:1578)
      19. org.jmodelica.optimica.compiler.FFunctionCall.toMX(FFunctionCall.java:1562)
      20. org.jmodelica.optimica.compiler.FDotSubExp.toMX(FDotSubExp.java:544)
      21. org.jmodelica.optimica.compiler.FVariable.parameterEquationToMXBindingExpression(FVariable.java:3807)
      22. org.jmodelica.optimica.compiler.FVariable.findMXBindingExpressionIfPresent(FVariable.java:3770)
      22 frames