cancel
Showing results for 
Search instead for 
Did you mean: 

Failed sending message to end point

Former Member
0 Kudos

Hi,

I have an advanced adapter engine scenario. I get this error message on the Receiver file channel

Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Tranmission failed. Reason: java.lang.NullPointerException:.

Why does this happen?

Cheers,

Earlence

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

did you check if your reciver communcation channel is configured correctly..?

Former Member
0 Kudos

yes. It fails only sometimes. Its almost random.

Former Member
0 Kudos

can you explain your scenario elaborately?

r u using File to File using AAE, are u using any custome module?

Shabarish_Nair
Active Contributor
0 Kudos

it might be some issue with your java stack.

Have your basis team do a health check of your system if the issue persists.

Former Member
0 Kudos

File to File. AAE.

There is an adapter module that checks if the file size is zero. If so, it will add some default data to the payload.

The adapter logs show that this module has no errors.

The failure occurs when "trying to deliver to the endpoint" step occurs.

As far as I know, this is a framework step and has nothing to do with custom code.

Cheers,

Earlence

prateek
Active Contributor
0 Kudos

Remove the module and run the scenario. If the scenario runs, then it is problem with the adapter module code or usage.

Regards,

Prateek

Former Member
0 Kudos

Hi,

Did you try setting the parameter " Empty File Handling" to "Ignore" in the receiver file adapter.

Thanks,

Pragati

Former Member
0 Kudos

We need a file to go thru with blank data if it comes in as empty.

This is a requirement. Hence the module.

Cheers,

Earlence

Former Member
0 Kudos

can you check what type of beans you have used, stateless or statefull , change and try...

Former Member
0 Kudos

adapter mods are always stateless session beans.

Former Member
0 Kudos

I removed the module. it still happens sometimes. As I said, it got nothing to do with the adapter mod.