My Oracle Support Banner

"Password must not be null" When Invoking WSDL with OdiInvokeWebService (Doc ID 2536130.1)

Last updated on MAY 08, 2019

Applies to:

Oracle Data Integrator - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to call a WSDL URL by using the odiInvokeWebService utility in Oracle Data Integrator (ODI) 12.2.1.3.0, the following error occurs on the J2EE agent configured with SSL.

com.sunopsis.wsinvocation.SnpsWSInvocationException: com.sunopsis.wsinvocation.SnpsWSInvocationException: This URL does not point to a valid WSDL
  at com.sunopsis.wsinvocation.client.WebServiceFactory.getParserIstance(WebServiceFactory.java:96)
  at com.sunopsis.wsinvocation.client.WebServiceFactory.getParserIstance(WebServiceFactory.java:128)
  at com.sunopsis.dwg.tools.common.WebserviceUtils.invoke(WebserviceUtils.java:100)
  at com.sunopsis.dwg.tools.InvokeWebService.actionExecute(InvokeWebService.java:449)
  at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:235)
  at oracle.odi.runtime.agent.execution.SessionTask.execIntegratedFunction(SessionTask.java:902)
  at oracle.odi.runtime.agent.execution.SessionTask.executeOdiCommand(SessionTask.java:583)
  at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:32)
  at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:18)
  at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:52)
  ...
Caused by: com.sunopsis.wsinvocation.SnpsWSInvocationException: This URL does not point to a valid WSDL
  at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsParserImpl.setWsdlUrl(OdiJaxwsParserImpl.java:199)
  at com.sunopsis.wsinvocation.client.WebServiceFactory.getParserIstance(WebServiceFactory.java:93)
  ... 29 more
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of <URI>: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "<URI>", caused by: java.net.SocketException.: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
  at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:1075)
  at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:922)
  at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:821)
  at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:768)
  at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:760)
  at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsParserImpl.setWsdlUrl(OdiJaxwsParserImpl.java:195)
  ... 30 more
Caused by: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "<URI>", caused by: java.net.SocketException.: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
  at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:411)
  at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:1046)
  ... 35 more
Caused by: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
  at javax.net.ssl.DefaultSSLSocketFactory.throwException(SSLSocketFactory.java:248)
  at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:270)
  at HTTPClient.JsseSSL.getSSLSocket(JsseSSL.java:83)
  at HTTPClient.HTTPConnection$20.run(HTTPConnection.java:4958)
  at HTTPClient.HTTPConnection$20.run(HTTPConnection.java:4956)
  at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:1083)
  at HTTPClient.HTTPConnection.doAction(HTTPConnection.java:5707)
  at HTTPClient.HTTPConnection.getSSLSocket(HTTPConnection.java:4956)
  at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:4682)
  at HTTPClient.HTTPConnection.access$3500(HTTPConnection.java:216)
  at HTTPClient.HTTPConnection$12.run(HTTPConnection.java:4642)
  at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:1083)
  at HTTPClient.HTTPConnection.doAction(HTTPConnection.java:5707)
  at HTTPClient.HTTPConnection.connect(HTTPConnection.java:4637)
  at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.openAsStreamConnection(WSDLReaderImpl.java:634)
  at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readDocument(WSDLReaderImpl.java:465)
  at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:404)
... 36 more
Caused by: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
  at java.security.Provider$Service.newInstance(Provider.java:1617)
  at sun.security.jca.GetInstance.getInstance(GetInstance.java:236)
  at sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
  at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)
  at javax.net.ssl.SSLContext.getDefault(SSLContext.java:96)
  at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:122)
  at oracle.j2ee.ws.wsdl.conn.ConnectionFactoryImpl.getDefaultSslSocketFactory(ConnectionFactoryImpl.java:68)
  at oracle.j2ee.ws.wsdl.conn.ConnectionFactoryImpl.configSslSocketFactory(ConnectionFactoryImpl.java:96)
  at oracle.j2ee.ws.wsdl.conn.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:24)
  at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.openAsStreamConnection(WSDLReaderImpl.java:544)
  ... 38 more
Caused by: java.security.UnrecoverableKeyException: Password must not be null
  at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:132)
  at sun.security.provider.JavaKeyStore$JKS.engineGetKey(JavaKeyStore.java:56)
  at sun.security.provider.KeyStoreDelegator.engineGetKey(KeyStoreDelegator.java:96)
  at sun.security.provider.JavaKeyStore$DualFormatJKS.engineGetKey(JavaKeyStore.java:70)
  at java.security.KeyStore.getKey(KeyStore.java:1023)
  at sun.security.ssl.SunX509KeyManagerImpl.<init>(SunX509KeyManagerImpl.java:133)
  at sun.security.ssl.KeyManagerFactoryImpl$SunX509.engineInit(KeyManagerFactoryImpl.java:70)
  at javax.net.ssl.KeyManagerFactory.init(KeyManagerFactory.java:256)
  at sun.security.ssl.SSLContextImpl$DefaultManagersHolder.getKeyManagers(SSLContextImpl.java:873)
  at sun.security.ssl.SSLContextImpl$DefaultManagersHolder.<clinit>(SSLContextImpl.java:758)
  at sun.security.ssl.SSLContextImpl$DefaultSSLContext.<init>(SSLContextImpl.java:913)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  ...

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.