Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 'ZipException : Invalid CEN header (invalid zip64 extra data field size)' error for MatCalciteDependencies.jar on Java 17.0.8 #29

Closed
Lerm opened this issue Sep 12, 2023 · 0 comments · Fixed by #28

Comments

@Lerm
Copy link
Collaborator

Lerm commented Sep 12, 2023

Attempt to work with Mat Calcite Plugin on Java 17.0.8 or later may produce the 'ZipException : Invalid CEN header (invalid zip64 extra data field size)' error for the MatCalciteDependencies.jar.

This is caused by JDK-8311940, which has introduced improved validation of the ZIP64 Extra Fields contained within zip files and jar files. The 'maven-bundle-plugin' 5.1.1 which is currently used in Mat Calcite Plugin contains BND version which produces invalid headers. The updated BND library is included in the 5.1.5 version of this plugin (according to JDK-8315828).

Workaround: add option '-Djdk.util.zip.disableZip64ExtraFieldValidation=true' after the '-vmargs' line in the 'MemoryAnalyzer.ini' configuration file.

Proposed fix (updating 'maven-bundle-plugin' version) is included in #28

@Lerm Lerm linked a pull request Sep 12, 2023 that will close this issue
@vlsi vlsi closed this as completed in #28 Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant