============================================================================ | Error in Script ============================================================================ | Step: Execute script (JSR-223) ---------------------------------------------------------------------------- | Message: bsh.TargetError: Sourced file: inline evaluation of: ``int request_number = 12345678; String request_id = "count " + lisa_vse . . . '' : at Line: 7 : in file: inline evaluation of: ``int request_number = 12345678; String request_id = "count " + lisa_vse . . . '' : ( String ) testExec .getStateValue ( request_id ) Target exception: java.lang.ClassCastException: Cannot cast java.lang.Integer to java.lang.String in inline evaluation of: ``int request_number = 12345678; String request_id = "count " + lisa_vse . . . '' at line number 7 ---------------------------------------------------------------------------- | Trapped Exception: bsh.TargetError: Sourced file: inline evaluation of: ``int request_number = 12345678; String request_id = "count " + lisa_vse . . . '' : at Line: 7 : in file: inline evaluation of: ``int request_number = 12345678; String request_id = "count " + lisa_vse . . . '' : ( String ) testExec .getStateValue ( request_id ) Target exception: java.lang.ClassCastException: Cannot cast java.lang.Integer to java.lang.String in inline evaluation of: ``int request_number = 12345678; String request_id = "count " + lisa_vse . . . '' at line number 7 | Trapped Message: javax.script.ScriptException: bsh.TargetError: Sourced file: inline evaluation of: ``int request_number = 12345678; String request_id = "count " + lisa_vse . . . '' : at Line: 7 : in file: inline evaluation of: ``int request_number = 12345678; String request_id = "count " + lisa_vse . . . '' : ( String ) testExec .getStateValue ( request_id ) Target exception: java.lang.ClassCastException: Cannot cast java.lang.Integer to java.lang.String in inline evaluation of: ``int request_number = 12345678; String request_id = "count " + lisa_vse . . . '' at line number 7 ---------------------------------------------------------------------------- STACK TRACE javax.script.ScriptException: bsh.TargetError: Sourced file: inline evaluation of: ``int request_number = 12345678; String request_id = "count " + lisa_vse . . . '' : at Line: 7 : in file: inline evaluation of: ``int request_number = 12345678; String request_id = "count " + lisa_vse . . . '' : ( String ) testExec .getStateValue ( request_id ) Target exception: java.lang.ClassCastException: Cannot cast java.lang.Integer to java.lang.String in inline evaluation of: ``int request_number = 12345678; String request_id = "count " + lisa_vse . . . '' at line number 7 at bsh.BshScriptEngine.evalSource(BshScriptEngine.java:97) at bsh.BshScriptEngine.eval(BshScriptEngine.java:61) at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264) at com.itko.lisa.test.ScriptExecHandler.executeScript(ScriptExecHandler.java:674) at com.itko.lisa.test.ScriptExecHandler.executeScript(ScriptExecHandler.java:427) at com.itko.lisa.test.UserScriptNode._execute(UserScriptNode.java:210) at com.itko.lisa.test.UserScriptNode.execute(UserScriptNode.java:175) at com.itko.lisa.test.TestNode.executeNode(TestNode.java:995) at com.itko.lisa.test.TestCase.execute(TestCase.java:1297) at com.itko.lisa.test.TestCase.execute(TestCase.java:1198) at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1183) at com.itko.lisa.test.TestCase.executeTest(TestCase.java:1124) at com.itko.lisa.coordinator.Instance.run(Instance.java:208) Caused by: java.lang.ClassCastException: Cannot cast java.lang.Integer to java.lang.String at bsh.Types.castError(Types.java:524) at bsh.Types.castError(Types.java:512) at bsh.Types.castObject(Types.java:502) at bsh.Types.castObject(Types.java:310) at bsh.BSHCastExpression.eval(BSHCastExpression.java:66) at bsh.BSHAssignment.eval(BSHAssignment.java:77) at bsh.Interpreter.eval(Interpreter.java:664) at bsh.Interpreter.eval(Interpreter.java:758) at bsh.Interpreter.eval(Interpreter.java:747) at bsh.BshScriptEngine.evalSource(BshScriptEngine.java:89) ... 12 more ============================================================================