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

    Status: Answered => Open

Djg is still having a problem:
Hi,

Thank I did the the setup as above except for java -jar and was able to
find the image but i got an other exception as in point 2 below.

When i did java -jar , i got the below error as in point 1.

Point1:
C:\Users\Deepak_Goutham.ITLINFOSYS>java -jar  %sikuli_home%\sikuli-script.jar -i

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\Deepak_Gouth
am.ITLINFOSYS\AppData\Local\Temp\jline_.dll: The process cannot access the file
because it is being used by another process
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at jline.WindowsTerminal.loadLibrary(WindowsTerminal.java:315)
        at jline.WindowsTerminal.initializeTerminal(WindowsTerminal.java:240)
        at jline.Terminal.setupTerminal(Terminal.java:75)
        at org.python.util.JLineConsole.<init>(JLineConsole.java:69)
        at org.python.util.JLineConsole.<init>(JLineConsole.java:53)
        at org.python.util.JLineConsole.<init>(JLineConsole.java:49)
        at org.python.util.jython.newInterpreter(jython.java:349)
        at org.python.util.jython.run(jython.java:168)
        at org.python.util.jython.main(jython.java:129)
        at org.sikuli.script.SikuliScript.startInteractiveMode(SikuliScript.java
:84)
        at org.sikuli.script.SikuliScript.main(SikuliScript.java:97)
Exception in thread "Thread-0" java.lang.NoClassDefFoundError: Could not initial
ize class com.sun.jna.Native
        at com.sun.jna.Native$DeleteNativeLibrary.unload(Native.java:738)
        at com.sun.jna.Native$DeleteNativeLibrary.run(Native.java:759)

Point 2:
[info] Windows utilities loaded.
[info] Sikuli vision engine loaded.
Exception in thread "AWT-EventQueue-0" java.lang.IllegalThreadStateException: 
Cannot call method from the event dispatcher thread
        at java.awt.Robot.checkNotDispatchThread(Unknown Source)
        at java.awt.Robot.waitForIdle(Unknown Source)
        at org.sikuli.script.Region.hover(Region.java:533)
        at com.imatt.ide._JMenuBar.actionPerformed(_JMenuBar.java:71)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown 
Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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