← Back to team overview

sikuli-driver team mailing list archive

[Bug 514100] Re: IllegalThreadStateException - Executable not working correctly

 

Seeing this error in Python threads. When this exception is thrown, all
finds executed on that thread return positive regardless of the actual
state

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/514100

Title:
  IllegalThreadStateException - Executable not working correctly

Status in Sikuli:
  New

Bug description:
  Sikuli version 0.9.7
  OS X 10.6.2

  The attached executable does not run properly and generates the
  following error:

  Message:

  Traceback (innermost last):
    File "/var/folders/G5/G5yhMN5LEtqH2xRl8QY6zk+++TI/-Tmp-/tmp--8303954.sikuli/petrie_to_central.sikuli/petrie_to_central.py", line 3, in ?
    File "/Applications/Sikuli-IDE.app/Contents/Resources/Java/sikuli-script.jar/Lib/python/edu/mit/csail/uid/Sikuli.py", line 520, in type
  	at java.awt.Robot.checkNotDispatchThread(Robot.java:465)
  	at java.awt.Robot.waitForIdle(Robot.java:444)
  	at edu.mit.csail.uid.SikuliScript.type(SikuliScript.java:612)
  	at edu.mit.csail.uid.SikuliScript.type(SikuliScript.java:442)
  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  	at java.lang.reflect.Method.invoke(Method.java:597)

  java.lang.IllegalThreadStateException:
  java.lang.IllegalThreadStateException: Cannot call method from the
  event dispatcher thread

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/514100/+subscriptions