← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #140107]: The sikuli does not work after updating the latest sikuli-script.jar of sikuli x

 

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

    Status: Answered => Open

Gary Lee is still having a problem:
i had add the C:\Program Files\Java\jre1.6.0_06\bin into Path
but the console error as below:
Setting connection parameters:127.0.0.1:1284
[TestRunner] Starting executor with time out:2147483647 milliseconds.
[TestNG] Running:
  C:\Documents and Settings\Administrator.LENOVO-1331A2EE\Local Settings\Temp\testng-eclipse\testng-customsuite.xml


Windows utilities loaded.
FAILED: verifyLoginWithWrongCapture
java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jdk1.6.0_06\jre\bin\fontmanager.dll: can not find the correct application。
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
	at java.lang.Runtime.loadLibrary0(Runtime.java:823)
	at java.lang.System.loadLibrary(System.java:1030)
	at sun.font.FontManager$1.run(FontManager.java:201)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.font.FontManager.<clinit>(FontManager.java:196)
	at sun.java2d.SunGraphicsEnvironment.addDirFonts(SunGraphicsEnvironment.java:938)
	at sun.java2d.SunGraphicsEnvironment.registerFontsInDir(SunGraphicsEnvironment.java:818)
	at sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:60)
	at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:193)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:125)
	at sun.awt.Win32GraphicsEnvironment.<init>(Win32GraphicsEnvironment.java:73)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at java.lang.Class.newInstance0(Class.java:355)
	at java.lang.Class.newInstance(Class.java:308)
	at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
	at org.sikuli.script.Screen.<clinit>(Screen.java:20)
	at store.scripts.xhtml_temp.test_Captcha.verifyLoginWithWrongCapture(test_Captcha.java:73)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:640)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:627)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:799)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1103)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)
	at org.testng.TestRunner.runWorkers(TestRunner.java:1098)
	at org.testng.TestRunner.privateRun(TestRunner.java:727)
	at org.testng.TestRunner.run(TestRunner.java:581)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:315)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:310)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:272)
	at org.testng.SuiteRunner.run(SuiteRunner.java:221)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:40)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:83)
	at org.testng.internal.thread.ThreadUtil$CountDownLatchedRunnable.run(ThreadUtil.java:151)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)


===============================================
    store.scripts.xhtml_temp.test_Captcha
    Tests run: 1, Failures: 1, Skips: 0
===============================================

null--------------------

===============================================
APP_NEW
Total tests run: 1, Failures: 1, Skips: 0
Configuration Failures: 1, Skips: 0
===============================================

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