← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #185595]: sikuli closes when i click take screen shot

 

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

    Status: Needs information => Open

sgr gave more information on the question:
Thanks for the reply  RaiMan :)


Pardon me for my ignorance but i just found out that the application does not close as i'd mentioned in my question.
Instead nothing happens when i press capture...ie no gray overlay. When i press alt+shift+c. the application window comes back..

This is what appears in msg window:

[info] Windows utilities loaded. 
Exception in thread "capture" java.lang.NoClassDefFoundError: com/sun/awt/AWTUtilities 
 at org.sikuli.script.Win32Util.setWindowOpaque(Win32Util.java:79)  
at org.sikuli.script.ScreenHighlighter.init(ScreenHighlighter.java:175)  
at org.sikuli.script.ScreenHighlighter. (ScreenHighlighter.java:288)  
at org.sikuli.script.Screen.initBounds(Screen.java:96)  
at org.sikuli.script.Screen. (Screen.java:108)  
at org.sikuli.script.CapturePrompt. (CapturePrompt.java:319)  
at org.sikuli.script.CapturePrompt. (CapturePrompt.java:310)  
at org.sikuli.ide.CaptureButton$1.run(CaptureButton.java:186)

For the command :
java -jar path-to-sikuli-script.jar -i

i got the reply:
C:\Program Files\Sikuli X>java sikuli-script.jar-i
Exception in thread "main" java.lang.NoClassDefFoundError: sikuli-script/jar-i

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.