batik is crashing (libbatik-java)

Bug #579710 reported by Toufik
This bug affects 1 person
Affects Status Importance Assigned to Milestone
batik (Debian)
Fix Released
batik (Ubuntu)

Bug Description

Binary package hint: libbatik-java

Ubuntu Version : Ubuntu 9.10

$ apt-cache policy libbatik-java
  Installed: 1.7.ubuntu-4ubuntu1
  Candidate: 1.7.ubuntu-4ubuntu1
  Version table:
 *** 1.7.ubuntu-4ubuntu1 0
        500 karmic/universe Packages
        100 /var/lib/dpkg/status

The repository version of batik (libbatik-java package) is crashing. Note that the official version from (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(
 at java.lang.Class.getDeclaredMethod(
 at java.awt.Component.isCoalesceEventsOverriden(
 at java.awt.Component.access$500(
 at java.awt.Component$
 at java.awt.Component$
 at Method)
 at java.awt.Component.checkCoalescing(
 at java.awt.Component.<init>(
 at java.awt.Container.<init>(
 at java.awt.Window.<init>(
 at java.awt.Frame.<init>(
 at java.awt.Frame.<init>(
 at javax.swing.JFrame.<init>(
 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 Method)
 at java.lang.ClassLoader.loadClass(
 at sun.misc.Launcher$AppClassLoader.loadClass(
 at java.lang.ClassLoader.loadClass(
 ... 18 more

Changed in batik (Ubuntu):
status: New → Confirmed
Revision history for this message
Andrew Ross (rockclimb) wrote :

As a workaround you can just run /usr/bin/squiggle which sets up your classpath for you. This is probably fixable by adding some extra jar files to the classpath in the manifest. I'll look into it.

Changed in batik (Debian):
status: Unknown → New
Changed in batik (Debian):
status: New → Incomplete
Changed in batik (Debian):
status: Incomplete → Confirmed
Changed in batik (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.