FS#64575 - [pdftk] Missing java-commons-lang dependency causing stacktrace
Attached to Project:
Community Packages
Opened by Hellracer (hellracer) - Tuesday, 19 November 2019, 20:28 GMT
Last edited by Jonas Witschel (diabonas) - Tuesday, 19 November 2019, 20:56 GMT
Opened by Hellracer (hellracer) - Tuesday, 19 November 2019, 20:28 GMT
Last edited by Jonas Witschel (diabonas) - Tuesday, 19 November 2019, 20:56 GMT
|
Details
Description:
Due to missing runtime dependency for java-commons-lang pdftk is crashing on the usage of "dump_data" with following stacktrace: Unhandled Java Exception in create_output(): java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringEscapeUtils at com.gitlab.pdftk_java.report.<clinit>(report.java:55) at com.gitlab.pdftk_java.TK_Session.create_output(TK_Session.java:3080) at com.gitlab.pdftk_java.pdftk.main_noexit(pdftk.java:156) at com.gitlab.pdftk_java.pdftk.main(pdftk.java:128) Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringEscapeUtils at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 4 more There was a problem with pdftk-java. Please report it at https://gitlab.com/pdftk-java/pdftk/issues including the message above, the version of pdftk-java (3.0.8), and if possible steps to reproduce the error. Additional info: * Package version: pdftk 3.0.8-1 * Package repository: Community * Fix: Installation of java-commons-lang 3.9-5 fixes the issue Steps to reproduce: - Install pdftk with required dependencies - Use pdftk PDFFILE dump_data output dump.txt |
This task depends upon
Closed by Jonas Witschel (diabonas)
Tuesday, 19 November 2019, 20:56 GMT
Reason for closing: Not a bug
Additional comments about closing: java-commons-lang is specified as an optional dependency ( FS#64159 )
Tuesday, 19 November 2019, 20:56 GMT
Reason for closing: Not a bug
Additional comments about closing: java-commons-lang is specified as an optional dependency (