Defect #1577
java.lang.reflect.InvocationTargetException when repacking
Status:
Resolved
Priority:
Normal
Assignee:
-
Start date:
06/28/2021
Due date:
% Done:
0%
Estimated time:
Browser (if web client):
Description
Version 1.3.6 fails when repacking the jar with the following error:
/Applications/Servoy_2020_03/application_server/jpedal_lgpl.jar start processing /Applications/Servoy_2020_03/application_server/jpedal_lgpl.jar repacked null java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.stuff.servoy.signing.utils.JarSigner.run(JarSigner.java:19) at net.stuff.servoy.CodeSignerFrame.signFile(CodeSignerFrame.java:1390) at net.stuff.servoy.CodeSignerFrame.access$25(CodeSignerFrame.java:1351) at net.stuff.servoy.CodeSignerFrame$3$1.run(CodeSignerFrame.java:258) Caused by: java.lang.NoSuchMethodError: sun.security.tools.KeyStoreUtil.getPassWithModifier(Ljava/lang/String;Ljava/lang/String;Ljava/util/ResourceBundle;)[C at sun.security.tools.jarsigner.Main.getPass(Main.java:468) at sun.security.tools.jarsigner.Main.parseArgs(Main.java:314) at sun.security.tools.jarsigner.Main.run(Main.java:180) ... 8 more
Version: 1.3.6
macOS: 10.15.7 (Catalina)
Java: 1.8.0_291 (x86_64)
History
Updated by Patrick Talbot almost 4 years ago
Are you sure you've been using the new CodeSigner8.291.jar and not the CodeSigner8.101.jar?
Updated by Patrick Talbot almost 4 years ago
- Status changed from New to Resolved
Forget it, found the issue, should be fixed in v1.3.7