Bug#942507: pdfsam: Not working due to multiple errors

2019-10-25 Thread Markus Koschany
Control: severity -1 important

I'm downgrading this issue to important because pdfsam in testing is not
affected. As long as hibernate-validator 5.x does not migrate to
testing, before this bug is fixed in unstable, it should not be a problem




signature.asc
Description: OpenPGP digital signature


Bug#942507: pdfsam: Not working due to multiple errors

2019-10-21 Thread Markus Koschany
Control: tags -1 confirmed

On Thu, 17 Oct 2019 12:41:57 +0200 Domenico Cufalo  wrote:
> Package: pdfsam
> Version: 4.0.4-1
> Severity: grave
> Justification: renders package unusable
> 
> Dear Maintainer,
> 
> I'm sorry for the generic subject of this bug report, but... I don't know how
> to explain it better.
> 
> Anyway, when I try to split/extract/add some PDFs, simply the app does nothing
> and gives this output:

Hello and thanks for reporting.

tl;dr

In short, if you want a working PDFsam package in unstable at the
moment, downgrade libhibernate-validator-java to 4.3.4-1. You can find
the Debian package at http://snapshot.debian.org/


I can confirm your findings. Apparently the update of
libhibernate-validator-java to version 5.3.6 broke PDFsam. There are
multiple problems at the moment. First of all the latest version of
libhibernate-validator-java requires
libgeronimo-validation-1.1-spec-java because version 1.0 is
incompatible. This can be solved by simply updating libsejda-java and
changing the build-dependeny and maven.rule file.

Then we also have to update pdfsam and symlink
geronimo-validation-1.1-spec.jar in debian/rules. Additionally we need a
symlink to classmate.jar and el-api. The former should be definitely
added to the CLASSPATH of libhibernate-validator-java and I will file a
new bug report for this one.

Now I am stuck at the following error message:

java.lang.ExceptionInInitializerError: null

Caused by: javax.el.ELException: Provider
com.sun.el.ExpressionFactoryImpl not found

I don't know if someone has already packaged
com.sun.el.ExpressionFactoryImpl and why it is necessary at all.

So far for now

Regards,

Markus






signature.asc
Description: OpenPGP digital signature


Bug#942507: pdfsam: Not working due to multiple errors

2019-10-17 Thread Domenico Cufalo
Package: pdfsam
Version: 4.0.4-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I'm sorry for the generic subject of this bug report, but... I don't know how
to explain it better.

Anyway, when I try to split/extract/add some PDFs, simply the app does nothing
and gives this output:

INFO   [12:33:06]: Starting PDFsam
INFO   [12:33:08]: Configuring Sejda 3.2.84
INFO   [12:33:09]: Avviato in 2 seconds
ERROR  [12:33:27]: Unexpected error
java.lang.NullPointerException: null
at javafx.scene.Scene$DnDGesture.access$6100(Scene.java:3003)
at javafx.scene.Scene$DropTargetListener.drop(Scene.java:2970)
at
com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.lambda$handleDragDrop$2(GlassSceneDnDEventHandler.java:108)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at
com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragDrop(GlassSceneDnDEventHandler.java:104)
at
com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleDragDrop$11(GlassViewEventHandler.java:753)
at
com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:390)
at
com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragDrop(GlassViewEventHandler.java:752)
at com.sun.glass.ui.View.handleDragDrop(View.java:713)
at com.sun.glass.ui.View.notifyDragDrop(View.java:1042)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at
com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
at java.base/java.lang.Thread.run(Thread.java:834)
INFO   [12:33:28]: x.pdf loaded
ERROR  [12:33:40]: Unexpected error
java.lang.NoClassDefFoundError: javax/validation/ParameterNameProvider
at
org.hibernate.validator.HibernateValidator.createGenericConfiguration(HibernateValidator.java:33)
at
javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:173)
at
org.sejda.core.validation.DefaultValidationContext.(DefaultValidationContext.java:41)
at
org.sejda.core.validation.DefaultValidationContext.(DefaultValidationContext.java:36)
at
org.sejda.core.validation.DefaultValidationContext$DefaultValidationContextHolder.(DefaultValidationContext.java:70)
at
org.sejda.core.validation.DefaultValidationContext.getContext(DefaultValidationContext.java:50)
at
org.sejda.core.service.DefaultTaskExecutionService.validate(DefaultTaskExecutionService.java:104)
at
org.sejda.core.service.DefaultTaskExecutionService.validateIfRequired(DefaultTaskExecutionService.java:97)
at
org.sejda.core.service.DefaultTaskExecutionService.execute(DefaultTaskExecutionService.java:66)
at
org.sejda.core.service.DefaultTaskExecutionService.execute(DefaultTaskExecutionService.java:58)
at
org.pdfsam.task.TaskExecutionController.lambda$request$0(TaskExecutionController.java:87)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException:
javax.validation.ParameterNameProvider
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 14 common frames omitted


That's all I can say! :-)

Thank you very much in advance and best wishes,
Domenico



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), 
LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pdfsam depends on:
ii  default-jre [java9-runtime] 2:1.11-72
ii  libatinject-jsr330-api-java 1.0+ds1-5
ii  libbcmail-java  1.61-1
ii  libbcprov-java  1.61-1
ii  libcommons-io-java  2.6-2
ii  libcommons-lang3-java   3.8-2
ii  libfontawesomefx-java   9.1.2-1
ii  libgettext-commons-java 0.9.6-6
ii  libhibernate-validator-java 5.3.6-1
ii  libjackson2-jr-java 2.10.0-1
ii  liblogback-java 1:1.2.3-5
ii  libopenjfx-java 11.0.2+1-1
ii  libsambox-java  1.1.55-1
ii  libsejda-eventstudio-java   1.0.6-2
ii  libsejda-injector-java  1.0.2-1
ii  libsejda-java   3.2.84-1
ii  libslf4j-java   1.7.25-3
ii  openjdk-11-jre [java9-runtime]  11.0.5+10-1
ii  openjfx 11.0.2+1-1

pdfsam recommends no packages.

pdfsam suggests no packages.

-- no debconf information