Package: libbatik-java Version: 1.7-7 Severity: normal This bug was orinigally reported by Toufik against the Ubuntu package, see https://bugs.launchpad.net/ubuntu/+source/batik/+bug/579710 but it also affects the package in Debian.
It appears to be caused by a lack of Class-Path entries in the batik.jar file. The upstream batik.jar file is mostly classpath entries pointing to the other batik jars, plus some of the dependent libraries. Original report: Ubuntu Version : Ubuntu 9.10 $ apt-cache policy libbatik-java libbatik-java: Installed: 1.7.ubuntu-4ubuntu1 Candidate: 1.7.ubuntu-4ubuntu1 Version table: *** 1.7.ubuntu-4ubuntu1 0 500 http://nz.archive.ubuntu.com karmic/universe Packages 100 /var/lib/dpkg/status The repository version of batik (libbatik-java package) is crashing. Note that the official version from http://xmlgraphics.apache.org/batik/ (same version mumber) works fine $ java -jar /usr/share/java/batik.jar Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getDeclaredMethod(Class.java:1935) at java.awt.Component.isCoalesceEventsOverriden(Component.java:5948) at java.awt.Component.access$500(Component.java:169) at java.awt.Component$3.run(Component.java:5902) at java.awt.Component$3.run(Component.java:5900) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Component.checkCoalescing(Component.java:5899) at java.awt.Component.<init>(Component.java:5868) at java.awt.Container.<init>(Container.java:251) at java.awt.Window.<init>(Window.java:431) at java.awt.Frame.<init>(Frame.java:403) at java.awt.Frame.<init>(Frame.java:368) at javax.swing.JFrame.<init>(JFrame.java:158) at org.apache.batik.apps.svgbrowser.JSVGViewerFrame.<init>(Unknown Source) at org.apache.batik.apps.svgbrowser.Main.<init>(Unknown Source) at org.apache.batik.apps.svgbrowser.Main.main(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.w3c.dom.svg.SVGDocument at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 18 more -- System Information: Debian Release: squeeze/sid APT prefers lucid-updates APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-26-generic (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libbatik-java depends on: ii default-jre-headless 1.6-34 Standard Java or Java compatible R ii java-wrappers 0.1.15 wrappers for java executables ii libavalon-framework- 4.2.0-7 Common framework for Java server a ii libbsf-java 1:2.4.0-3 Bean Scripting Framework to suppor ii libcommons-io-java 1.4-2ubuntu1 Common useful IO related classes ii libcommons-logging-j 1.1.1-7 commmon wrapper interface for seve ii libxalan2-java 2.7.1-5ubuntu1 XSL Transformations (XSLT) process ii libxml-commons-exter 1.3.05-1 XML Commons external code - DOM, S ii openjdk-6-jre-headle 6b18-1.8.2-4ubuntu2 OpenJDK Java runtime, using Hotspo ii sun-java6-jre [java2 6.22-0ubuntu1~10.04 Sun Java(TM) Runtime Environment ( Versions of packages libbatik-java recommends: pn fop <none> (no description available) ii openjdk-6-jre 6b18-1.8.2-4ubuntu2 OpenJDK Java runtime, using Hotspo ii rhino 1.7R2-3 JavaScript engine written in Java libbatik-java suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org