← Back to team overview

sikuli-driver team mailing list archive

[Question #694019]: Exception in thread "Thread-22" java.lang.ExceptionInInitializerError and PY Issue

 

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

Greetings all,

I'm trying to install and making some basic scripts since the morning but i can't because these issues. Since i started, i tried many things and have read all setup documents, watched videos etc.

First of all, when i trying to run jar,it's saying  that at the right side:

Exception in thread "Thread-22" java.lang.ExceptionInInitializerError
	at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:100)
	at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:94)
	at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:71)
	at org.sikuli.script.runnerSupport.JythonSupport.init(JythonSupport.java:93)
	at org.sikuli.script.runnerSupport.JythonSupport.get(JythonSupport.java:66)
	at org.sikuli.script.runners.JythonRunner.doInit(JythonRunner.java:87)
	at org.sikuli.script.runners.AbstractScriptRunner.init(AbstractScriptRunner.java:70)
	at org.sikuli.ide.EditorPane$2.run(EditorPane.java:360)
Caused by: java.lang.IllegalArgumentException: Cannot create PyString with non-byte value
	at org.python.core.PyString.<init>(PyString.java:57)
	at org.python.core.PyString.<init>(PyString.java:70)
	at org.python.core.PyString.<init>(PyString.java:74)
	at org.python.core.Py.newString(Py.java:647)
	at org.python.core.PyJavaType.init(PyJavaType.java:585
)
	at org.python.core.PyType.createType(PyType.java:1523)
	at org.python.core.PyType.addFromClass(PyType.java:1462)
	at org.python.core.PyType.fromClass(PyType.java:1551)
	at org.python.core.PyObject.<init>(PyObject.java:93)
	at org.python.core.PySingleton.<init>(PySingleton.java:9)
	at org.python.core.PyNotImplemented.<init>(PyNotImplemented.java:10)
	at org.python.core.Py.<clinit>(Py.java:94)
	... 8 more

Secondly, i'm trying to make a basic script and can't run it because it says:

[error] IDE: Run Script: internal error:
org.sikuli.script.SikuliXception: Cannot initialize Script runner Jython
	at org.sikuli.script.runners.AbstractScriptRunner.init(AbstractScriptRunner.java:78)
	at org.sikuli.script.runners.AbstractScriptRunner.runSynchronized(AbstractScriptRunner.java:362)
	at org.sikuli.script.runners.AbstractScriptRunner.runScript(AbstractScriptRunner.java:167)
	at org.sikuli.ide.SikulixIDE$ButtonRun$1.run(SikulixIDE.java:2468)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.NullPointerException
	at org.sikuli.script.runnerSupport.JythonSupport.interpreterExecString(JythonSupport.java:306)
	at org.sikuli.script.runners.JythonRunner.doInit(JythonRunner.java:94)
	at org.sikuli.script.runners.AbstractScriptRunner.init(AbstractScriptRunner.java:70)
	... 4 more

And finally, i saw it's on PY format even i switched my tab into jython. Is it normal? I'm very newbie.

And here are the screenshots.

https://i.hizliresim.com/7U15y1.png
https://i.hizliresim.com/D78VCo.png
https://i.hizliresim.com/WAiyFJ.png

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