java.lang.NullPointerException at Weblogic.Wsee.Ws.WSBuilderHelper.getTypeHolders (Doc ID 1279476.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.

Symptoms

When creating WebServices client side artifacts with clientgen ant task , the java.lang.NullPointerException throws at WSBuilderHelper.getTypeHolders().

<WSEE:1>Service with full WSDL<ServiceImpl.checkWsdlDefinition:267>
<WSEE:1>Building web service:{http://tmp.example.com/TMP/Namespaces/v32/wsdl/ExampleWirelessTMP.wsdl}ExampleWirelessTMPService<WSBuilderHelper.buildService:140>
<WSEE:1>Building port: {http://tmp.Example.com/TMP/Namespaces/v32/wsdl/ExampleWirelessTMP.wsdl}EchoSoapHttpPort<WSBuilderHelper.buildWsPort:166>
Throablenull
java.lang.NullPointerException
at weblogic.wsee.ws.WSBuilderHelper.getTypeHolders(WSBuilderHelper.java:780)
at weblogic.wsee.ws.WSBuilderHelper.consumeHolders(WSBuilderHelper.java:268)
at weblogic.wsee.ws.WSBuilderHelper.populatePort(WSBuilderHelper.java:224)
at weblogic.wsee.ws.WSBuilderHelper.buildWsPort(WSBuilderHelper.java:183)
at weblogic.wsee.ws.WSBuilderHelper.buildService(WSBuilderHelper.java:151)
at weblogic.wsee.ws.WSBuilderHelper.buildService(WSBuilderHelper.java:98)
at weblogic.wsee.ws.WsBuilder.buildService(WsBuilder.java:397)
at weblogic.wsee.ws.WsFactory.createClientService(WsFactory.java:45)
at weblogic.wsee.jaxrpc.ServiceImpl.init(ServiceImpl.java:154)
at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:122)
at net.foo.external.clients.tmp.inquiredatatreatmenthistory.ExampleWirelessTMPService_Impl.<init>(Unknown Source)
at net.foo.external.clients.tmp.inquiredatatreatmenthistory.ExampleWirelessTMPService_Impl.<init>(Unknown Source)
at EchoTest.invokeActualTMPIDTH(EchoTest.java:275)
at EchoTest.execute(EchoTest.java:221)
at EchoTest.main(EchoTest.java:362)

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