Question #673296 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/673296

Description changed to:
Hi guys!

So I'm running SikuliX 1.1.4, and Java version 10.0.2, and I can load
the IDE.

However, when clicking "Take Screenshot", the IDE crashes with the
following log:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.sikuli.ide.CloseableModernTabbedPaneUI 
(file:/C:/MyPythonScripts/SikuliX/sikulix.jar) to constructor 
javax.swing.plaf.basic.BasicTabbedPaneUI$Actions(java.lang.String)
WARNING: Please consider reporting this to the maintainers of 
org.sikuli.ide.CloseableModernTabbedPaneUI
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
        at org.sikuli.ide.ButtonCapture.capture(ButtonCapture.java:97)
        at 
org.sikuli.ide.ButtonCapture.captureWithAutoDelay(ButtonCapture.java:80)
        at org.sikuli.ide.ButtonCapture.actionPerformed(ButtonCapture.java:74)
        at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown 
Source)
        at 
java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at 
java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
...
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IllegalThreadStateException: Cannot call method from the 
event dispatcher thread
        at java.desktop/java.awt.Robot.checkNotDispatchThread(Unknown Source)
        at java.desktop/java.awt.Robot.waitForIdle(Unknown Source)
        at org.sikuli.script.Mouse.move(Mouse.java:360)
        at org.sikuli.script.Mouse.move(Mouse.java:329)
        at org.sikuli.script.Mouse.init(Mouse.java:58)
        at org.sikuli.script.Screen.initScreens(Screen.java:107)
        at org.sikuli.script.Screen.<clinit>(Screen.java:71)
        ... 40 more

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

_______________________________________________
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