My Oracle Support Banner

ODI Tool OdiInvokeWebService Fails with "java.lang.NullPointerException" (Doc ID 2459760.1)

Last updated on SEPTEMBER 06, 2020

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 invoke a web service through Oracle Data Integrator (ODI) 12c using the OdiInvokeWebService tool, the following error occurs:

ODI-1226: Step KMWebServiceInvokation fails after 1 attempt(s).
ODI-1241: Oracle Data Integrator tool execution fails.
Caused By: com.sunopsis.wsinvocation.SnpsWSInvocationException: java.lang.RuntimeException: java.lang.NullPointerException
  at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsParserImpl.createMessage(OdiJaxwsParserImpl.java:413)
  at com.sunopsis.wsinvocation.client.impl.AbstractJWSDLParserImpl.getWebServiceMessage(AbstractJWSDLParserImpl.java:400)
  at com.sunopsis.wsinvocation.client.impl.AbstractJWSDLParserImpl.getWebServiceRequestByOperation(AbstractJWSDLParserImpl.java:412)
  at com.sunopsis.dwg.tools.common.WebserviceUtils.invoke(WebserviceUtils.java:101)
  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)
  ...
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
  at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1841)
  at org.apache.ws.commons.schema.SchemaBuilder.handleImport(SchemaBuilder.java:1577)
  at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:186)
  at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:431)
  at com.sunopsis.wsinvocation.client.impl.AbstractJWSDLParserImpl.getXmlSchemas(AbstractJWSDLParserImpl.java:1164)
  at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsParserImpl.createMessage(OdiJaxwsParserImpl.java:277)
  ... 30 more
Caused by: java.lang.NullPointerException
  at org.apache.ws.commons.schema.SchemaBuilder$1.validate(SchemaBuilder.java:1564)
  at org.apache.ws.commons.schema.SchemaBuilder.setNamespaceAttributes(SchemaBuilder.java:331)
  at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:96)
  at org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:83)
  at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:424)
  at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:347)
  at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1839)
  ... 35 more

Changes

 

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
Changes
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.