← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #222547]: java.lang.UnsatisfiedLinkError: org.sikuli.script.Win32Util.openApp(Ljava/lang/String; )I exception

 

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

Chinmay Shepal gave more information on the question:
Solved it by killing my running java process.


On Fri, Feb 22, 2013 at 1:56 PM, Chinmay Shepal <
question222547@xxxxxxxxxxxxxxxxxxxxx> wrote:

> New question #222547 on Sikuli:
> https://answers.launchpad.net/sikuli/+question/222547
>
> Hi RaiMan,
>
> I am using java code library to run Sikuli automation tests. Till now
> every thing was working file.
>
> Now when I am trying to run my java code I get following error :
> java.io.FileNotFoundException:
> C:\Users\cshepal\AppData\Local\Temp\tmplib\Win32Util.dll (The process
> cannot access the file because it is being used by another process)
>         at java.io.FileOutputStream.open(Native Method)
>         at java.io.FileOutputStream.<init>(Unknown Source)
>         at java.io.FileOutputStream.<init>(Unknown Source)
>         at
> com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractResource(DefaultJniExtractor.java:133)
>         at
> com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractJni(DefaultJniExtractor.java:110)
>         at
> com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:43)
>         at org.sikuli.script.Win32Util.<clinit>(Win32Util.java:19)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Unknown Source)
>         at org.sikuli.script.Env.getOSUtil(Env.java:91)
>         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.hytrust.vsphere.Demo.<init>(Demo.java:17)
> #####################
> java.lang.UnsatisfiedLinkError:
> org.sikuli.script.Win32Util.openApp(Ljava/lang/String;)I
>         at org.sikuli.script.Win32Util.openApp(Native Method)
>         at org.sikuli.script.App.open(App.java:73)
>         at org.sikuli.script.App.open(App.java:24)
>         at com.hytrust.vsphere.Demo.testSetUPHytrust(Demo.java:29)
>         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)
> ####################
>
> I cleared my windows registry and %temp%.
>
> But still I am not able to run the application. Can you help me on this?
>
> --
> You received this question notification because you asked the question.
>


-- 
Thanks,
Chinmay Shepal

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