sikuli fails with NoClassDefFoundError: com/kenai/constantine/Constant

Bug #1456675 reported by Chad Miller
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sikuli (Debian)
Fix Released
Unknown
sikuli (Ubuntu)
Fix Released
Medium
Chad Miller

Bug Description

$ sikuli-ide
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
[info] locale: en_US
Exception in thread "main" java.lang.NoClassDefFoundError: com/kenai/constantine/Constant
 at org.python.modules.Setup.<clinit>(Setup.java:29)
 at org.python.core.PySystemState.initBuiltins(PySystemState.java:1047)
 at org.python.core.PySystemState.doInitialize(PySystemState.java:883)
 at org.python.core.PySystemState.initialize(PySystemState.java:802)
 at org.python.core.PySystemState.initialize(PySystemState.java:752)
 at org.python.core.PySystemState.initialize(PySystemState.java:745)
 at org.python.util.PythonInterpreter.initialize(PythonInterpreter.java:57)
 at org.sikuli.script.ScriptRunner.init(ScriptRunner.java:32)
 at org.sikuli.script.ScriptRunner.<init>(ScriptRunner.java:28)
 at org.sikuli.script.ScriptRunner.getInstance(ScriptRunner.java:23)
 at org.sikuli.ide.SikuliIDE.<init>(SikuliIDE.java:664)
 at org.sikuli.ide.SikuliIDE.getInstance(SikuliIDE.java:138)
 at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:975)
Caused by: java.lang.ClassNotFoundException: com.kenai.constantine.Constant
 at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
 ... 13 more

The executable wrapper has a class path that doesn't account for the "constants" library changing with the new empty libconstantine-java transitional to libjnr-constants-java .

Tags: patch
Chad Miller (cmiller)
Changed in sikuli (Ubuntu):
assignee: nobody → Chad Miller (cmiller)
importance: Undecided → Medium
Revision history for this message
Chad Miller (cmiller) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Changed in sikuli (Debian):
status: Unknown → New
Revision history for this message
Chad Miller (cmiller) wrote :

Yes, there's a debdiff, but Debian should get apply it and we synch.

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

This bug was fixed in the package sikuli - 1.0~x~rc3.tesseract3-dfsg1-8ubuntu1

---------------
sikuli (1.0~x~rc3.tesseract3-dfsg1-8ubuntu1) wily; urgency=medium

  [ Chad MILLER ]
  * debian/patches/executable-wrappers.patch: Split wrappers' args across
    lines to make patchable.
  * debian/patches/any-constants-library.patch: Add another constants library
    that may include functionality that a transitional package lacks. (LP:
    #1456675)

  [ Iain Lane ]
  * Add missing \ to wrapper script.

 -- Iain Lane <email address hidden> Tue, 19 May 2015 18:39:57 +0100

Changed in sikuli (Ubuntu):
status: New → Fix Released
Changed in sikuli (Debian):
status: New → 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.