← Back to team overview

sikuli-driver team mailing list archive

[Bug 1028612] Re: Sikuli for Java 7 throws exception when launched in Java 7 on OS X

 

** Changed in: sikuli
       Status: Confirmed => Fix Committed

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => x1.0

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1028612

Title:
  Sikuli for Java 7 throws exception when launched in Java 7 on OS X

Status in Sikuli:
  Fix Committed

Bug description:
  When run with Java 6, sikuli-script.jar executes without issue. When
  same jar is executed with Java 7, exception similar to stacktrace
  below is emitted. Note that this is replicable with the jar found in
  sikuli-script-java7.zip posted to drop box, with the caveat that the
  latter does not work under Java 6 (as expected).

  OS X 10.7.4 (Build 11E53)

  java version "1.7.0_04"
  Java(TM) SE Runtime Environment (build 1.7.0_04-b21)
  Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)

  
  java -jar ~/Downloads/sikuli-script-java7/sikuli-script.jar -i
  java.io.IOException: Unable to find library META-INF/lib/libVisionProxy.dylib on classpath
  	at com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractResource(DefaultJniExtractor.java:127)
  	at com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractJni(DefaultJniExtractor.java:110)
  	at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:43)
  	at org.sikuli.script.Finder.<clinit>(Finder.java:33)
  	at java.lang.Class.forName0(Native Method)
  	at java.lang.Class.forName(Class.java:264)
  	at org.python.core.Py.loadAndInitClass(Py.java:895)
  	at org.python.core.Py.findClassInternal(Py.java:830)
  	at org.python.core.Py.findClassEx(Py.java:881)
  	at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133)
  	at org.python.core.packagecache.PackageManager.findClass(PackageManager.java:28)
  	at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122)
  	at org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:137)
  	at org.python.core.PyObject.__findattr__(PyObject.java:863)
  	at org.python.core.imp.import_name(imp.java:849)
  	at org.python.core.imp.importName(imp.java:884)
  	at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
  	at org.python.core.PyObject.__call__(PyObject.java:357)
  	at org.python.core.__builtin__.__import__(__builtin__.java:1173)
  	at org.python.core.imp.importFromAs(imp.java:978)
  	at org.python.core.imp.importFrom(imp.java:954)
  [.......]

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1028612/+subscriptions


References