← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #187260]: Getting following error while running script 'java.lang.NoClassDefFoundError: com/sun/awt/AWTUtilities'

 

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

Description changed to:
RemoteTestNG starting
[info] Windows utilities loaded.
FAILED CONFIGURATION: @BeforeClass startSelenium
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 PilogSearch.startSelenium(PilogSearch.java:25)
	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:76)
	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525)
	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202)
	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)
	at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:173)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:105)
	at org.testng.TestRunner.runWorkers(TestRunner.java:1147)
	at org.testng.TestRunner.privateRun(TestRunner.java:749)
	at org.testng.TestRunner.run(TestRunner.java:600)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:329)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:324)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:286)
	at org.testng.SuiteRunner.run(SuiteRunner.java:235)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1049)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:974)
	at org.testng.TestNG.run(TestNG.java:905)
	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:203)
	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:174)

java.lang.NullPointerException
	at org.testng.internal.Utils.stackTrace(Utils.java:483)
	at org.testng.reporters.TextReporter.logResults(TextReporter.java:98)
	at org.testng.reporters.TextReporter.onFinish(TextReporter.java:30)
	at org.testng.TestRunner.fireEvent(TestRunner.java:1428)
	at org.testng.TestRunner.afterRun(TestRunner.java:1174)
	at org.testng.TestRunner.run(TestRunner.java:604)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:329)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:324)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:286)
	at org.testng.SuiteRunner.run(SuiteRunner.java:235)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1049)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:974)
	at org.testng.TestNG.run(TestNG.java:905)
	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:203)
	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:174)RemoteTestNG finishing: -1328764256640 ms

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