← Back to team overview

sikuli-driver team mailing list archive

[Question #188392]: Unable to run sikuli project on Win Vista machine.

 

New question #188392 on Sikuli:
https://answers.launchpad.net/sikuli/+question/188392


I am using Sikuli application on a Windows Vista(SP2) 32-bit  machine and i have already added following path :

path-to-Java-JRE\jre6\bin

path-to-SikuliX\libs

Then I tried to run the script and got following exception :


[info] Windows utilities loaded.
FAILED CONFIGURATION: @BeforeClass beforeClass
java.lang.NoClassDefFoundError: com/sun/awt/AWTUtilities
	at org.sikuli.script.Win32Util.setWindowOpaque(Win32Util.java:84)
	at org.sikuli.script.ScreenHighlighter.init(ScreenHighlighter.java:180)
	at org.sikuli.script.ScreenHighlighter.<init>(ScreenHighlighter.java:293)
	at org.sikuli.script.Screen.initBounds(Screen.java:105)
	at org.sikuli.script.Screen.<init>(Screen.java:117)
	at com.qait.cengage.cnow.ui.student.assignments.StudentTakeAssignment.<init>(StudentTakeAssignment.java:18)
	at com.qait.cengage.cnow.actions.BaseClass.initObjects(BaseClass.java:70)
	at com.qait.cengage.cnow.actions.BaseClass.startBrowser(BaseClass.java:55)
	at com.qait.cengage.cnow.test.InstructorCourseCreation.CourseCreationManuallyTest.beforeClass(CourseCreationManuallyTest.java:32)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:543)
	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:212)
	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
	at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
	at org.testng.TestRunner.privateRun(TestRunner.java:758)
	at org.testng.TestRunner.run(TestRunner.java:613)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:87)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1141)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1066)
	at org.testng.TestNG.run(TestNG.java:978)
	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:109)
	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:202)
	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:173)

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