Skip to Content
0

xception: Invalid char #0x0 (:main:, row:15254, c~ We are getting Error in MONI

Apr 27, 2017 at 07:42 AM

39

avatar image
Former Member

Hi Experts,

This is the file to file scenario while processing file from legacy to pi we are getting below error in MONI. When we take the file from moni we are seeing some symbols like CONE.WASH.HEADER.PT SC&WA/HEX.HD in the fileds but while down load the file from AL11 in the .txt we are not seeing any symbols like & ,>,< in the file. Can you please provide your valuable solutions because we are getting this error in prod. we are getting this issue for not all files some files only.

<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code> <SAP:P1>com/sap/xi/tf/_MM_FAI_</SAP:P1> <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2> <SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.ParserE</SAP:P3> <SAP:P4>xception: Invalid char #0x0 (:main:, row:15254, c~</SAP:P4> <SAP:AdditionalText/> <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_FAI_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0x0 (:main:, row:15254, c~ </SAP:Stack>

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Apr 27, 2017 at 11:24 AM
0

Hi Prasad,

This is a simple special character issue. You sender file contains some data that is not supported in xml communication.

You need to replace them with ampersand like & with & etc. or else if you have no provision to change this from source end then, take it as it is and use multiple mapping in PI. One java mapping to replace to special characters and then graphical mapping to map it to the target structure (If you need to do data mapping with target structure parameters).

Thanks,

Apu

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Apr 27, 2017 at 01:41 PM
0

Hi Apu Das,

Thanks for replying ....

if we found any special characters in the file we can replace them but when i am downloading the file from AL11 .txt i am not able to find any special characters in the file .

i have used notepad++ tool .

Thanks,

Prasad.

Share
10 |10000 characters needed characters left characters exceeded