sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11388
Re: [Question #201470]: Sikuli segfaults when running script
Question #201470 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/201470
Status: Open => Answered
RaiMan proposed the following answer:
You are running Java 7.
Sikuli is only tested with Java 6.
--- the above build error:
1. ERROR in org/sikuli/script/LinuxUtil.java (at line 18)
Debug.history("switchApp: " + appName);
^^^^^^^
The method history(String, Object[]) in the type Debug is not applicable for the arguments (String)
seems to be such a Java 7 "problem":
in Debug.java the method signature:
public static void history(String message, Object... args) {
The usage without any second parameter seems to be acceptable in Java 6,
but not in Java 7
--- the runtime error
# Problematic frame:
# j org.sikuli.script.OpenCV.convertBufferedImageToMat(Ljava/awt/image/BufferedImage;)Lorg/sikuli/script/natives/Mat;+6
does not have to do anything with the above error. This seems to be some
JNI problem again with Java 7 and a SWIG utility that might need an
upgrade.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.