SAP Knowledge Base Article - Preview

2998309 - Receiver Communication channel raises error "host is null" when trying to connect to target endpoint

Symptom

You have created a Receiver Communication Channel (Soap, Rest, ...) and when trying to process a message and connect to the configured target endpoint, the following exception is being raised:

Catching java.lang.IllegalArgumentException: host is null
at com.sap.httpclient.HostConfiguration.setHost(HostConfiguration.java:227)
at com.sap.httpclient.HostConfiguration.<init>(HostConfiguration.java:80)
at com.sap.aii.adapter.rest.ejb.common.http.SAPHttpClientWrapper.setHostConfiguration(SAPHttpClientWrapper.java:94)
at com.sap.aii.adapter.rest.ejb.channel.HTTPWrapper.makeClient(HTTPWrapper.java:525)
at com.sap.aii.adapter.rest.ejb.channel.HTTPWrapper.executeCall(HTTPWrapper.java:376)


Read more...

Environment

  • SAP NetWeaver
  • SAP Process Integration

Product

SAP NetWeaver all versions ; SAP Process Integration all versions

Keywords

Rest, Adapter, Host, Null, URL, Process Integration, PI, Process Orchestration, PO, NetWeaver, XI, AEX , KBA , BC-XI-CON-RST , Rest Adapter , BC-JAS-SEC-CPG , Cryptography , 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.