com.stc.codegen.framework.model.CodeGenException when building Java CAPS Webservice project (Doc ID 1329445.1)

Last updated on NOVEMBER 19, 2014

Applies to:

Oracle Java CAPS - Version 5.1.3 and later
Information in this document applies to any platform.
***Checked for relevance on 19-Nov-2014***

Symptoms

Building a project which implements WebServices in Enterprise Designer fails with the following CodeGenException, which is also logged to the ide.log :


Annotation: Caught Compilation Error(s).
Please fix before proceeding.
com.stc.codegen.framework.model.CodeGenException
at com.stc.wsserver.design.codegen.impl.WSServerCodelet.generateFiles(WSServerCodelet.java:523)
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.processCodelets(CodeGenFrameworkImpl.java:640)
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.process(CodeGenFrameworkImpl.java:1546)
at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:405)
at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:308)
at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.traverseDeployment(DeploymentVisitorImpl.java:268)
at com.stc.codegen.driver.module.DeploymentBuildAction.loadCodeGen(DeploymentBuildAction.java:923)
at com.stc.codegen.driver.module.DeploymentBuildAction.access$1000(DeploymentBuildAction.java:174)
at com.stc.codegen.driver.module.DeploymentBuildAction$1.run(DeploymentBuildAction.java:599)
at org.openide.util.Task.run(Task.java:136)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
Caused by: com.stc.codegen.framework.model.CodeGenException
at com.stc.wsserver.design.codegen.impl.JaxRpcCodelet.generateFileForWar(JaxRpcCodelet.java:1362)
at com.stc.wsserver.design.codegen.impl.JaxRpcCodelet.generateFiles(JaxRpcCodelet.java:998)
at com.stc.wsserver.design.codegen.impl.GenerateAndPublish.genAndPublish(GenerateAndPublish.java:123)
at com.stc.wsserver.design.codegen.impl.WSServerCodelet.generateFiles(WSServerCodelet.java:517)
... 10 more
Caused by: com.stc.codegen.framework.model.CodeGenException
at com.stc.wsserver.design.codegen.impl.JaxRpcCodelet.overWriteWSDLBindings(JaxRpcCodelet.java:3159)
at com.stc.wsserver.design.codegen.impl.JaxRpcCodelet.generateFileForWar(JaxRpcCodelet.java:1222)
... 13 more
Caused by: java.lang.NullPointerException
at com.stc.wsserver.design.codegen.impl.JaxRpcCodelet.overWriteWSDLBindings(JaxRpcCodelet.java:3143)
[catch] ... 14 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