← Back to team overview

sikuli-driver team mailing list archive

[Question #680813]: Array index out of bounds for open

 

New question #680813 on Sikuli:
https://answers.launchpad.net/sikuli/+question/680813

Hi!
Im having an issue when i try to run app.open i get an array index out of bounds exception. On first glance it looks like it was solved in the issue: 
https://answers.launchpad.net/sikuli/+question/678181
which mentions that in builds 245 and above it should be fine, I'm seeing this bug while using build 288

Here is my code


from sikuli import *

Debug.on(3)
App.logOn()
myApp = App('myApp')
appWindow = myApp.open(10)
wait(2)
myApp.window().highlight(2)
myApp.focus()
myApp.close()

and the logging looks like this:

[AppLog] App.create: [-1:myApp]

[error] script [ opentest ] stopped with error in line 6
[error] java.lang.ArrayIndexOutOfBoundsException ( java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 )

Thanks in advance!

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