Skip to Content
avatar image
Former Member

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

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>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 27, 2017 at 11:24 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 27, 2017 at 01:41 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded