Attempt to process file failed with ClassCastException

Hi
I have checked in <b>http://host:por/MessageSystem</b> there i got the following error...
<b>Attempt to process file failed with ClassCastException</b>
Can any one please tell me how to resolve the problem
Best Regards
Ravi Shankar B

Ravi,
I dont think it is feasible. Eventhough you have two files with the same name do you have the data same? Practically it should not be. Let us know your complete requiremens. Also see this link for some help on file validations:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fxi%2fxi-design_configuration%2ffileValidationsinSAPXI-ACaseStudy.pdf
---Satish

Similar Messages

  • Attempt to process file failed with Exception in XML Parser-format problem

    Hi all,
    Iam getting an unusual error in the J2EE stack in XI.
    And the message is:
    006-11-30 17:31:07 Error Attempt to process file failed with Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)(:main:, row=1, col=1044002) -> com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)' 2006-11-30 17:31:07 Error Exception caught by adapter framework: null 2006-11-30 17:31:07 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    My scenerio iam posting IDOC to a flat file with content conversion in the receiver side,the mapping got executed successfully and in the audit log i found that the error was after the 'Start converting XML document content to plain text'.
    This means that error occured during content conversion of XML to the prescribed file format.
    Can anyone suggest any better approach using which we may trace the junk data in IDoc. Manual adhoc approach could take time and is error prone.
    Thanks in advance...
    karun

    Hi Bhavesh,
    Thanks for the early reply. I checked the mapping and everything is fine and the output is also in valid XML format.
    The audit log shows that the mapping got executed successfully and the error is after the step 'Start converting XML document content to plain text '. Is there any constraint in the file adapter regarding the message size for parsing.
    2006-11-30 17:30:50 Success Transfer: "BIN" mode, size 2912595 bytes, character encoding -
    2006-11-30 17:30:50 Success Start converting XML document content to plain text
    2006-11-30 17:31:07 Error Attempt to process file failed with Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)(:main:, row=1, col=1044002) -> com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)'
    2006-11-30 17:31:07 Error Exception caught by adapter framework: null
    2006-11-30 17:31:07 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    2006-11-30 17:31:07 Success The asynchronous message was successfully scheduled to be delivered at Thu Nov 30 17:36:07 GMT 2006.
    2006-11-30 17:31:07 Success The message status set to WAIT.
    2006-11-30 17:31:08 Success Acknowledgement creation triggered for type: SystemErrorAck
    2006-11-30 17:31:08 Success Acknowledgement sent successfully for type: SystemErrorAck
    2006-11-30 17:36:08 Success Retrying to deliver message to the application. Retry: 1

  • Attempt to process file failed with java.lang.StringIndexOutOfBoundsExcep..

    Hello All,
       I am implementing file2file with file going from shared folder to FTPS server.
    I am using TLS and X.509 certificate in file receiver communication channel.
    when I implemented my scenario, this is the error its throwing :
    Success : Connect to FTP server "my ftp address", directory "/TEST/"
    Error : Attempt to process file failed with java.lang.StringIndexOutOfBoundsException: String index out of range: 3
    I know this error is caused when java expects the 3 character length string and if its getting more than that... Does any faced this kindaa problem before...Any help is greatly appreciated....Obviously even points....
    Thanks,
    Ravi

    There is no custom code at all? No mappings, no custom modules, no pre/post processing commands?
    Also, check if you get this error when sending to ftps server without certificate (or with another certificate). It may be an incompatibility issue with certificate.
    Did you import the .pfx (or .p12) file in KeyStorage Service?
    Regards,
    Henrique.

  • Attempt to process file failed with java.io.IOException

    Hi,
    The scenario is from Idoc to flat file and messages are getting processed successfully in XI. but in receiver communication channel error is coming:
    Attempt to process file failed with java.io.IOException: Error during STOR/APPE epilogue: com.sap.aii.adapter.file.ftp.FTPEx: 426 Connection closed; transfer aborted.
    MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error during STOR/APPE epilogue: com.sap.aii.adapter.file.ftp.FTPEx: 426 Connection closed; transfer aborted.: java.io.IOException: Error during STOR/APPE epilogue: com.sap.aii.adapter.file.ftp.FTPEx: 426 Connection closed; transfer aborted.

    Hi,
    If you are using FTP then,
    1. Make sure that the FTP sever does not have issues with Firewall or a Proxy server access.
    2. Also verify that the specified FTP user ID has the necessary WRITE or overwrite authorization?
    Regards,
    Sarvesh
    ***Reward points, if it helped you.

  • Attribute change run process type failed with short dump

    Hi all,
    In the process chain Attribute change run process type failed with short dump. I checked the locks in SM12 but there are no locks associated. I checked in the attribute change run screen through RSA1 -> infoobject list but there are no infoobjects there. I think the ACR was completed successfully, still the process type in the PC was in red colour. What to do and let me know what happened here.
    Thanks,
    Jack

    1. This kind of scenario is extremely rare but it happens sometimes. It might be the case that 2 attribute change runs are running at the same time.
    2. Same IO is being used in Differnet PC and getting activated.
    I think if this frequently occurs you need to check at the time of locking all running jobs and see whether anywhere else or simultaneously 2 ACR are running.
    Please do close the thread if that answers your questions. Please help us keep the forums clean and open useful information only.
    For more information search on help.sap.com and you will get lots of material.
    Regards.
    Den

  • Attribute Change Run in Process Chain failed with SQL 942 error

    Hi,
    Attribute change run in th eprocess chain failed with the message " SQL Error 942" and ran succesfully after repeating the step.Searched in Forums for similar error but the solutions were not apt.
    Any pointers would be of great help!!
    Thanks in advance,
    Bhagyarekha.

    Hi Bhagyarekha,
    The reason behind that error could be:
    An attempt is made to activate a characteristic whose compounding was replaced and whose navigation attributes were simultaneously deleted. The replacement of the compounding temporarily deletes the M view of the characteristic during internal activation. The process of deleting navigation attributes involves converting the attribute SID tables. However, the M-view of the characteristic, which has just been deleted, is needed for this conversion.
    Check this SAP Note:
    Note 684405 - Replacing the compounding and deleting navigation attr.
    Hope it helps.
    Veerendra.

  • How to design the scenario? i have process files sequentially with timegap

    Hi Folks,
    I am really looking for one requirement like, Sender file adapter has to pick multiple files by file name based with some time gap? Can we?normally i am getting 40 files in the source directory with some time gap like 1hr and 2 hours.but my in some situations like system got down and if the server stopped for some refresh work then 2 days files will come to source directory and after system is sap pi try to process files at a time but the source side can,t process more than 4 files at a time
    in tht case the messages are not processed they are in schedule mode only.
    I have got one BPM in this, I have tried with Process mode : Name and Date, with wait step on BPM, but no use. The way how PI behaving, if 40 files in file directory, it is picking all files in one shot. Start processing but not in order. if it is process also the SNC system can't process 4 at time.it will process files with some time gap.
    The problem is on Receiver system side. The receiver system is SNC system, if old data receives later than earlier date data; we get data obsolete application error.
    Ex: If I receive 25th and 26th files, first I need to process 25th first on PI sends to SNC, I need to give some time gap and pick another file or even PI picks and process 26th file, no problem but I need to give some time gap to send SNC to this 26th date file?
    Please how guys, throw me your great ideas
    Thanks in advance!!
    Regards
    SG

    Hi Seshagiri,
    first problem is to process the files sequentially by XI- Is it posiible to put a sequence number at end of each file as its last line? This number you can process within XI and hold on messages in a container unless all files with lower sequence number has already been processed thus you can also prevent receiver SNC system to receive files out of order. The sequence number has to be put before posting the file in XI.
    regards
    Anupam
    Edited by: anupamsap on Nov 25, 2010 7:48 AM

  • Process chain failing with error 8 in BI 7.0

    Hi ,
    we have upgrade the dev to BI 7.0 and I am trying to execute the process chains but it is failing with a error 8 due to the step of the job BI_PROCESS is in the name of a old user. So i have changed in process chain -Attrbutes--Execution user --- current user.So the chain has started but it has so many chains inside the Meta chain it looks i need to go to each of them and change as cyurrent user.
    But is there some place where I can change globally to a Batch user/current user for these process chain in BI 7.0.If so pl let me know.

    Hi,
    user SM37 to identify all BI_PROCESS jobs and change the User of the step in the jobs (they all should only have one step).
    bye
    Frank

  • When editing .ccp file fails with "corrupted package" error

    Hello.
    I usually créate packages on my local computer, and then copy them to a network drive, for deployment.
    However when I try to edit a package I made, the creative cloud packager fails with a "Selected package is corrupt" message. I tried to map the folder to a network drive, or copy to a local folder but it doesn't work.
    It seems to only work if I copy it in the very same folder where it was created. However, I have a few packages of which i don't knwo the original location.
    What can I do to edit this packages?
    Thanks.

    Hi alisterblack.. Thanks for your response.
    But, how can I know the cause of "selected package  is corrupt"..? I never touch that .ccp file.
    I downloaded the full package some months ago in one virtual machine which already been deleted. I got the full package of 13 GB then I moved them to my file server and now it is successful to be deployed with 2,5 hours to complete each computer. So this full package is valid, however the time to deploy is unacceptable and I need to edit the package. How come your package manager refer to cache instead of the full package that is already downloaded completely?
    Can you make your Adobe Package Manager has ability to edit my downloaded package? Or alternatively, is there any other method to deploy/install the selected Adobe program one by one?
    I hope you know how it is
    -when it takes 2,5 hours to complete the installation to a client computer with Core i7, 16 GB of RAM
    -when it takes the whole night (more than 7 hours) to download some gigabytes of your packaged while my internet connection is 80 Mbps
    -when I re-download to re-build the package, the chance to success is 50% with the same error message [ERROR] AdobePackageBuilder - Failed to unzip the file blablabla..
    Thank you for your understanding.

  • Process chain failed with Error-Status Change of Process ABAP ZL321NIMIMUUT

    Hi,
    process chain got failed with Error --**Status Change of Process ABAP ZL321NIMIMUUT
                                                                   Save Status and Trigger Events if Appropriate**

    Hi Neha,
    When we do the repeat after right click then we are getting this messege"--**Status Change of Process ABAP ZL321NIMIMUUT
    Save Status and Trigger Events if Appropriate**"
    I have come to know that there is one ABAP programe when we go to manage varient.
    ABAP Programme"ZBWR_ZMYYNNINOH_CSV_CHANGE"

  • File failing with ICM_HTTP_CONNECTION_BROKEN error in SAP PI

    Hi Expert,
    We have file to proxy senario in our production environment where, while sending the file from PI to ECC syestem via proxy, it fails below with error in call adapter step.
    Have tried with many options mentioned in scn.sap.com site like
    1. Increasing the HTTP ICM PROCTIMEOUT paramaters.
    2. restarted ICM in both sender and receiver system.
    But still it is not resolved yet. Please help.
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>
      <SAP:P1>401</SAP:P1>
      <SAP:P2>ICM_HTTP_CONNECTION_BROKEN</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><html><head><title>Application Server Error</title> <style type="text/css"> body { font-family: arial, sans-serif;} </style> </head> <BODY text="#172972" link="#808080" vlink="#808080" alink="#8e236b" bgcolor=white leftmargin="0" topmargin="0" marginheight="0" marginwidth="0"> <table height="61" width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td background="http://cimbp05.hsec.emeadc001.philips.com:8005/sap/public/icman/img/bluebar_tile.gif" height="30"><table> <tr> <td width=5></td> <td width=20% nowrap><font face=arial size="-1" color=white>SAP NetWeaver Application Server </font></td><td width=75% align="right" nowrap><font face=arial size="-1" color="white"><a href="http://help.sap.com/">Help </font></td><td width=5% nowrap></font></td> </tr></table> </td><td rowspan=2 width=122 height=61 valign=top><img src= "http://cimbp05.hsec.emeadc001.philips.com:8005/sap/public/icman/img/theme.jpg" width=122 height=61 border=0 alt="SAP"></td> </tr><tr><td background="http://cimbp05.hsec.emeadc001.philips.com:8005/sap/public/icman/img/graybar_tile.jpg" height="31">  </td></tr> </table> <br><br> <table width=800> <tr><td width=50 nowrap> </td><td> <H2>500 Network connection broken</H2><br><hr> <table border="0"> <tr><td>Error:</td><td>-8</td></tr> <tr><td>Version:</td><td>7210</td></tr> <tr><td>Component:</td><td>ICM</td></tr> <tr><td>Date/Time:</td><td>Mon May 4 14:12:57 2015 </td></tr> <tr><td>Module:</td><td>icxxthrio_mt.c</td></tr> <tr><td>Line:</td><td>848</td></tr> <tr><td>Server:</td><td>cimyp25_MYP_25</td></tr> <tr><td>Error Tag:</td><td>{-}</td></tr> <tr><td>Detail:</td><td>Connection to partner broken</td></tr> </table> <p></p> </td></tr></table> <table><tr><td width=50 nowrap></td> <td nowrap><FONT SIZE=-1><a href="http://www.sap.com/">&copy; 2001-2009, SAP AG</a></FONT> </td></tr></table> </body></html></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while receiving by HTTP (error code: 401, error text: ICM_HTTP_CONNECTION_BROKEN)</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
    Regards,
    Vishnu Srivastava

    Hi Praveen,
    As per the solution mentioned in the link we have checked for the icm/HTTP/max_request_size_KB parameter in Quality and production environment. It is maintained as icm/HTTP/max_request_size_KB= 102400.
    Also we are able to process the same file in quality but not in production though the parameters are same.
    Please help..!!
    Regards,
    Vishnu

  • Attempting to copy files fails(i can't add files to the media folder)

    I am using Itunes 10 on windows 7 64 bit and my problem is :
    I changed the default storage directoy (because my first HDD is too small )
    to the second disk of mine , by going to edit,advanced preferences and changing the path and clicking "Copy files to my itunes media folder when adding to libray"(i need this option)"
    Since then whenever i try to add something to the library(it can add to the library its the extra copy feature in whcih it fails) i get the error
    "Attempting to copy to the disk "name of the disk" failed.You do not have enough access privileges for this operation."
    Please i need some help.Thanks

    mmick33 wrote:
    Itunes version 10.7  I could drag and drop tunes from Itunes recently added folder to my iphone folder.  with upgrade to version 11 when i try to drag and drop it gives me the (/) symbol thus not able to perform this function that I could in old ver 10.7 what changed?
    I don't know, but in general I would advise adding content to the library, then adding the content from the library to the device. Syncing with selected playlists is easiest as you can manage the content when the device isn't connected and you'll be able to restore the selections if you need to restore the device.
    tt2

  • Download file fails with 404 error  in SLD export of business system

    Hi all,
    We just upgraded to 2004s, and when I try to export BS to a file, I get a 404 resource does not exist error. I wanted to find out which service needs to be activated in either the J2EE stack or the abap stack to allow the download.
    thanks,
    chris

    Hi,
    1) Did you maintain Client, userid, password, and lang information in SICF transaction -> sap/xi/engine ? Double click on service and check whether you have entered correct information.
    2)Access the trace file and search for traces with severity ERROR, WARNING or stack traces.
    If we do not find an error in the log file or the error message does not explain the problem sufficiently, access the default Trace. The default trace file contains detailed messages for developers. Extract the relevant trace information e.g. using the time stamp or the message ID.
    If this does not explain the problem in more detail, increase the trace level and reproduce the problem. Then restart message processing using the message display tool. Mark the message and select repeat.
    3)Check the Note-803145
    4) 404 is an HTTP response code that indicates that the resource in question could not be found. Usually this is due to an incorrect URL check all URLs.
    5)The SOAP message that sent might not have an envelope.
    Regards
    Agasthuri Doss

  • Import Map file failes with single/Multiple Occurance

    Hi All,
    Using a file I mapped the source and target structures.. The source file has one multiple occurance node . so I used look up option in source table and mapped with target fields...saved the map..
    When I used the following XML file .. I used the same map created befoe... I see the Remote System fields are not failed to map to target structure.. How can I get rid of this issue....
    <Product>
    --<Name>Rajeev</Name>
    --<REMOTE_SYSTEM>
    <Z_MDM_REMOTE_SYSTEM>
           <Z_MDM_SYSTEM_NAME>Panaroma AW Customer ID</Z_MDM_SYSTEM_NAME>
         <Z_MDM_VALUE>600013</Z_MDM_VALUE>
         <Z_MDM_VALUE1>600011</Z_MDM_VALUE1>
         <Z_MDM_VALUE2>600012</Z_MDM_VALUE2>
    </Z_MDM_REMOTE_SYSTEM>
    --<REMOTE_SYSTEM>
    </Product>
    Using above I saved the map.. Its fine.. I am able to import data in to MDM..
    When the file has multiple values of remote system as shown below then field are unmapped... vice versa is also the same..
    <Product>
    --<Name>Rajeev</Name>
    --<REMOTE_SYSTEM>
    <Z_MDM_REMOTE_SYSTEM>
           <Z_MDM_SYSTEM_NAME>Panaroma AW Customer ID</Z_MDM_SYSTEM_NAME>
         <Z_MDM_VALUE>600013</Z_MDM_VALUE>
         <Z_MDM_VALUE1>600011</Z_MDM_VALUE1>
         <Z_MDM_VALUE2>600012</Z_MDM_VALUE2>
    </Z_MDM_REMOTE_SYSTEM>
    <Z_MDM_REMOTE_SYSTEM>
           <Z_MDM_SYSTEM_NAME>Panaroma AW Customer ID</Z_MDM_SYSTEM_NAME>
         <Z_MDM_VALUE>600013</Z_MDM_VALUE>
         <Z_MDM_VALUE1>600011</Z_MDM_VALUE1>
         <Z_MDM_VALUE2>600012</Z_MDM_VALUE2>
    </Z_MDM_REMOTE_SYSTEM>
    --<REMOTE_SYSTEM>
    </Product>
    Do I need to create a seperate map for multiple iteration and single occurance..OR missing some thing? Please advice..
    Thanks
    Rajeev

    HI Ravi,
    May be I took the wrong example..
    I am not talking about remote systems... I am talking about XML source file.. If the XML source file consist of single occurance of any qualifier table then those qualifier table fields are not mapping.. IF I used the base file as multiple occurance Qualifier table....
    In the same way if I use base file as single occurance of Qualifer table .. Qualifier Fields are not getting mapped if the source file is single occurance..
    Suppose :If I use the base file as this and save the map.. I am able to import files whcih are single occurance of EMAIL...
    Fields are not getting mapped if the EMAIL occurnace is multiple.....
    <Product>
    --<Name>Rajeev</Name>
    --<EMAIL>
    <Z_MDM_EMAIL>
    <ID>ABC_yahocom</ID>
    <TYPE>TEMP</TYPE>
    </Z_MDM_EMAIL>
    --</EMAIL>
    </Product>
    In the same way: If I use the following XMl as base and create a map and save it.. Able to import files which had email occurance multiple.. Unable to import data and the fields are not mapped ......
    <Product>
    --<Name>Rajeev</Name>
    --<EMAIL>
    <Z_MDM_EMAIL>
    <Z_MDM_EMAIL>
    <ID>ABC_yahocom</ID>
    <TYPE>TEMP</TYPE>
    </Z_MDM_EMAIL>
    <Z_MDM_EMAIL>
    <ID>CDE_yahocom</ID>
    <TYPE>TEMP</TYPE>
    </Z_MDM_EMAIL>
    --</EMAIL>
    </Product>
    Please advise.. Thanks Rajeev.

  • Process chain failed with RSDMD199

    Hi All,
    While loading data through process chain, which includes master data and transactional data,
    the job failed.
    and the message is : RSDMD199
    also when i checked in details tab in RSMO, i got meaasage like:
    3510 data records in table /BIC/PZORD_NUM marked for deletion
    also this job runs with 3 data packages, out of which 1st data package failed while updating in target.
    But completed data package also has the same message like
    3510 data records in table /BIC/PZORD_NUM marked for deletion
    So can anybody explain me which type of error this is.......???
    Thanks in advance,
    Vishal

    hi,
    see  Note 788588 which addresses the RSDMD199 error.
    So shortly summarizing the problem of RSDMD 199.This error occurs due
    to following reasons:
    1. Master Data tables or indexes are inconsistent at the database level.
    2. Master Data is inconsistent for the characteristic (RSRV check)
    3. Same characteristic value spread across different datapackages and
    they are loaded in parallel.
    4. Parallel loading of time-dependent attributes or texts.
    5. Delta update of an ODS object into a characteristic
    6. Simultaneous data load into the following objects :
        a. Navigational Attributes of the characteristic
        b. Compounding Objects of the characteristic.
        c. Characteristics that are references of this one.
        d. Trasaction Data - Into Info Cubes that contain this
           characteristics
        e. ODS request activations - When the chacteristic is part of the
        ODS object.
    Some of the above points are described in detail in the note 668466.
    Colin

Maybe you are looking for