[Debian-med-packaging] Bug#866980: Bug#866980: biomaj-watcher: fails to upgrade from 'jessie': Exception in thread "main" java.lang.UnsupportedClassVersionError: WatcherConfigurator : Unsupported major.minor version 52.0

Olivier Sallou olivier.sallou at irisa.fr
Mon Jul 3 09:13:25 UTC 2017


this kind of error is linked to Java jdk/jre version.

Seems java compiled version does not match the installed JRE/Java.
Certainly related to a default Java version in Stretch different from
Jessie (upgraded with dist-upgrade).


On 07/03/2017 10:59 AM, Andreas Beckmann wrote:
> Package: biomaj-watcher
> Version: 1.2.2-4
> Severity: serious
> User: debian-qa at lists.debian.org
> Usertags: piuparts
>
> Hi,
>
> during a test with piuparts I noticed your package fails to upgrade from
> 'jessie'.
> It installed fine in 'jessie', then the upgrade to 'stretch' fails.
>
> >From the attached log (scroll to the bottom...):
>
>   Setting up biomaj-watcher (1.2.2-4) ...
>   Exception in thread "main" java.lang.UnsupportedClassVersionError: WatcherConfigurator : Unsupported major.minor version 52.0
>   	at java.lang.ClassLoader.defineClass1(Native Method)
>   	at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
>   	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
>   	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:425)
>   	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>   	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>   	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
>   dpkg: error processing package biomaj-watcher (--configure):
>    subprocess installed post-installation script returned error exit status 1
>
>
> This was observed while doing two-stage upgrade tests:
>   apt-get upgrade && apt-get dist-upgrade
> during the apt-get upgrade phase.
> A one-stage upgrade (only apt-get dist-upgrade) works fine.
>
> There is probably an insufficiently versioned Depends (or Breaks) ...
> but I have no idea which package could be meant with 
>   Unsupported major.minor version 52.0
>
>
> cheers,
>
> Andreas
>
>
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20170703/05215820/attachment.html>


More information about the Debian-med-packaging mailing list