SAP Knowledge Base Article - Preview

1888148 - "java.lang.IllegalArgumentException: host parameter is null" Error in AXIS channel where CommonsHTTPSender is used over HTTP proxy

Symptom

You have a receiver AXIS channel where you use the "com.sap.aii.adapter.axis.ra.transport.http.CommonsHTTPSender" as a handler type and you set up the proxy configuration in JVM Parameters (SAP Note: 1039369 --> Receiver Adapter General --> 29. How can I call some service over an HTTP proxy server?), but the following error is visible in the channel monitoring at this channel:

Message processing failed. Cause: java.lang.IllegalArgumentException: host parameter is null

The DEBUG level trace provides a bit more details about this error:

java.lang.IllegalArgumentException: host parameter is null
Catching AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.lang.IllegalArgumentException: host parameter is null
 faultActor: 
 faultNode: 
 faultDetail: 
{http://xml.apache.org/axis/}stackTrace:java.lang.IllegalArgumentException: host parameter is null
...
Caused by: java.lang.IllegalArgumentException: host parameter is null
at org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:205)
at org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:154)


Read more...

Environment

  • SAP NetWeaver 7.0
  • SAP enhancement package 1 for SAP NetWeaver 7.0
  • SAP enhancement package 2 for SAP NetWeaver 7.0
  • SAP enhancement package 3 for SAP NetWeaver 7.0
  • SAP NetWeaver Process Integration 7.1
  • SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1
  • SAP NetWeaver 7.3
  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP NetWeaver 7.5

Product

SAP NetWeaver 2004 ; SAP NetWeaver 7.0 ; SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP NetWeaver Process Integration 7.1 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

proxyHost, proxyPort, http.proxyHost, http.proxyPort, JVM parameter, IllegalArgumentException, CommonsHTTPSender, Process Integration 7.0, PI 7.0, PI 7.01, PI 7.02, Process Integration 7.10, PI 7.10, 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-AXS , Axis Extention for SOAP Adapter , 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.