NullPointerException using HTTP Basic Authentication Headers and Ports 80 or 443 (Doc ID 806023.1)

Last updated on APRIL 18, 2011

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.4 and later   [Release: AS10gR3 and later ]
Information in this document applies to any platform.
***Checked for relevance on 18-Apr-2011***

Symptoms

When trying to use HTTP Basic Authentication headers to invoke a secured Web Service:

<property name="httpBasicHeaders">credentials</property>
<property name="httpBasicUsername">your_username</property>
<property name="httpBasicPassword">your_password</property>


You may encounter a NullPointerException error:

 

<Faulthttp://schemas.oracle.com/bpel/extensionhttp://schemas.xmlsoap.org/soap/envelope/> 
<faultcode>null:bindingFault</faultcode> 
<faultstring>business exception</faultstring> 
<faultactor>cx-fault-actor</faultactor> 
<detail> 
<summary>com.collaxa.cube.ws.wsif.providers.http.WSIFOperation_HTTP@c54b88 :  Could not invoke 'process'; nested exception is:  java.lang.NullPointerException</summary> 
<detail>java.lang.NullPointerException</detail> 
</detail> 
</Fault>

 

Note: This happens ONLY if you use ports 80 (default port for HTTP on SOA Windows installs) or 443 (default port for HTTPS).

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms