sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #01477
[Bug 723595] Re: X-1.0rc2: WindowsXP: IDE crashes at screenshot (scrambles screen with multi monitor)
Hello Raiman,
Just for your information, I've been testing the Sikuli application on a
Windows Vista machine. Because it did not work (what this issue is all
about) I also used an XP box and a Mac. But I've been using Vista
mainly.
That being said, I've managed to trigger the following error message:
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
H:\>java -Dsikuli.console=false -jar "C:\Program Files\Sikuli X\sikuli-ide.jar"
Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\QUICKT~1\
bin\JAVA_S~1\classes;C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar
Loading HP QuickTest Professional Java Support (version 10.0.2300.0) (SUN 1.6.0_
05)
[info] locale: en_US
[debug] init user preferences
[info] install hotkey: CTRL+SHIFT+2 for onQuickCapture
[info] install hotkey: ALT+SHIFT+C for onStopRunning
[info] Windows utilities loaded.
Exception in thread "capture" java.lang.NoClassDefFoundError: com/sun/awt/AWTUti
lities
at org.sikuli.script.Win32Util.setWindowOpaque(Win32Util.java:79)
at org.sikuli.script.ScreenHighlighter.init(ScreenHighlighter.java:175)
at org.sikuli.script.ScreenHighlighter.<init>(ScreenHighlighter.java:288
)
at org.sikuli.script.Screen.initBounds(Screen.java:96)
at org.sikuli.script.Screen.<init>(Screen.java:108)
at org.sikuli.script.CapturePrompt.<init>(CapturePrompt.java:319)
at org.sikuli.script.CapturePrompt.<init>(CapturePrompt.java:310)
at org.sikuli.ide.CaptureButton$1.run(CaptureButton.java:186)
Caused by: java.lang.ClassNotFoundException: com.sun.awt.AWTUtilities
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 8 more
DEBUG - Releasing all waiters. There are 0 waiters active.
0 [JVM Exit listener] DEBUG java_agent.replay_events - Releasing all waiters. T
here are 0 waiters active.
--------------------------------
The echo command:
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
H:\echo from sikuli.Sikuli import * ; capture() | java -cp "C:\Pr
ogram Files\Sikuli X\sikuli-script.jar" org.python.util.jython
Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\QUICKT~1\
bin\JAVA_S~1\classes;C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar
Loading HP QuickTest Professional Java Support (version 10.0.2300.0) (SUN 1.6.0_
05)
[info] Sikuli vision engine loaded.
[info] Windows utilities loaded.
[info] VDictProxy loaded.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\__init__.py", lin
e 1, in <module>
File "C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\Sikuli.py", line
209, in <module>
File "C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\Sikuli.py", line
204, in initSikuli
File "C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\Screen.py", line
16, in __init__
at org.sikuli.script.Win32Util.setWindowOpaque(Win32Util.java:79)
at org.sikuli.script.ScreenHighlighter.init(ScreenHighlighter.java:175)
at org.sikuli.script.ScreenHighlighter.<init>(ScreenHighlighter.java:288
)
at org.sikuli.script.Screen.initBounds(Screen.java:96)
at org.sikuli.script.Screen.<init>(Screen.java:108)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.python.core.PyReflectedConstructor.constructProxy(PyReflectedCons
tructor.java:163)
java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: com/sun/awt/AWTU
tilities
DEBUG - Releasing all waiters. There are 0 waiters active.
0 [JVM Exit listener] DEBUG java_agent.replay_events - Releasing all waiters. T
here are 0 waiters active.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/723595
Title:
X-1.0rc2: WindowsXP: IDE crashes at screenshot (scrambles screen with
multi monitor)
Status in Sikuli:
New
Bug description:
I am using Sikuli X-1.0rc2 on Win XP 32-bit. When I try to make a
screenshot or a region screenshot my screen (2 screens) looks like on
the attachment image.
References