rasterize fails with java.lang.NoClassDefFoundError

Bug #314051 reported by Mihai Capotă
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
batik (Ubuntu)
Fix Released
Low
Onkar Shinde

Bug Description

In Ubuntu 8.10, with sun-java6 6-10-0ubuntu2, rasterize fails with java.lang.NoClassDefFoundError:
$ rasterizer img/P2P-network.svg
About to transcode 1 SVG file(s)

Converting P2P-network.svg to img/P2P-network.png ... Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument

If I manually add xml-apis-ext.jar to the find_jars line /usr/bin/rasterizer, the class is found and the transcoding works.

Related branches

Revision history for this message
Mihai Capotă (mihaic) wrote :
Changed in batik:
assignee: nobody → onkarshinde
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package batik - 1.7.dfsg-0ubuntu2

---------------
batik (1.7.dfsg-0ubuntu2) jaunty; urgency=low

  * Added debian/patches/05_fix_ps_transcoder.patch:
    - Fix FTBFS against xmlgraphics-commons 1.3 (LP: #352546)
  * Fixed debian/rasterizer.sh per patch by Mihai Capotă:
    - Fix java.lang.NoClassDefFoundError in rasterizer (LP: #314051)

 -- Maia Kozheva <email address hidden> Wed, 01 Apr 2009 00:01:36 +0700

Changed in batik:
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.