on 07-31-2008 1:51 PM
Dear friends I am having the following erro when I try to run my idoc to java proxy scenario.Idoc is bringing in values as string and my output message type is having boolean values,int values and string values also.
This is the error description
Delivery of the message to the application using connection JPR failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: Runtime exception during XML parsing: Error parsing document. Exception: Generic Exception: java.lang.NumberFormatException: For input string: " ": com.sap.aii.proxy.xiruntime.core.XmlInboundException: Runtime exception during XML parsing: Error parsing document. Exception: Generic Exception: java.lang.NumberFormatException: For input string: " ".
Hello,
the Runtime mapping has problems with converting empty string into an Number
create an UDF for eg. blank2zero with something like that:
String blank2zero(String str)
{
if (str.trim().equals("")) return "0";
return str;
}
Regards
Dieter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi arjun,
Check is JPR status is green in the Adapter framework. i.e RWB->Component Monitoring->Adapter Monitoring
Also check RWB->Message Monitoring->Message Display Tool ->Audit Log.
regards
srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check for the fields that are of type Number.
Some source fields contains invalid number and due to this you are getting java.lang.NumberFormatException:
eg.
source (String) = 123AA mapped to target (int). In this case java.lang.NumberFormatException will be thrown at runtime
Thanks
Farooq
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.