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

Filter out signatures from jars merged into uber-jar. #299

Merged
merged 1 commit into from
May 19, 2020

Conversation

balhoff
Copy link
Member

@balhoff balhoff commented May 19, 2020

This was causing:

[2020-05-19T08:10:48.429Z] Error: A JNI error has occurred, please check your installation and try again
[2020-05-19T08:10:48.429Z] Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
[2020-05-19T08:10:48.429Z]      at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:330)
[2020-05-19T08:10:48.429Z]      at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:263)
[2020-05-19T08:10:48.429Z]      at java.util.jar.JarVerifier.processEntry(JarVerifier.java:318)Using ../metadata/datasets for datasets
[2020-05-19T08:10:48.429Z] 
[2020-05-19T08:10:48.429Z]      at java.util.jar.JarVerifier.update(JarVerifier.java:230)
[2020-05-19T08:10:48.429Z]      at java.util.jar.JarFile.initializeVerifier(JarFile.java:383)
[2020-05-19T08:10:48.429Z]      at java.util.jar.JarFile.ensureInitialization(JarFile.java:612)
[2020-05-19T08:10:48.429Z]      at java.util.jar.JavaUtilJarAccessImpl.ensureInitialization(JavaUtilJarAccessImpl.java:69)
[2020-05-19T08:10:48.429Z]      at sun.misc.URLClassPath$JarLoader$2.getManifest(URLClassPath.java:991)
[2020-05-19T08:10:48.429Z]      at java.net.URLClassLoader.defineClass(URLClassLoader.java:451)
[2020-05-19T08:10:48.429Z]      at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
[2020-05-19T08:10:48.429Z]      at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
[2020-05-19T08:10:48.429Z]      at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
[2020-05-19T08:10:48.429Z]      at java.security.AccessController.doPrivileged(Native Method)
[2020-05-19T08:10:48.429Z]      at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
[2020-05-19T08:10:48.429Z]      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[2020-05-19T08:10:48.429Z]      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
[2020-05-19T08:10:48.429Z]      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[2020-05-19T08:10:48.429Z]      at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)

@balhoff
Copy link
Member Author

balhoff commented May 19, 2020

Fixes #300.

@balhoff balhoff merged commit d8061b9 into master May 19, 2020
@balhoff balhoff deleted the filter-signatures branch May 19, 2020 19:54
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 this pull request may close these issues.

1 participant