Visolate crashes by just launching

Bug #1597782 reported by Traumflug
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Expired
High
Unassigned
visolate (Ubuntu)
Expired
High
Unassigned

Bug Description

Steps to reproduce:

$ sudo apt-get --no-install-recommends install visolate
$ visolate

This results in:

$ visolate
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
 at java.lang.Class.getDeclaredMethods0(java.base@9-internal/Native Method)
 at java.lang.Class.privateGetDeclaredMethods(java.base@9-internal/Class.java:2937)
 at java.lang.Class.privateGetMethodRecursive(java.base@9-internal/Class.java:3282)
 at java.lang.Class.getMethod0(java.base@9-internal/Class.java:3252)
 at java.lang.Class.getMethod(java.base@9-internal/Class.java:1961)
 at sun.launcher.LauncherHelper.validateMainClass(java.base@9-internal/LauncherHelper.java:648)
 at sun.launcher.LauncherHelper.checkAndLoadMain(java.base@9-internal/LauncherHelper.java:499)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.ParseException
 at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-internal/BuiltinClassLoader.java:366)
 at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-internal/ClassLoaders.java:184)
 at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419)
 ... 7 more

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: visolate 2.1.6~svn8+dfsg1-1
ProcVersionSignature: Ubuntu 4.4.0-25.44-generic 4.4.13
Uname: Linux 4.4.0-25-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Jun 30 16:24:13 2016
InstallationDate: Installed on 2016-05-04 (57 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitecture: all
SourcePackage: visolate
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Traumflug (mah-jump-ing) wrote :
Revision history for this message
chrysn (chrysn) wrote :

to make sure what provides java at your machine, please give me the output of `java -version`.

Revision history for this message
Traumflug (mah-jump-ing) wrote :

$ java -version
openjdk version "9-internal"
OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src)
OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)

Revision history for this message
Traumflug (mah-jump-ing) wrote :

I tried with OpenJDK 8, too, same result.

$ java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)

However, looking at bug #1597769, the JAR packages provided in the Github repository version 3.0.1, version 3.1 and version 3.1.1 do work with OpenJDK 8, so upgrading would be a solution for this bug.

Revision history for this message
Florin Gherendi (florin-gf) wrote :

It's just another problem in the 16.04 LTS distribution, among many other... It shouldn't have been named LTS, nobody ever answers to support requests and it's far from being stable. Why in the world they put visolate version 2.1.6 in the repository together with OpenJDK 8 as long as they are known not to work together?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in visolate (Ubuntu):
status: New → Confirmed
Revision history for this message
Traumflug (mah-jump-ing) wrote :

One way to fix the issue is to use Visolate latest release, 3.1.1: https://github.com/Traumflug/Visolate/tree/master/releases

Just download the release file and run it with

  java -jar visolate-3.1.1.jar

No package installation other than the Java packages required.

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

The fix is upgrading this package to one of those versions that work.

Changed in visolate (Ubuntu):
importance: Undecided → High
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Also it seems necessary to look if the package dependency on OpenJDK is well defined. Otherwise this bug won't be taking place.

Revision history for this message
Paul White (paulw2u) wrote :

We are sorry that we do not always have the capacity to review all reported bugs in a timely manner.

I'm setting this bug to "Incomplete" as it's not seen any activity for some time. If this is still an issue when using a maintained release of Ubuntu then please let us know otherwise this bug report can be left to expire in approximately 60 days time.

Changed in hundredpapercuts:
status: Confirmed → Incomplete
Changed in visolate (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for visolate (Ubuntu) because there has been no activity for 60 days.]

Changed in visolate (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for One Hundred Papercuts because there has been no activity for 60 days.]

Changed in hundredpapercuts:
status: Incomplete → Expired
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.