SAP Knowledge Base Article - Preview

2509762 - HTTP 500 error received in AS2 sender channel

Symptom

You configured a sender AS2 channel and your partner tries to send you an AS2 message but they receive an HTTP 500 error. In the default traces you found similar entries:

500 Internal Server Error is returned for HTTP request [https://<host>:<port>/AS2/SapErrorHandlerServlet]:
  component [AS2DispatcherServlet],
  web module [AS2],
  application [sap.com/com.sap.aii.adapter.as2.app],
  DC name [sap.com/com.sap.aii.adapter.as2.app],
  CSN component[BC-XI-CON-B2B],
  problem categorization [com.sap.ASJ.web.000137],
  internal categorization [-1355819106].

[EXCEPTION]
javax.servlet.ServletException: AS2 adaper is not running: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.Message.getMessageId() of a null object loaded from field com.sap.aii.adapter.as2.ra.integration.ChannelDispatcher.xiMessage of an object loaded from local variable 'this'
at com.sap.aii.adapter.as2.servlet.AS2DispatcherServlet.doPost(AS2DispatcherServlet.java:262)


Read more...

Environment

  • SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1 >= SP08
  • SAP NetWeaver 7.3 >= SP05
  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP NetWeaver 7.5
  • SAP Process Integration, business-to-business add-on

Product

SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP NetWeaver Process Integration, business-to-business add-on 1.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1

Keywords

AS2, AS2 Sender, AS2 Subject, AS2From, AS2To, HTTP 500 error. ChannelDispatcher error, com.sap.aii.adapter.as2.ra.integration.ChannelDispatcher.xiMessage, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31, Process Orchestration 7.4, PI 7.4, PO 7.4, Process Orchestration 7.5, PI 7.5, PO 7.5, XI, AEX , KBA , BC-XI-CON-B2B-AS2 , Applicability Statement Protocol Adapter , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.