Build Project From ED Is Creating The Compile Error:ZIPfilemusthave At Least One Entry Using SEF OTD (Doc ID 1544228.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Java CAPS - Version 5.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 5.1.3U4 version, Core Product

The following Error encountered in Enterprise Designer when building a project that has OTD built from a SEF file using SEF Wizard.

ERROR
-----------------------
com.stc.codegen.framework.model.CodeGenException: error generating otd for svcNCPDPMedHist:javaClass: generateJavaCode: Illegal attempt to exit early
at com.stc.codegen.OTDImpl.model.OTDCodeletFactory$OTDCodelet.postFileGeneration(OTDCodeletFactory.java:767)
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.processCodelets(CodeGenFrameworkImpl.java:653)
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.otd.codegen.OtdCodeGenException: javaClass: generateJavaCode: Illegal attempt to exit early
at com.stc.otd.sef.codegen.SEFParserGenerator.generateJavaCode(SEFParserGenerator.java:418)
at com.stc.otd.codegen.BaseGenerator.generate(BaseGenerator.java:234)
at com.stc.otd.codegen.BaseEdiGenerator.generate(BaseEdiGenerator.java:46)
at com.stc.codegen.OTDImpl.model.CollabOTDGenerator.generateCollabOTDJavaFiles(CollabOTDGenerator.java:233)
at com.stc.codegen.OTDImpl.model.OTDCodeletFactory$OTDCodelet.processOTDJars(OTDCodeletFactory.java:861)
at com.stc.codegen.OTDImpl.model.OTDCodeletFactory$OTDCodelet.postFileGeneration(OTDCodeletFactory.java:666)
... 10 more
Caused by: org.netbeans.core.execution.ExitSecurityException: Illegal attempt to exit early
at org.netbeans.core.execution.TopSecurityManager.checkExitImpl(TopSecurityManager.java:114)
at org.netbeans.core.execution.TopSecurityManager$PrivilegedCheck.run(TopSecurityManager.java:473)
at java.security.AccessController.doPrivileged(Native Method)
at org.netbeans.core.execution.TopSecurityManager$PrivilegedCheck.check(TopSecurityManager.java:498)
at org.netbeans.core.execution.TopSecurityManager$PrivilegedCheck.checkExit(TopSecurityManager.java:486)
at org.netbeans.core.execution.TopSecurityManager.checkExit(TopSecurityManager.java:78)
at java.lang.Runtime.exit(Runtime.java:88)
at java.lang.System.exit(System.java:715)
at antlr.JavaCodeGenerator.exitIfError(JavaCodeGenerator.java:707)
at antlr.JavaCodeGenerator.gen(JavaCodeGenerator.java:1317)
at antlr.ParserGrammar.generate(ParserGrammar.java:26)
at antlr.JavaCodeGenerator.gen(JavaCodeGenerator.java:724)
at antlr.Tool.doEverything(Tool.java:194)
at antlr.Tool.mainNoException(Tool.java:349)
at com.stc.otd.x12.codegen.AntlrParserGeneratorTask.callAntlr(AntlrParserGeneratorTask.java:90)
at com.stc.otd.x12.codegen.AntlrParserGeneratorTask.generate(AntlrParserGeneratorTask.java:64)
at com.stc.otd.x12.codegen.AntlrParserGeneratorTask.generate(AntlrParserGeneratorTask.java:49)
at com.stc.otd.sef.codegen.SEFParserGenerator.generateJavaCode(SEFParserGenerator.java:415)
... 15 more

LOSS OF FUNCTIONALITY:
-------------------------------------------
Unable to build the project and test the mapping solution.

EXPECTED BEHAVIOR:
----------------------------------
Project should build without exceptions.




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