sikuli runtime error

Asked by Amil Uslu on 2020-09-16

I am using sikulix api version 2.0.4 with selenium windows 10 x64

But when run my tests it gives below error. Not click to the patern because it can not found.

java.lang.ExceptionInInitializerError
 at org.sikuli.script.Pattern.<init>(Pattern.java:127)
 at testpackage.FiyatListesiKurulum.firstTest(FiyatListesiKurulum.java:58)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
 at org.testng.internal.Invoker.invokeMethod(Invoker.java:583)
 at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
 at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
 at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
 at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
 at org.testng.TestRunner.privateRun(TestRunner.java:648)
 at org.testng.TestRunner.run(TestRunner.java:505)
 at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
 at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
 at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
 at org.testng.SuiteRunner.run(SuiteRunner.java:364)
 at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
 at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
 at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
 at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
 at org.testng.TestNG.runSuites(TestNG.java:1049)
 at org.testng.TestNG.run(TestNG.java:1017)
 at com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)
 at com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:109)
Caused by: org.sikuli.script.SikuliXception: loadlib: opencv_java320.dll not in any libs folder
 at org.sikuli.script.support.RunTime.libsLoad(RunTime.java:1498)
 at org.sikuli.script.support.RunTime.loadLibrary(RunTime.java:1689)
 at org.sikuli.script.Finder$Finder2.<clinit>(Finder.java:536)

Question information

Language:
English Edit question
Status:
Open
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2020-09-27
Last reply:
2020-09-22
RaiMan (raimund-hocke) said : #1

Please check your setup: apparently you are not using sikulixapi 2.0.4 at runtime, since this uses opencv_java342.dll and not opencv_java320.dll.

Amil Uslu (amilus) said : #2

How can I check my setup.

If I add sikulixapi 2.0.4 jar manually it works, but if I put it into maven as a dependency it gives this error.

Amil Uslu (amilus) said : #3

Raiman,

How can I run my sikuli with selenium test in using jenkins ?

in Intellij I run my testng xml with sikuli and selenium it works but in maven command it is not working and it gives
org.sikuli.script.SikuliXception: SikuliX: Init: running in headless environment

sometimes it gives

java.lang.ExceptionInInitializerError

How can i solve his problem please help

Amil Uslu (amilus) said : #4

@Raiman,

Can you help me about this issue ?

Still I have getting these error:

java.lang.ExceptionInInitializerError

Caused by: org.sikuli.script.SikuliXception: loadlib: opencv_java320.dll not in any libs folder

Amil Uslu (amilus) said : #5

my pom file

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>org.amil</groupId>
    <artifactId>deneme</artifactId>
    <version>1.0-SNAPSHOT</version>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <version>6.14.3</version>
        </dependency>
        <dependency>
            <groupId>com.turkcell</groupId>
            <artifactId>automationFramework</artifactId>
            <version>155</version>
        </dependency>
        <dependency>
            <groupId>com.oracle</groupId>
            <artifactId>ojdbc14</artifactId>
            <version>10.2.0.3.0</version>
        </dependency>
        <dependency>
            <groupId>com.sikulix</groupId>
            <artifactId>sikulixapi</artifactId>
            <version>2.0.4</version>
        </dependency>
    </dependencies>
    <repositories>
    </repositories>
    <profiles>
        <profile>
            <id>Testroyer</id>
            <properties>
                <maven.test.failure.ignore>true</maven.test.failure.ignore>
            </properties>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <version>2.22.0</version>
                        <configuration>
                            <suiteXmlFiles>
                                <suiteXmlFile>testroyer.xml</suiteXmlFile>
                            </suiteXmlFiles>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>hakedis</id>
            <properties>
                <maven.test.failure.ignore>true</maven.test.failure.ignore>
            </properties>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <version>2.22.0</version>
                        <configuration>
                            <suiteXmlFiles>
                                <suiteXmlFile>Hakedis.xml</suiteXmlFile>
                            </suiteXmlFiles>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
</project>

RaiMan (raimund-hocke) said : #6

Again as mentioned in comment #1:

Make sure you have a clean 2.0.4 environment, when running in the Jenkins setup.

Make sure you have a non-headless environment (use smith. like xvfb to have a fake-screen).

Your pom from comment #5 looks ok.

Amil Uslu (amilus) said : #7

