robotframework-SikuliLibrary
robotframework-SikuliLibrary copied to clipboard
"java.lang.ExceptionInInitializerError: null" at all Click keywords by X86 Enviroments
Hi,
we have found a problem for 32-bit machines. When we want to use the SikuliLibrary for this we get an ExceptionInInitializerError exception.
Testing Enviroment -> 21H1 Windows 10 X86

Here we initialize Sikuli with the New Mode during a test suite start and finish it.
*** Settings ***
Suite Setup Init Sikuli Lib
Suite Teardown Stop Sikuli Lib
*** Keywords ***
Init Sikuli Lib
${_path}= Normalize Path ${CURDIR}/../Img
Start Sikuli Process
SikuliLibrary.Add Image Path ${_path}
Stop Sikuli Lib
Stop Sikuli
I have installed a wide variety of 32-bit Java runtimes and they all had the same initialization error.
- Java SE Runtime Environment 8u291 by Oracle does not work
- OpenJDK Runtime Enviroment AdoptOpenJDK-11.0.11+9 does not work
However, if I run the same code on a 64 bit architecture with a 64 bit installation, the library works without problems.
- OpenJDK Runtime Enviroment AdoptOpenJDK-11.0.11+9 works
I found already some issues by this Exception type: https://github.com/rainmanwy/robotframework-SikuliLibrary/issues/108 https://github.com/rainmanwy/robotframework-SikuliLibrary/issues/122
Does the Sikuli library support the 32-bit Java runtimes to execute test runs on X86 systems?
After some investigation i got a specific exception after the first ExceptionInInitializerError by repeating the click keyword:
