SAP Knowledge Base Article - Preview

3362459 - Null object returned from com.sap.aii.af.idoc.outbound.IDOCControlHeader.getMessageType()

Symptom

Error while preparing idoc document list for send due to: while trying to invoke the method java.lang.String.equalsIgnoreCase(java.lang.String) of a null object returned from com.sap.aii.af.idoc.outbound.IDOCControlHeader.getMessageType()

Error from XPI Example 50:
[EXCEPTION]
com.sap.aii.af.idoc.exception.IDOCAdapterException: Error while preparing idoc document list for send due to: while trying to invoke the method java.lang.String.equalsIgnoreCase(java.lang.String) of a null object returned from com.sap.aii.af.idoc.outbound.IDOCControlHeader.getMessageType()
at com.sap.aii.af.idoc.outbound.IDocOutboundProcessor.processXIMessage(IDocOutboundProcessor.java:674)
at com.sap.aii.af.idoc.outbound.IDocOutboundModuleBean.process(IDocOutboundModuleBean.java:165)
at sun.reflect.GeneratedMethodAccessor509.invoke(Unknown Source)
Caused by: java.lang.NullPointerException: while trying to invoke the method java.lang.String.equalsIgnoreCase(java.lang.String) of a null object returned from com.sap.aii.af.idoc.outbound.IDOCControlHeader.getMessageType() 
with (IDocDocument: xxxxx
------------------------------------------------------------
CreationDate = 00000000
CreationTime = 000000
Direction = 1
IDocType = FXXXXX1
MessageType = FXXXX1 
SenderPartnerNumber = EXXXX0 
SenderPartnerType = XX
SenderPort = SXXXXQ 


Read more...

Environment

SAP Netweaver 7.40/7.50

Keywords

java.lang.NullPointerException, null object returned from com.sap.aii.af.idoc.outbound.IDOCControlHeader.getMessageType()  , KBA , BC-XI-CON-IDO , Idoc Adapter J2EE , Problem

About this page

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

Search for additional results

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