I have a windows slave in my jenkins and its like a agent. When I click the build button in jenkins,

it directly goes to this windows machine. Why do I have to install this xvfb ?

How can make this setup is there any document or step by step description ?

Amil Uslu (amilus) said : #8

I have a windows slave in my jenkins and its like a agent. When I click the build button in jenkins,

it directly goes to this windows machine. Why do I have to install this xvfb ?

How can make this setup is there any document or step by step description ?

Amil Uslu (amilus) said : #9

furthermore,

jenkins is installed in windows machine

Amil Uslu (amilus) said : #10

Runned with this command : -Dsikuli.Debug=3

Error below :

[debug] RunTime:temp folder ok: C:\Users\TESTAU~1\AppData\Local\Temp\2\Sikulix_649344256
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\TESTAUTOADM\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.4-2020-03-14_08:01 API
user.home: C:\Users\TESTAUTOADM
user.dir (work dir): E:\Jenkins\workspace\hakedis
user.name: TESTAUTOADM
java.io.tmpdir: C:\Users\TESTAU~1\AppData\Local\Temp\2
running 64Bit(amd64) on w (6.3) from a jar
java 8 version 1.8 vm 25.171-b11 class 52.0 arch 64
app data folder: C:\Users\TESTAUTOADM\AppData\Roaming\Sikulix
executing jar: E:\Jenkins\workspace\hakedis\lib\sikulixapi-2.0.4.jar
*** classpath dump sikulix
*** classpath dump end
***** show environment end
[19 debug] RunTime:loadlib: trying opencv_java320
[167 debug] RunTime:addToWindowsSystemPath: added to systempath:
C:\Users\TESTAUTOADM\AppData\Roaming\Sikulix\SikulixLibs
[168 debug] RunTime:checkJavaUsrPath: added to ClassLoader.usrPaths
[172 debug] RunTime:libsExport: folder exists: C:\Users\TESTAUTOADM\AppData\Roaming\Sikulix\SikulixLibs (2.0.4 - 202003140801)
[INFO ] 2020-09-22 01:45:25,555 ReTryTestCase.retry() - Test 'fiyatListesiKurulum' has exception below:
java.lang.ExceptionInInitializerError
Caused by: org.sikuli.script.SikuliXception: loadlib: opencv_java320.dll not in any libs folder

If we solve this problem I think its going to work well

RaiMan (raimund-hocke) said : #11

My testcase as Maven setup:
https://www.dropbox.com/s/0v5wj6r4houb5zq/TestAPI.zip?dl=0

This is a simple Java program that uses SikuliX features, that need OpenCV.

Using this on commandline (being in the TestApi directory):
mvn exec:java -Dsikuli.Debug=3

