[1.1.4] Windows: IDE: Unable to start (build 280+) --- jna problem

Asked by RapTop on 2019-05-31

I have successfully write some and run some scripts. and then I decided to move the sikulix.jar to a permanent folder. Then I could not open the IDE or run it through cmd anymore. Version 1.1.4

+++ running this Java
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar C:\Repo\mgmtfw\tests\thunderbird\EM\Performance\SynergyConsoleGUI\sikulix.jar -d
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: Failed to create temporary file for /com/sun/jna/win32-x86-64/jnidispatch.dll library: Stream closed
        at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:962)
        at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:922)
        at com.sun.jna.Native.<clinit>(Native.java:190)
        at com.sun.jna.Pointer.<clinit>(Pointer.java:54)
        at com.sun.jna.Structure.<clinit>(Structure.java:2130)
        at com.tulskiy.keymaster.windows.WindowsProvider$1.run(WindowsProvider.java:56)
        at java.lang.Thread.run(Unknown Source)
IDE terminated: returned: 1

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2019-05-31
Last reply:
2019-06-01
RaiMan (raimund-hocke) said : #1

Sorry for the inconvenience.

This situation is a bug, introduced by the threaded startup (makes it faster ;-).

There is a fix ready (https://github.com/RaiMan/SikuliX1/pull/127 in detail #122).

But there will only be a new build during next week containing this fix.

Can you help with this problem?

Provide an answer of your own, or ask RapTop for more information if necessary.

To post a message you must log in.