Codegen Exception When Building A Project That includes A Webservice (Doc ID 1025465.1)

Last updated on NOVEMBER 21, 2013

Applies to:

Oracle Java CAPS - Version 5.1.0 and later
Information in this document applies to any platform.
***Checked for relevance on 21-Nov-2013***

Symptoms

The following deployment profile build error occurs when using two different wsdls with the same schema type and the same target namespace.

~~~~~~~~~~
Annotation: Caught Compilation Error(s).
Please fix before proceeding.
com.stc.codegen.framework.model.CodeGenException
at com.stc.wsclient.design.codegen.impl.JaxRpcCodelet.generateFiles(JaxRpcCodelet.java:469)
at com.stc.wsclient.design.codegen.impl.WSClientCodelet.generateFiles(WSClientCodelet.java:451)
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.processCodelets(CodeGenFrameworkImpl.java:616)
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.process(CodeGenFrameworkImpl.java:1290)
at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:401)
at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:307)
at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.traverseDeployment(DeploymentVisitorImpl.java:267)
at com.stc.codegen.driver.module.DeploymentBuildAction.loadCodeGen(DeploymentBuildAction.java:901)
at com.stc.codegen.driver.module.DeploymentBuildAction.access$700(DeploymentBuildAction.java:173)
at com.stc.codegen.driver.module.DeploymentBuildAction$1.run(DeploymentBuildAction.java:590)
at org.openide.util.Task.run(Task.java:136)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
Caused by: java.lang.NullPointerException
at com.stc.wscommon.util.WSDLModelWrapper.isBindingOperHasEncodedUse(WSDLModelWrapper.java:893)
at com.stc.wsclient.design.codegen.impl.JaxRpcCodelet.generateBeans(JaxRpcCodelet.java:982)
at com.stc.wsclient.design.codegen.impl.JaxRpcCodelet.generateFiles(JaxRpcCodelet.java:467)
[catch] ... 11 more
~~~~~~~~~~~~~~~

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