← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #249964]: [1.1.0-Beta1] Java: Eclipse: ImagePath not set correctly at runtime

 

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

Description changed to:
fixed - see related bug
---------------------------------

Hi all,

I successfully installed Sikulix IDE and run a simple script.

Then I deleted all files (except setup jar and Downloads dir) under
c:\sikulix and setup again this time for Java API. This was also
successful (no error in setup log and final setup message was a
success). Now c:\sikulix folder contains sikulixapi.jar, lib and libs
items (in addition to setup jar and downloads dir).

But when I try to run the sample Java code in Eclipse, I get the error
below.

I had JDK 8 and JRE 7 at the same time on my machine. The IDE had run ok
with them. When sikulix script failed, I removed JDK 8, changed my
regional settings to English, but none helped.

Any help is appreciated!

Stdout:
[error] ImagePath: setBundlePath: Settings not changed: invalid BundlePath: null
[error] ResourceLoader: check: usr_paths

Stderr:
Unhandled exception
Type=Segmentation error vmState=0x00040000
J9Generic_Signal_Number=00000004 ExceptionCode=c0000005 ExceptionAddress=6567F5F1 ContextFlags=0001007f
Handler1=744E0100 Handler2=7463EF70 InaccessibleAddress=00000000
EDI=0249F9FC ESI=00000020 EAX=7453D7D8 EBX=00000000
ECX=FFFDA000 EDX=24062A18
EIP=6567F5F1 ESP=0249F8FC EBP=0249F9F4 EFLAGS=00010212
GS=002B FS=0053 ES=002B DS=002B
Module=C:\sikulix\libs\VisionProxy.dll
Module_base_address=65640000 Offset_in_DLL=0003f5f1
Target=2_60_20140313_192258 (Windows 7 6.1 build 7601 Service Pack 1)
CPU=x86 (4 logical CPUs) (0x1fce5c000 RAM)
----------- Stack Backtrace -----------
Java_org_sikuli_natives_VisionProxyJNI_Vision_1createMat+0x81 (0x6567F5F1 [VisionProxy+0x3f5f1])
VMprJavaSendNative+0x4e1 (jnisend.asm:505, 0x744F4EC1 [j9vm26+0x24ec1])
gpProtectedRunCallInMethod+0x1c (jnicsup.c:307, 0x744F055C [j9vm26+0x2055c])
signalProtectAndRunGlue+0xc (jniprotect.c:35, 0x7452646C [j9vm26+0x5646c])
j9sig_protect+0x44 (j9signal.c:150, 0x7463F154 [J9PRT26+0xf154])
gpProtectAndRun+0xc3 (jniprotect.c:72, 0x74526533 [j9vm26+0x56533])
gpCheckCallin+0x61 (jnicsup.c:525, 0x744F0811 [j9vm26+0x20811])
callStaticVoidMethod+0x43 (jnicgen.c:304, 0x744EFEF3 [j9vm26+0x1fef3])
(0x00393B7F [javaw+0x3b7f])
(0x0039B336 [javaw+0xb336])
(0x0039B3C0 [javaw+0xb3c0])
BaseThreadInitThunk+0x12 (0x74D2338A [kernel32+0x1338a])
RtlInitializeExceptionChain+0x63 (0x77109F72 [ntdll+0x39f72])
RtlInitializeExceptionChain+0x36 (0x77109F45 [ntdll+0x39f45])
---------------------------------------
JVMDUMP039I "gpf" döküm olayı (ayrıntı "") işleniyor - 2014/06/09 14:01:02 - Lütfen bekleyin.
JVMDUMP032I JVM bir olayın karşısında 'C:\Users\T14340\workspace\Proje1\core.20140609.140102.6656.0001.dmp' kullanarak System dökümü istedi
JVMDUMP010I System dökümü C:\Users\T14340\workspace\Proje1\core.20140609.140102.6656.0001.dmp içine yazıldı
JVMDUMP032I JVM bir olayın karşısında 'C:\Users\T14340\workspace\Proje1\javacore.20140609.140102.6656.0002.txt' kullanarak Java dökümü istedi
JVMDUMP010I Java dökümü C:\Users\T14340\workspace\Proje1\javacore.20140609.140102.6656.0002.txt içine yazıldı
JVMDUMP032I JVM bir olayın karşısında 'C:\Users\T14340\workspace\Proje1\Snap.20140609.140102.6656.0003.trc' kullanarak Snap dökümü istedi
JVMDUMP010I Snap dökümü C:\Users\T14340\workspace\Proje1\Snap.20140609.140102.6656.0003.trc içine yazıldı
JVMDUMP013I Döküm olayı "gpf", ayrıntı "" işlendi.

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