When Compiling a Project with a SAP BAPI eWay, the eDesigner throws a java.util.zip.ZipException, stating: 'ZIP file must have at least one entry' (Doc ID 1026115.1)

Last updated on NOVEMBER 02, 2016

Applies to:

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

Symptoms

When compiling a project with a SAP BAPI eWay, the eDesigner throws a java.util.zip.ZipException, stating: "ZIP file must have at least one entry".

The following 3 symptoms will be observed:

  1. The eDesigner will correctly compile the project in one session and without changes to the Java CAPS environment, fail to do so in another session later on.
  2. The project will successfully compile in another environment, or separate eDesigner install.
  3. On compiling the project that utilises the SAP BAPI eWay, the following is reported in the IDE.log...
Java CAPS.[30 Mar 2009 11:32:52,602] ERROR (com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl) - java.util.zip.ZipException: ZIP file must have at least one entry
java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:292)
at com.stc.javac.Impl.util.FileSystemClassFactoryImpl.close(FileSystemClassFactoryImpl.java:388)
at com.stc.javac.Javac.execute(Javac.java:177)
at com.stc.javac.Javac.compile(Javac.java:226)
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.compileCodegen(CodeGenFrameworkImpl.java:967)
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.processCodelets(CodeGenFrameworkImpl.java:713)
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)

 

 

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