New question #700597 on SikuliX:
https://answers.launchpad.net/sikuli/+question/700597

Hey Folks,

getting an error, not always, only sometimes:

[error] script [ Start ] stopped with error in line 129
[error] java.lang.NullPointerException ( java.lang.NullPointerException: Cannot 
invoke "org.sikuli.script.Region$RepeatableFind.setShouldStop()" because 
"this.rfArray[this.subN]" is null )
[error] --- Traceback --- error source first
line: module ( function ) statement 
...


this happens from time to time using:
match_image_list = region.waitBestList(1,image_list)
if match_image_list:
    print('found')
    click()

does this error maybe happens, cause the image the script is looking for is 
moving?
cause it found the image and when trying to click on it, it can't find it again?

or any other idea?

working in win 10 using Sikuli 2.0.5 on java 17 executing over command line.

-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to