and having deleted the sikulixapi::2.0.4 branch from the local Maven repo and the SikulX app-data folder, I get the following output:

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------< com.sikulix:TestAPI >-------------------------
[INFO] Building TestAPI 2.0.4
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/com/sikulix/sikulixapi/2.0.4/sikulixapi-2.0.4.pom
Downloaded from central: https://repo.maven.apache.org/maven2/com/sikulix/sikulixapi/2.0.4/sikulixapi-2.0.4.pom (9.2 kB at 24 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/com/sikulix/sikulixapi/2.0.4/sikulixapi-2.0.4.jar
Downloaded from central: https://repo.maven.apache.org/maven2/com/sikulix/sikulixapi/2.0.4/sikulixapi-2.0.4.jar (44 MB at 6.0 MB/s)
[INFO]
[INFO] --- exec-maven-plugin:3.0.0:java (default-cli) @ TestAPI ---
[debug] RunTime:temp folder ok: C:\Users\rmhde\AppData\Local\Temp\Sikulix_626803368
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\rmhde\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.4-2020-03-13_17:09 API <<<---
user.home: C:\Users\rmhde
user.dir (work dir): C:\Users\rmhde\IdeaProjects\TestAPI
user.name: rmhde
java.io.tmpdir: C:\Users\rmhde\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar
java 8 version 1.8 vm 25.265-b01 class 52.0 arch 64
app data folder: C:\Users\rmhde\AppData\Roaming\Sikulix
executing jar: C:\Users\rmhde\.m2\repository\com\sikulix\sikulixapi\2.0.4\sikulixapi-2.0.4.jar <<<---
*** classpath dump sikulix
*** classpath dump end
***** show environment end
[78 debug] RunTime:loadlib: trying opencv_java342 <<<---
[99 debug] RunTime:libsExport: folder has wrong content: C:\Users\rmhde\AppData\Roaming\Sikulix\SikulixLibs (2.0.4 - 202003140801)
[741 debug] RunTime:addToWindowsSystemPath: added to systempath:
C:\Users\rmhde\AppData\Roaming\Sikulix\SikulixLibs
[745 debug] RunTime:checkJavaUsrPath: added to ClassLoader.usrPaths
[753 debug] RunTime:libsExport: folder created: C:\Users\rmhde\AppData\Roaming\Sikulix\SikulixLibs (2.0.4 - 202003131709)
[936 debug] RunTime:loadLib: opencv_java342.dll (success)
[945 debug] Finder2: makeMat: INT_RGB (1920x1200)
[991 debug] Finder2: makeMat: 3BYTE_BGR (79x24)
[998 debug] Finder2: doFindImage: start (stdDev: 132,4604 mean: 671,261076)
[1189 debug] Finder2: doFindImage: in original: %39,3367 (?70) 185 msec
[1191 debug] Finder2: doFindImage: end 187 msec
[1279 debug] Finder2: makeMat: INT_RGB (1920x1200)
[1311 debug] Finder2: doFindImage: start (stdDev: 132,4604 mean: 671,261076)
[1490 debug] Finder2: doFindImage: in original: %39,3364 (?70) 176 msec
[1494 debug] Finder2: doFindImage: end 180 msec
[1588 debug] Finder2: makeMat: INT_RGB (1920x1200)
[1608 debug] Finder2: doFindImage: start (stdDev: 132,4604 mean: 671,261076)
[1790 debug] Finder2: doFindImage: in original: %39,3366 (?70) 180 msec
[1793 debug] Finder2: doFindImage: end 183 msec
[1938 debug] Finder2: makeMat: INT_RGB (1920x1200)
[1956 debug] Finder2: doFindImage: start (stdDev: 132,4604 mean: 671,261076)
[2140 debug] Finder2: doFindImage: in original: %39,3366 (?70) 180 msec
[2144 debug] Finder2: doFindImage: end 184 msec
[2268 debug] Finder2: makeMat: INT_RGB (1920x1200)
[2286 debug] Finder2: doFindImage: start (stdDev: 132,4604 mean: 671,261076)
[2471 debug] Finder2: doFindImage: in original: %39,3366 (?70) 179 msec
[2475 debug] Finder2: doFindImage: end 183 msec
[2608 debug] Finder2: makeMat: INT_RGB (1920x1200)
[2628 debug] Finder2: doFindImage: start (stdDev: 132,4604 mean: 671,261076)
[2810 debug] Finder2: doFindImage: in original: %39,3369 (?70) 177 msec
[2814 debug] Finder2: doFindImage: end 181 msec
[2940 debug] Finder2: makeMat: INT_RGB (1920x1200)
[2960 debug] Finder2: doFindImage: start (stdDev: 132,4604 mean: 671,261076)
[3145 debug] Finder2: doFindImage: in original: %39,3366 (?70) 180 msec
[3148 debug] Finder2: doFindImage: end 183 msec
[3209 debug] Region: handleFindFailed: img
[3213 debug] Region: wait: img.png did not appear [3290 msec]
img not found
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.445 s
[INFO] Finished at: 2020-09-22T14:43:10+02:00
[INFO] ------------------------------------------------------------------------

Watch out for the diffs to your case marked at line ends with <<<---

You should simply try to run my example in your Jenkins environment.

if I add this to the end of Run::main:

    ClassLoader cl = Run.class.getClassLoader();
    URL[] urls = ((URLClassLoader) cl).getURLs();
    for (URL url : urls) {
      System.out.println(url.getPath());
    }

