Repository Based Project Build Exceptions (Doc ID 1332614.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6.2 to R6.3 [Release 6.0]
Information in this document applies to any platform.
***Checked for relevance on 03-NOV-2014***.

Symptoms

The following exception error message is displayed when building a project:

WARNING [com.stc.wsserver.design.codegen.impl.WSServerCodelet]: com.stc.codegen.framework.model.CodeGenException
com.stc.codegen.framework.model.CodeGenException
at com.stc.wsserver.design.codegen.impl.JaxRpcCodelet.generateFileForWar(JaxRpcCodelet.java:1346)
at com.stc.wsserver.design.codegen.impl.JaxRpcCodelet.generateFiles(JaxRpcCodelet.java:975)
at com.stc.wsserver.design.codegen.impl.GenerateAndPublish.genAndPublish(GenerateAndPublish.java:122)
at com.stc.wsserver.design.codegen.impl.WSServerCodelet.generateFiles(WSServerCodelet.java:520)
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.processCodelets(CodeGenFrameworkImpl.java:655)
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.process(CodeGenFrameworkImpl.java:1608)
at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:409)
at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:312)
at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.traverseDeployment(DeploymentVisitorImpl.java:272)
at com.stc.codegen.driver.module.DeploymentBuildAction.loadCodeGen(DeploymentBuildAction.java:954)
at com.stc.codegen.driver.module.DeploymentBuildAction.access$1100(DeploymentBuildAction.java:176)
at com.stc.codegen.driver.module.DeploymentBuildAction$2.run(DeploymentBuildAction.java:630)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Caused by: com.stc.codegen.framework.model.CodeGenException
at com.stc.wsserver.design.codegen.impl.JaxRpcCodelet.overWriteWSDLBindings(JaxRpcCodelet.java:3229)
at com.stc.wsserver.design.codegen.impl.JaxRpcCodelet.generateFileForWar(JaxRpcCodelet.java:1206)
... 13 more
Caused by: java.lang.NullPointerException
at com.stc.wsserver.design.codegen.impl.JaxRpcCodelet.overWriteWSDLBindings(JaxRpcCodelet.java:3213)
... 14 more
WSDLException: faultCode=PARSER_ERROR: Problem parsing '- WSDL Document -'.: Content is not allowed in prolog.: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)

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