d David
on

 

Sourced file: inline evaluation of: ``!(EXDOSE != null) || ((EXDOSE != null) && (compare(EXDOSE, 0, ">=")));'' : Typed variable declaration : Method Invocation lhs.compareTo : at Line: 1 : in file: inline evaluation of: ``boolean compare(lhs, rhs, operator) { if(lhs == null || rhs == null) { return fa . . . '' : lhs .compareTo ( rhs ) Called from method: compare : at Line: 1 : in file: inline evaluation of: ``!(EXDOSE != null) || ((EXDOSE != null) && (compare(EXDOSE, 0, ">=")));'' : compare ( EXDOSE , 0 , ">=" ) Target exception: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String at bsh.BSHMethodInvocation.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHVariableDeclarator.eval(Unknown Source) at bsh.BSHTypedVariableDeclaration.eval(Unknown Source) at bsh.BSHBlock.evalBlock(Unknown Source) at bsh.BSHBlock.eval(Unknown Source) at bsh.BshMethod.invokeImpl(Unknown Source) at bsh.BshMethod.invoke(Unknown Source) at bsh.BshMethod.invoke(Unknown Source) at bsh.Name.invokeLocalMethod(Unknown Source) at bsh.Name.invokeMethod(Unknown Source) at bsh.BSHMethodInvocation.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHBinaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHBinaryExpression.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at org.opencdisc.validator.rules.ConditionalRule.performValidation(ConditionalRule.java:103) at org.opencdisc.validator.rules.GeneralRule.validate(GeneralRule.java:238) at org.opencdisc.validator.ValidationEngine.process(ValidationEngine.java:615) at org.opencdisc.validator.ValidationEngine.run(ValidationEngine.java:415) at org.opencdisc.validator.ThreadedValidationEngine.run(ThreadedValidationEngine.java:75)

Forums: Troubleshooting and Problems

t Tim
on March 27, 2009

Hi, You're experiencing this error because your EXDOSE column is defined as being an Integer and the program is erroneously not turning the zero in your expression into a comparable number in this case. Thank you for bringing this to our attention; it will be fixed shortly, and I'll let you know when you can download the patched version should you like to retry your tests. Sorry for the inconvenience. Regards, Tim
t Tim
on March 28, 2009

Hi, The issue indicated by the error message should hopefully be resolved now. Please download the latest version of the Validator to see if it addresses your problem, and let us know if you have any further issues or suggestions. Regards, Tim

Want a demo?

Let’s Talk.

We're eager to share and ready to listen.

Cookie Policy

Pinnacle 21 uses cookies to make our site easier for you to use. By continuing to use this website, you agree to our use of cookies. For more info visit our Privacy Policy.