Bug#714304: [pdfsam] Missing dependency on and symlink to jgoodies-common.jar makes program unuseable

Aditya Vaidya kroq.gar78 at gmail.com
Fri Jun 28 07:00:29 UTC 2013


tags 714304 patch
thanks

Hello,

I believe the attached debdiff will solve this problem.


Sincerely,
kroq-gar78


On Thu, Jun 27, 2013 at 12:35 PM, Francesco Presel <f.presel at alice.it>wrote:

> Package: pdfsam
> Version: 1.1.4-2
> Severity: important
>
> --- Please enter the report below this line. ---
> Installing pdfsam from repository does not provide a functioning program:
> whenever launched, the program fails to initialize with the error reported
> below.
> I found a report of the same issue in ubuntu, which suggests a solution:
> you must install the package libjgoodies-common-java and add a symlink to
> jgoodies-common.jar inside the pdfsam/lib folder (
> https://bugs.launchpad.net/**ubuntu/+source/pdfsam/+bug/**1167469<https://bugs.launchpad.net/ubuntu/+source/pdfsam/+bug/1167469>). This solution worked for me.
>
> Output from the terminal:
> $pdfsam
> ==============================**==============================**
> =============
>
>  pdfsam
>
>   JAVA: /usr/lib/jvm/java-7-openjdk-**amd64/bin/java
>
>   JAVA_OPTS: -Xmx256m
>
>   CLASSPATH: /usr/share/pdfsam/pdfsam-1.1.**4.jar:/usr/share/pdfsam/lib/**
> dom4j.jar:/usr/share/pdfsam/**lib/emp4j-1.0.1.jar:/usr/**
> share/pdfsam/lib/itext.jar:/**usr/share/pdfsam/lib/jaxen.**
> jar:/usr/share/pdfsam/lib/**log4j-1.2.jar:/usr/share/**
> pdfsam/lib/looks.jar:/usr/**share/pdfsam/lib/pdfsam-**
> console-2.0.6e.jar:/usr/share/**pdfsam/lib/pdfsam-jcmdline-1.**
> 0.3.jar:/usr/share/pdfsam/lib/**pdfsam-langpack.jar
>
> ==============================**==============================**
> =============
>
> 19:25:57,966 INFO  JMainFrame  Starting PDF Split and Merge basic Ver.
> 1.1.4
> 19:25:58,145 INFO  Configuration  Loading configuration..
> 19:25:58,310 INFO  Configuration  Getting language...
> 19:25:58,466 INFO  Configuration  Setting look and feel...
> 19:25:58,502 FATAL GuiClient  Error:
> java.lang.**NoClassDefFoundError: com/jgoodies/common/base/**SystemUtils
>         at java.lang.ClassLoader.**defineClass1(Native Method)
>         at java.lang.ClassLoader.**defineClass(ClassLoader.java:**787)
>         at java.security.**SecureClassLoader.defineClass(**
> SecureClassLoader.java:142)
>         at java.net.URLClassLoader.**defineClass(URLClassLoader.**
> java:447)
>         at java.net.URLClassLoader.**access$100(URLClassLoader.**java:71)
>         at java.net.URLClassLoader$1.run(**URLClassLoader.java:361)
>         at java.net.URLClassLoader$1.run(**URLClassLoader.java:355)
>         at java.security.**AccessController.doPrivileged(**Native Method)
>         at java.net.URLClassLoader.**findClass(URLClassLoader.java:**354)
>         at java.lang.ClassLoader.**loadClass(ClassLoader.java:**423)
>         at sun.misc.Launcher$**AppClassLoader.loadClass(**
> Launcher.java:308)
>         at java.lang.ClassLoader.**loadClass(ClassLoader.java:**356)
>         at com.jgoodies.looks.plastic.**PlasticLookAndFeel.<clinit>(**
> PlasticLookAndFeel.java:137)
>         at org.pdfsam.guiclient.utils.**ThemeUtility.setTheme(**
> ThemeUtility.java:160)
>         at org.pdfsam.guiclient.**configuration.Configuration.**
> setLookAndFeel(Configuration.**java:192)
>         at org.pdfsam.guiclient.**configuration.Configuration.**
> init(Configuration.java:169)
>         at org.pdfsam.guiclient.**configuration.Configuration.<**
> init>(Configuration.java:54)
>         at org.pdfsam.guiclient.**configuration.Configuration.**
> getInstance(Configuration.**java:59)
>         at org.pdfsam.guiclient.gui.**frames.JMainFrame.<init>(**
> JMainFrame.java:90)
>         at org.pdfsam.guiclient.**GuiClient.main(GuiClient.java:**61)
> Caused by: java.lang.**ClassNotFoundException: com.jgoodies.common.base.**
> SystemUtils
>         at java.net.URLClassLoader$1.run(**URLClassLoader.java:366)
>         at java.net.URLClassLoader$1.run(**URLClassLoader.java:355)
>         at java.security.**AccessController.doPrivileged(**Native Method)
>         at java.net.URLClassLoader.**findClass(URLClassLoader.java:**354)
>         at java.lang.ClassLoader.**loadClass(ClassLoader.java:**423)
>         at sun.misc.Launcher$**AppClassLoader.loadClass(**
> Launcher.java:308)
>         at java.lang.ClassLoader.**loadClass(ClassLoader.java:**356)
>         ... 20 more
>
>
> --- System information. ---
> Architecture: amd64
> Kernel: Linux 3.2.41-laptop
>
> Debian Release: jessie/sid
> 900 testing debian.solydxk.com
> 500 wheezy linux.dropbox.com
> 400 debian packages.linuxmint.com
>
> --- Package information. ---
> Depends (Version) | Installed
> ==============================**===========-+-===========
> openjdk-6-jre |
> OR java2-runtime |
> libdom4j-java | 1.6.1+dfsg.2-6
> libitext-java | 2.1.7-3+deb7u1
> libjaxen-java | 1.1.3-1
> libjgoodies-looks-java | 2.5.2-2
> liblog4j1.2-java | 1.2.17-2
> java-wrappers | 0.1.25
> libhttpclient-java | 4.2.5-1
> libcommons-httpclient-java | 3.1-10.2
>
>
> Package's Recommends field is empty.
>
> Package's Suggests field is empty.
>
> __
> This is the maintainer address of Debian's Java team
> <http://lists.alioth.debian.**org/cgi-bin/mailman/listinfo/**
> pkg-java-maintainers<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>>.
> Please use
> debian-java at lists.debian.org for discussions and questions.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20130628/521d5deb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deb-714304.debdiff
Type: application/octet-stream
Size: 1920 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20130628/521d5deb/attachment-0001.obj>


More information about the pkg-java-maintainers mailing list