cancel
Showing results for 
Search instead for 
Did you mean: 

Attempt to process file failed with ClassCastException

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Ravi,

I think if you are talking about your earlier therad then its complaining about something in your adapter module. Can you test your adapter in Netweaver Developer studio and see whether it has any issues?

---Satish

Former Member
0 Kudos

Hi,

Can you explain the scenario.

Also, try the URL

http://host:port/mdt or http://host:port/RWB

Warm regards,

Venki

Former Member
0 Kudos

Hi

I have done file to file scenario. I want to avoid the duplicate file means reading the file with same file name again and again. For this i have written on adapter module program. I dont want to use " Adapter Specific Properties".

Now i have given the module program which i have created in Module Name of sender communication channel. But have checked in audit log there i am getting the <b>Attempt to process file failed with ClassCastException</b> exception. Can u please tell me how to resolve this problem

Best Regards

Ravi shankar B

Former Member
0 Kudos

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=...ValidationsinSAPXI-ACaseStudy.pdf

---Satish

Former Member
0 Kudos

Hi

I dont bother about whether data same or not. If file name is same i have to send an error message for that i need to write a adpater module programe.This is my requirement

Best Regards

Ravi Shankar B

Former Member
0 Kudos

Hi

I have given <b>SAP XI Sample/ConvertCRLFfromToLF</b> in-build module which has given by sap in place of Module Name. This is not returning any trace or audit log. Can u tell me how to know the Module Processer and Adapter SPs.

Best Regards

Ravi Shankar B