WLS 8.1 - Secure webservice client over HTTPS throws intermittent NullPointerException (Doc ID 1283575.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version: 8.1 to 8.1
Information in this document applies to any platform.

Symptoms

In Weblogic 8.1 (WLS), when invoking secure webservice client over https, you will notice the below NullPointerException which is thrown intermittently:
<Nov 23, 2010 11:51:37 AM CST> <Notice> <Stdout> <000000> <2010-11-23 11:51:37,484 | ERROR com.myservice.MyAuthServiceImpl - java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Exception during processing: java.lang.NullPointerException (see Fault Detail for stacktrace)
Detail:
<detail><bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">java.lang.NullPointerException
at weblogic.webservice.binding.https.HttpsBindingInfo.getSSLSecureSocket(HttpsBindingInfo.java:111)
at weblogic.webservice.binding.https.HttpsClientBinding.createSocket(HttpsClientBinding.java:59)
at weblogic.webservice.binding.soap.HttpClientBinding.send(HttpClientBinding.java:182)
at weblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHandler.java:38)
at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:144)
at weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java:235)
at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:146)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:473)

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