I get this additional output:
/C:/Users/rmhde/IdeaProjects/TestAPI/target/classes/
/C:/Users/rmhde/.m2/repository/com/sikulix/sikulixapi/2.0.4/sikulixapi-2.0.4.jar
/C:/Users/rmhde/.m2/repository/com/sikulix/sikulix2tigervnc/1.1.4/sikulix2tigervnc-1.1.4.jar
/C:/Users/rmhde/.m2/repository/commons-cli/commons-cli/1.4/commons-cli-1.4.jar
/C:/Users/rmhde/.m2/repository/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar
/C:/Users/rmhde/.m2/repository/net/java/dev/jna/jna-platform/5.4.0/jna-platform-5.4.0.jar
/C:/Users/rmhde/.m2/repository/net/java/dev/jna/jna/5.4.0/jna-5.4.0.jar
/C:/Users/rmhde/.m2/repository/net/oneandone/reflections8/reflections8/0.11.6/reflections8-0.11.6.jar
/C:/Users/rmhde/.m2/repository/org/javassist/javassist/3.22.0-GA/javassist-3.22.0-GA.jar
/C:/Users/rmhde/.m2/repository/net/sourceforge/tess4j/tess4j/4.4.1/tess4j-4.4.1.jar
/C:/Users/rmhde/.m2/repository/com/github/jai-imageio/jai-imageio-core/1.4.0/jai-imageio-core-1.4.0.jar
/C:/Users/rmhde/.m2/repository/org/ghost4j/ghost4j/1.0.1/ghost4j-1.0.1.jar
/C:/Users/rmhde/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar
/C:/Users/rmhde/.m2/repository/commons-beanutils/commons-beanutils/1.9.2/commons-beanutils-1.9.2.jar
/C:/Users/rmhde/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
/C:/Users/rmhde/.m2/repository/org/apache/xmlgraphics/xmlgraphics-commons/1.4/xmlgraphics-commons-1.4.jar
/C:/Users/rmhde/.m2/repository/com/lowagie/itext/2.1.7/itext-2.1.7.jar
/C:/Users/rmhde/.m2/repository/org/apache/pdfbox/pdfbox/2.0.17/pdfbox-2.0.17.jar
/C:/Users/rmhde/.m2/repository/org/apache/pdfbox/fontbox/2.0.17/fontbox-2.0.17.jar
/C:/Users/rmhde/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
/C:/Users/rmhde/.m2/repository/org/apache/pdfbox/pdfbox-tools/2.0.17/pdfbox-tools-2.0.17.jar
/C:/Users/rmhde/.m2/repository/org/apache/pdfbox/pdfbox-debugger/2.0.17/pdfbox-debugger-2.0.17.jar
/C:/Users/rmhde/.m2/repository/org/apache/pdfbox/jbig2-imageio/3.0.2/jbig2-imageio-3.0.2.jar
/C:/Users/rmhde/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar
/C:/Users/rmhde/.m2/repository/net/sourceforge/lept4j/lept4j/1.12.3/lept4j-1.12.3.jar
/C:/Users/rmhde/.m2/repository/org/jboss/jboss-vfs/3.2.14.Final/jboss-vfs-3.2.14.Final.jar
/C:/Users/rmhde/.m2/repository/org/jboss/logging/jboss-logging/3.1.4.GA/jboss-logging-3.1.4.GA.jar
/C:/Users/rmhde/.m2/repository/org/slf4j/jul-to-slf4j/1.7.28/jul-to-slf4j-1.7.28.jar
/C:/Users/rmhde/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.28/jcl-over-slf4j-1.7.28.jar
/C:/Users/rmhde/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.28/log4j-over-slf4j-1.7.28.jar
/C:/Users/rmhde/.m2/repository/org/slf4j/slf4j-nop/1.7.28/slf4j-nop-1.7.28.jar
/C:/Users/rmhde/.m2/repository/org/slf4j/slf4j-api/1.7.28/slf4j-api-1.7.28.jar

hope it helps to get nerarer to a solution

Amil Uslu (amilus) said : #12

Hi Raiman,

