sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #51219
Re: [Question #679788]: Error in creating Pattern using URI
Question #679788 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679788
Description changed to:
While creating Pattern from URI of png Image file
URI uri = Test.class.getResource("1.png");
Pattern pattern = new Pattern(uri);
getting following error.
Exception in thread "main" java.lang.NoSuchMethodError: com.sun.jna.platform.win32.Psapi$MODULEINFO.createFieldsOrder([Ljava/lang/String;)Ljava/util/List;
at com.sun.jna.platform.win32.Psapi$MODULEINFO.<clinit>(Psapi.java:269)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.sun.proxy.$Proxy3.<clinit>(Unknown Source)
...
at com.sun.jna.platform.win32.Psapi.<clinit>(Psapi.java:47)
at org.sikuli.natives.WinUtil.<clinit>(WinUtil.java:39)
at org.sikuli.script.support.RunTime.addToWindowsSystemPath(RunTime.java:1718)
at org.sikuli.script.support.RunTime.libsExport(RunTime.java:1661)
at org.sikuli.script.support.RunTime.libsLoad(RunTime.java:1486)
at org.sikuli.script.support.RunTime.loadLibrary(RunTime.java:1690)
at org.sikuli.script.Finder$Finder2.<clinit>(Finder.java:571)
...
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.