AnsweredAssumed Answered

URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "] "

Question asked by chesa13 Employee on Aug 25, 2015

When executing the ODATA calls through LISA setp facing the following error "URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "] ""

The request from the Reest Step is

"http://<<sever>>:8080/ca-nim-sm/odata/default/v2/Request"

Response

{

"d" : {

"__metadata" : {

"uri" : "http://chesa13-scom2:8080/ca-nim-sm/odata/default/v2/Request('887a695284ce8e00e2536454d5deffa6')", "type" : "com_ca_integration_normalization_omodel.Request"

}, "updatedTimeStamp" : "2015-08-25T16:36:11+05:30", "status" : "active", "reportedByUserID" : "sreepriya", "launchInContext" : "<<LIC URL>>", "referenceNumber" : "REQ0010912", "creationUserID" : "user", "creationTimeStamp" : "2015-08-25T16:36:11+05:30", "impact" : "medium", "urgency" : "medium", "id" : "887a695284ce8e00e2536454d5deffa6", "description" : "create-desc-incident500", "priority" : "low", "updatedByUserID" : "user", "name" : "filterTestName876799556", "attachment" : {

"__deferred" : {

"uri" : "http://<<server>>:8080/ca-nim-sm/odata/default/v2/Request('887a695284ce8e00e2536454d5deffa6')/attachment"

}

}, "comment" : {

"__deferred" : {

"uri" : "http://<<server>>:8080/ca-nim-sm/odata/default/v2/Request('887a695284ce8e00e2536454d5deffa6')/comment"

}

}, "customProperties" : {

"__deferred" : {

"uri" : "http://<<server>>:8080/ca-nim-sm/odata/default/v2/Request('887a695284ce8e00e2536454d5deffa6')/customProperties"

}

}

}

}

 

 

Error stack:

 

2015-08-25 10:57:22,273Z (16:27) [GenericFilterFlows [Run1User1Cycle]/0] ERROR com.itko.util.HtmlUtils        - java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "] "

java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "] "

  at java.net.URLDecoder.decode(Unknown Source)

  at com.itko.util.HtmlUtils.encodeDecodeString(HtmlUtils.java:364)

  at com.itko.util.HtmlUtils.encodeDecodeString(HtmlUtils.java:334)

  at com.itko.util.HtmlUtils.encodeDecodeString(HtmlUtils.java:318)

  at com.itko.util.Parameter.toString(Parameter.java:410)

  at com.itko.util.ParameterList.toArgumentString(ParameterList.java:1054)

  at com.itko.util.ParameterList.toArgumentString(ParameterList.java:1025)

  at com.itko.util.ParameterList.toString(ParameterList.java:1016)

  at com.itko.util.properties.PropertyUtils.getDefaultStringForPropObject(PropertyUtils.java:80)

  at com.itko.util.properties.PropertyUtils.getStringForProperty(PropertyUtils.java:52)

  at com.itko.lisa.history.NodeExecHistory.processProp(NodeExecHistory.java:563)

  at com.itko.lisa.history.NodeExecHistory.notifyPropSet(NodeExecHistory.java:500)

  at com.itko.lisa.history.CycleExecHistory.notifyPropSet(CycleExecHistory.java:515)

  at com.itko.lisa.test.TestExec.setStateValue(TestExec.java:1507)

  at com.itko.lisa.test.TestExec.setStateValue(TestExec.java:1458)

  at com.itko.lisa.test.CommTrans.doSend(CommTrans.java:977)

  at com.itko.lisa.test.CommTrans.send(CommTrans.java:760)

  at com.itko.lisa.test.CommTrans.sendPOST(CommTrans.java:745)

  at com.itko.lisa.ws.rest.RESTNode.doSend(RESTNode.java:193)

  at com.itko.lisa.ws.rest.RESTNode.doWebTrans(RESTNode.java:153)

  at com.itko.lisa.ws.rest.RESTNodeBase.execute(RESTNodeBase.java:317)

  at com.itko.lisa.test.TestNode.executeNode(TestNode.java:988)

  at com.itko.lisa.test.TestCase.execute(TestCase.java:1149)

  at com.itko.lisa.test.TestCase.execute(TestCase.java:1065)

  at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1050)

  at com.itko.lisa.utils.ExecSubProcessNode.doFullExec(ExecSubProcessNode.java:314)

  at com.itko.lisa.utils.ExecSubProcessNode.execute(ExecSubProcessNode.java:233)

  at com.itko.lisa.test.TestNode.executeNode(TestNode.java:988)

  at com.itko.lisa.test.TestCase.execute(TestCase.java:1149)

  at com.itko.lisa.test.TestCase.execute(TestCase.java:1065)

  at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1050)

  at com.itko.lisa.test.TestCase.executeTest(TestCase.java:995)

  at com.itko.lisa.coordinator.Instance.run(Instance.java:173)

Outcomes