First of all maven problem is solved using your project. But now there is a problem with jenkins integration, I getting below error.

Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\TESTAUTOADM\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.4-2020-03-13_17:09 API
user.home: C:\Users\TESTAUTOADM
user.dir (work dir): E:\Jenkins\workspace\hakedis
user.name: TESTAUTOADM
java.io.tmpdir: C:\Users\TESTAU~1\AppData\Local\Temp\2
running 64Bit(amd64) on w (6.3) from a jar
java 8 version 1.8 vm 25.171-b11 class 52.0 arch 64
app data folder: C:\Users\TESTAUTOADM\AppData\Roaming\Sikulix
executing jar: C:\Users\TESTAUTOADM\.m2\repository\com\sikulix\sikulixapi\2.0.4\sikulixapi-2.0.4.jar
*** classpath dump sikulix
*** classpath dump end
***** show environment end
[16 debug] RunTime:loadlib: trying opencv_java342
[610 debug] RunTime:addToWindowsSystemPath: added to systempath:
C:\Users\TESTAUTOADM\AppData\Roaming\Sikulix\SikulixLibs
[610 debug] RunTime:checkJavaUsrPath: added to ClassLoader.usrPaths
[610 debug] RunTime:libsExport: folder created: C:\Users\TESTAUTOADM\AppData\Roaming\Sikulix\SikulixLibs (2.0.4 - 202003131709)
[error] RunTime:loadLib: opencv_java342.dll (failed) probably dependent libs missing:
C:\Users\TESTAUTOADM\AppData\Roaming\Sikulix\SikulixLibs\opencv_java342.dll: Can't find dependent libraries
[error] Save your work, correct the problem and restart the IDE!
[error] see: https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-Libraries-for-OpenCV-4
TERMINATING: problem with native library: opencv_java342.dll
[WARNING]
java.lang.ExceptionInInitializerError
 at org.sikuli.script.Finder$FindInput2.<clinit>(Finder.java:1164)
 at org.sikuli.script.Finder.<init>(Finder.java:34)
 at org.sikuli.script.Region.doCheckLastSeenAndCreateFinder(Region.java:2841)
 at org.sikuli.script.Region.checkLastSeenAndCreateFinder(Region.java:2802)
 at org.sikuli.script.Region.doFind(Region.java:2731)
 at org.sikuli.script.Region.access$200(Region.java:28)
 at org.sikuli.script.Region$RepeatableFind.run(Region.java:2983)
 at org.sikuli.script.Region$Repeatable.repeat(Region.java:2926)
 at org.sikuli.script.Region.wait(Region.java:2196)
 at org.sikuli.script.Region.wait(Region.java:2240)
 at org.sikuli.script.Region.getLocationFromTarget(Region.java:3188)
 at org.sikuli.script.Region.mouseMove(Region.java:4099)
 at org.sikuli.script.Region.hover(Region.java:3754)
 at com.sikulix.testAPI.Run.main(Run.java:13)
 at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:254)
 at java.lang.Thread.run(Thread.java:748)
Caused by: org.sikuli.script.SikuliXception: fatal: problem with native library: opencv_java342.dll
 at org.sikuli.script.support.RunTime.terminate(RunTime.java:1317)
 at org.sikuli.script.support.RunTime.libsLoad(RunTime.java:1532)
 at org.sikuli.script.support.RunTime.loadLibrary(RunTime.java:1689)
 at org.sikuli.script.Finder$Finder2.<clinit>(Finder.java:536)
 ... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

Amil Uslu (amilus) said : #13

this log also belongs to jenkins job :

Started InternetExplorerDriver server (32-bit)
3.150.1.0
Listening on port 19424
Only local connections are allowed
Sep 27, 2020 6:03:52 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
[error] RunTime:loadLib: opencv_java342.dll (failed) probably dependent libs missing:
C:\Users\TESTAUTOADM\AppData\Roaming\Sikulix\SikulixLibs\opencv_java342.dll: Can't find dependent libraries
[error] Save your work, correct the problem and restart the IDE!
[error] see: https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-Libraries-for-OpenCV-4
TERMINATING: problem with native library: opencv_java342.dll
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 14.824 s <<< FAILURE! - in TestSuite
[ERROR] fiyatListesiKurulum(com.sikulix.testAPI.TestDeneme) Time elapsed: 11.25 s <<< FAILURE!
java.lang.ExceptionInInitializerError
 at com.sikulix.testAPI.TestDeneme.fiyatListesiKurulum(TestDeneme.java:16)
Caused by: org.sikuli.script.SikuliXception: fatal: problem with native library: opencv_java342.dll
 at com.sikulix.testAPI.TestDeneme.fiyatListesiKurulum(TestDeneme.java:16)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestDeneme.fiyatListesiKurulum:16 ยป ExceptionInInitializer
[INFO]
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[ERROR] There are test failures.

Amil Uslu (amilus) said : #14

jenkin installed into windows machine and tests run into same machine there is no linux or mac

Can you help with this problem?

Provide an answer of your own, or ask Amil Uslu for more information if necessary.

To post a message you must log in.