Build Exception: error in opening zip file

(Doc ID 1025980.1)

Last updated on SEPTEMBER 05, 2014

Applies to:

Oracle Java CAPS - Version 5.1.0 and later
Information in this document applies to any platform.
Checked for relevance on 05-Sep-2014

Symptoms

Environment is Java CAPS 5.1.3 U2 with a BP invoking JCD, which is in turn invoking a sub-collaboration. Project build works for single JCD in BP that is invoking a sub-collab, but when there are 2 or more JCDs in the BP that are invoking the same sub-collab, the below exceptions thrown during the build process:

com.stc.codegen.framework.model.CodeGenException: code generation error at = initializingnull
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.process(CodeGenFrameworkImpl.java:1569)
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: java.lang.ClassCastException
at com.stc.codegen.collabImpl.java.JavaCollabCodelet.validateOTD(JavaCollabCodelet.java:444)
at com.stc.codegen.collabImpl.java.JavaCollabCodelet.validate(JavaCollabCodelet.java:322)at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.validateCodelets(CodeGenFrameworkImpl.java:1051)
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.process(CodeGenFrameworkImpl.java:1544)
... 8 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