Bug#907559: cgview: Does not start

Andreas Tille andreas at an3as.eu
Wed Aug 29 14:38:25 BST 2018


Control: tags -1 help

I should probably have added the maintainer list rather than discussion
list in CC.  Thus tagging the bug help and hope that somebody at
   Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
has a clue whather this is an issue in batik and how to solve it.

Kind regards

      Andreas.

On Wed, Aug 29, 2018 at 01:56:37PM +0200, Andreas Tille wrote:
> Package: cgview
> Severity: grave
> Justification: renders package unusable
> 
> Hi,
> 
> cgview in sid/testing does not start while the same code base in stable
> works perfectly.  It just dies with:
> 
> $ cgview
> Error: Unable to initialize main class ca.ualberta.stothard.cgview.CgviewIO
> Caused by: java.lang.NoClassDefFoundError: org/apache/batik/util/XMLConstants
> 
> 
> Olivier Sallou suspected that the issue could be caused by the version of
> Batik which is 1.8 in stable and 1.10 in testing/sid.  I've checked both
> source code and JARs for instance like
> 
> $ grep -wl XMLConstants /usr/share/java/batik*
> /usr/share/java/batik-all-1.10.jar
> /usr/share/java/batik-all.jar
> /usr/share/java/batik-constants-1.10.jar
> /usr/share/java/batik-constants.jar
> /usr/share/java/batik.jar
> /usr/share/java/batik-libs.jar
> 
> on a machine (testing) where it fails and where cgview works (stable):
> 
> $  $ grep -wl XMLConstants /usr/share/java/batik*
> /usr/share/java/batik-1.8.jar
> /usr/share/java/batik-all-1.8.jar
> /usr/share/java/batik-all.jar
> /usr/share/java/batik.jar
> /usr/share/java/batik-libs-1.8.jar
> /usr/share/java/batik-libs.jar
> /usr/share/java/batik-util-1.8.jar
> /usr/share/java/batik-util.jar
> 
> The only interesting difference is that on stable (batik-1.8) the symbol
> is inside /usr/share/java/batik-util.jar while it is not any more in
> batik 1.10.
> 
> The tricky thing is that the string XMLConstants itself is not part of
> the cgview source code so simply changing util in something else that
> can be found is not possible and may be the bug is simply in one of the
> dependencies and not in cgview itself.  That's why I take the freedom to
> add Debian Java list in CC of this bug report.
> 
> Kind regards
> 
>       Andreas.
> 
> 
> -- System Information:
> Debian Release: 9.5
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 4.9.0-6-amd64 (SMP w/1 CPU core)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages cgview depends on:
> pn  default-jre | java8-runtime  <none>
> pn  jarwrapper                   <none>
> pn  libbatik-java                <none>
> pn  libcommons-lang-java         <none>
> pn  libjargs-java                <none>
> pn  libxerces2-java              <none>
> 
> cgview recommends no packages.
> 
> cgview suggests no packages.
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging

-- 
http://fam-tille.de



More information about the pkg-java-maintainers mailing list