← Back to team overview

sikuli-driver team mailing list archive

[Question #679717]: Illegal reflective access when runing Sikuli on Linux

 

New question #679717 on Sikuli:
https://answers.launchpad.net/sikuli/+question/679717

Here is my setup:
----------------
-- Clean VM with Lubuntu 18.04.02 LTS

-- Installed openjdk-11-jdk but strangely it shows 10.0.2
java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)

-- Installed libopencv3.2-java as recommended

Starting sikuli IDE results in some bad warnings:

java -jar sikulix.jar 

(java:14385): dbind-WARNING **: 12:28:45.440: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.sikuli.ide.CloseableModernTabbedPaneUI (file:/home/test/SikuliX1.4/sikulix.jar) to constructor javax.swing.plaf.basic.BasicTabbedPaneUI$Actions(java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.sikuli.ide.CloseableModernTabbedPaneUI
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

similar is for attempt to start test from console 

java -jar sikulix.jar -r ~/t1.sikuli

(java:14473): dbind-WARNING **: 12:29:47.715: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.python.core.PySystemState (file:/home/test/.Sikulix/Extensions/jython-standalone-2.7.1.jar) to method java.io.Console.encoding()
WARNING: Please consider reporting this to the maintainers of org.python.core.PySystemState
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
---------------

Note that both IDE and console script are working ... but warnings looks bad :-)

Is there something that I can do to resolve those warnings?




You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.