Re: [Sikuli-driver] [Question #701112]: Error with runnable jar outside of IDE

2022-03-29 Thread Ralph
Question #701112 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/701112

Ralph posted a new comment:
Hi RaiMan, much appreciated. Using a fat jar with 2.0.4 fixed this error

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #701112]: Error with runnable jar outside of IDE

2022-03-29 Thread Ralph
Question #701112 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/701112

Status: Answered => Solved

Ralph confirmed that the question is solved:
Thanks RaiMan, that solved my question.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #701112]: Error with runnable jar outside of IDE

2022-03-29 Thread RaiMan
Question #701112 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/701112

Status: Open => Answered

RaiMan proposed the following answer:
Could you please try with version 2.0.5.

Be sure, that the runnable jar contains all the Sikulix API dependencies
(fat jar).

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #701112]: Error with runnable jar outside of IDE

2022-03-28 Thread Ralph
New question #701112 on SikuliX:
https://answers.launchpad.net/sikuli/+question/701112

Hi RaiMan, When I export a runnable jar from Eclipse I get an error when I run 
the jar outside of the IDE. The error happens when I use click, hover, findtext 
and exists functions. The errors I get are "java.lang.NoClassDefFoundError: 
Could not initialize class org.sikuli.script.Finder$FindInput2" and "Caused by: 
java.lang.NullPointerException: Cannot invoke "java.io.File.getAbsolutePath()" 
because "this.fSxBase" is null"

I read in some of the documentation that I may need to install Sikuli on the PC 
first but cannot find out how to do this. Any help would be appreciated

The OS is Windows 10. This is from the pom

 1.8
 3.13.0
 7.4.0
 3.7.0



 
  org.seleniumhq.selenium
  selenium-java
  ${selenium.version}
 
 
  org.testng
  testng
  ${testng.version}
 
 
  com.aventstack
  extentreports
  4.0.6
 
 
  com.sikulix
  sikulixapi
  2.0.4
 

Thanks


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp