sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54676
Re: [Question #689458]: Vision class missing in sikulixapi-2.0.4.jar
Question #689458 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689458
Status: Answered => Open
Selva is still having a problem:
Hi RaiMan,
Thanks for the update. I have commnted out the above feature. But I am having issue on just simple click on screen image
like
Screen scr=new Screen();
String sImagePath=ProductAreaLib.CONSTANT.DATA_PATH+"SikuliImages\\\\PCode\\\\ProgramFlow.PNG" ;
scr.click(sImagePath);
This was the one used to work earlier but throws error as added below.
I am using java 1.8.0.241 - and sikulixapi-2.0.4.jar
Is there any change in latest version and also any document to provide java coding on scree based, click, DoubleClick, exists where the sImagePath is path of png image
--
java.lang.NoSuchMethodError: com.sun.jna.Native.load(Ljava/lang/String;Ljava/lang/Class;Ljava/util/Map;)Lcom/sun/jna/Library;
at org.sikuli.natives.SXUser32.<clinit>(SXUser32.java:13)
at org.sikuli.natives.WinUtil.<clinit>(WinUtil.java:495)
at org.sikuli.script.support.RunTime.addToWindowsSystemPath(RunTime.java:1717)
at org.sikuli.script.support.RunTime.libsExport(RunTime.java:1660)
at org.sikuli.script.support.RunTime.libsLoad(RunTime.java:1479)
at org.sikuli.script.support.RunTime.loadLibrary(RunTime.java:1689)
at org.sikuli.script.Finder$Finder2.<clinit>(Finder.java:536)
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.exists(Region.java:2322)
at Script.Peoplecode.Enabling_Version_Specific_PeopleCode_Compile.N02_PeopleCode_Directive_code_in_App_Engine_2xWD.testN02_PeopleCode_Directive_code_in_App_Engine_WD(N02_PeopleCode_Directive_code_in_App_Engine_2xWD.java:95)
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 junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
---
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.