sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #49029
[Question #675393]: (Turkish) Exception in thread "main" java.lang.ExceptionInInitializerError
A question was asked in a language (Turkish) spoken by
none of the registered Sikuli answer contacts.
https://answers.launchpad.net/sikuli/+question/675393
i have a proplem
ı am selecting option 1# and ı select jyton and these problem appear ı cant open like this
"""""[debug (20.10.2018 12:57:51)] Debug: setLogFile: C:\Users\Furkan\Desktop\phyton\SikuliX-1.1.3-SetupLog.txt
[debug (20.10.2018 12:57:51)] RunSetup: ... starting with no args given
[debug (20.10.2018 12:57:51)] RunSetup: Setup: 1.1.3 2018-07-11_08:19 in folder:
C:\Users\Furkan\Desktop\phyton
[debug (20.10.2018 12:57:51)] RunSetup: RunningSystem: Windows 10.0
[debug (20.10.2018 12:57:51)] RunSetup: parent of jar/classes: C:\Users\Furkan\Desktop\phyton
[debug (20.10.2018 12:57:51)] RunSetup: RunningJava: Java 11 (amd64) 11+28
[debug (20.10.2018 12:57:51)] init user preferences
[debug (20.10.2018 12:57:55)] RunSetup:
popAsk: --------------------
The following file(s) will be downloaded to
C:\Users\Furkan\Desktop\phyton
--- Native support libraries for Windows (sikulixlibs...)
--- Package 1 ---
sikulixsetupIDE-1.1.3-20180711.082119-40-forsetup.jar (IDE/Scripting)
sikulixsetupAPI-1.1.3-20180711.082046-40-forsetup.jar (Java API)
- with Jython
Only click NO, if you want to terminate setup now!
Click YES even if you want to use local copies in Downloads!
--------------------
[debug (20.10.2018 12:57:57)] RunSetup:
popAsk: --------------------
You have for Windows native libs
C:\Users\Furkan\AppData\Roaming\Sikulix\SikulixDownloads\sikulixlibswin-1.1.1.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (20.10.2018 12:57:59)] RunSetup: Copied from Downloads: sikulixlibswin
[debug (20.10.2018 12:57:59)] FileManager: resetFolder:
C:\Users\Furkan\Desktop\phyton\SetupStuff\sikulixlibs\windows
jar:file:/C:/Users/Furkan/Desktop/phyton/sikulixlibswin.jar
[debug (20.10.2018 12:57:59)] RunSetup:
popAsk: --------------------
You have for SikuliX IDE package
C:\Users\Furkan\AppData\Roaming\Sikulix\SikulixDownloads_201807110819\sikulixsetupIDE-1.1.3-20180711.082119-40-forsetup.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (20.10.2018 12:58:00)] RunSetup: Copied from Downloads: sikulix
[debug (20.10.2018 12:58:00)] RunSetup:
popAsk: --------------------
If you click YES, you will get Jython version 2.7.0 (recommended)
... but in rare cases there might be issues with UTF-8/Unicode
that usually appear on startup when UTF-8 characters
are present somewhere in the system environment
If you encounter such problems with Jython 2.7.0
run setup again and
click NO to get Jython a 2.5.4 version
--------------------
[debug (20.10.2018 12:58:03)] RunSetup:
popAsk: --------------------
You have for Jython 2.7
C:\Users\Furkan\AppData\Roaming\Sikulix\SikulixDownloads\jython-standalone-2.7.1.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (20.10.2018 12:58:05)] RunSetup: Copied from Downloads: Jython
[debug (20.10.2018 12:58:05)] RunSetup: Download ended
[debug (20.10.2018 12:58:05)] RunSetup: Downloads for selected options:
sikulixlibswin-1.1.1.jar sikulixsetupIDE-1.1.3-20180711.082119-40-forsetup.jar sikulixsetupAPI-1.1.3-20180711.082046-40-forsetup.jar jython-standalone-2.7.1.jar
[debug (20.10.2018 12:58:05)] RunSetup: adding needed stuff to sikulix.jar
[debug (20.10.2018 12:58:05)] FileManager: buildJar: sikulixtemp.jar
[debug (20.10.2018 12:58:05)] FileManager: buildJar: adding: sikulix.jar
[debug (20.10.2018 12:58:12)] FileManager: buildJar: adding: sikulixjython.jar
[debug (20.10.2018 12:58:32)] FileManager: buildJar: adding: sikulixlibswin.jar
[debug (20.10.2018 12:58:42)] FileManager: buildJar: completed
[debug (20.10.2018 12:58:42)] RunSetup: renaming sikulixtemp.jar to target jar: sikulix.jar
[debug (20.10.2018 12:58:44)] RunSetup: processing commandfiles
[debug (20.10.2018 12:58:44)] RunTimeSETUP: exists libs folder at: C:\Users\Furkan\AppData\Roaming\Sikulix\SikulixLibs_201807110819
[error (20.10.2018 12:58:44)] RunTimeSETUP: *** Java 8+: setup IDE test - addToClasspath() skipped
[debug (20.10.2018 12:58:44)] RunSetup: Jython: Trying to run functional test: running script statements via SikuliScript
[error (20.10.2018 12:58:49)] RunTimeSETUP: *** Java 8+: setup run script test jython - with ProcessRunner
[error (20.10.2018 12:58:52)] RunSetup: setup run script test jython: did not work
[error] RunTimeINIT: *** BE AWARE: Running on Java 8+ *** Please report problems ***
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.python.core.PyType.init(PyType.java:633)
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.PyType.fromClass(PyType.java:1536)
at org.python.core.PyStringMap.getLazyType(PyStringMap.java:68)
at org.python.core.PyStringMap.<init>(PyStringMap.java:48)
at org.python.core.PyStringMap.<init>(PyStringMap.java:44)
at org.python.expose.BaseTypeBuilder.getDict(BaseTypeBuilder.java:49)
at org.python.core.PyType.init(PyType.java:621)
at org.python.core.PyType.addBuilder(PyType.java:1452)
at org.python.core.PyType.<clinit>(PyType.java)
at org.python.core.PyObject.<init>(PyObject.java:93)
at org.python.core.PyBuiltinCallable.<init>(PyBuiltinCallable.java:22)
at org.python.core.PyBuiltinMethod.<init>(PyBuiltinMethod.java:16)
at org.python.core.PyBuiltinMethodNarrow.<init>(PyBuiltinMethodNarrow.java:23)
at org.python.core.PyDataDescr$getset_descriptor___get___exposer.<init>(Unknown Source)
at org.python.core.PyDataDescr$PyExposer.<init>(Unknown Source)
at org.python.core.PyDataDescr.<clinit>(PyDataDescr.java)
at org.python.core.PyBuiltinCallable$PyExposer.<init>(Unknown Source)
at org.python.core.PyBuiltinCallable.<clinit>(PyBuiltinCallable.java)
at org.python.core.PyObject$PyExposer.<init>(Unknown Source)
at org.python.core.PyObject.<clinit>(PyObject.java)
at org.python.util.PythonInterpreter.initialize(PythonInterpreter.java:64)
at org.sikuli.scriptrunner.JythonScriptRunner.getInterpreter(JythonScriptRunner.java:517)
at org.sikuli.scriptrunner.JythonScriptRunner.init(JythonScriptRunner.java:108)
at org.sikuli.scriptrunner.ScriptingSupport.init(ScriptingSupport.java:284)
at org.sikuli.scriptrunner.ScriptingSupport.getRunner(ScriptingSupport.java:313)
at org.sikuli.scriptrunner.ScriptingSupport.runscript(ScriptingSupport.java:380)
at org.sikuli.ide.Sikulix.main(Sikulix.java:29)
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)
... 30 more
error
[debug (20.10.2018 12:58:52)] RunSetup: setup run script test jython: success
[error (20.10.2018 12:58:52)] RunSetup: testSetup ran with problems
[debug (20.10.2018 12:58:52)] RunSetup:
popError: --------------------
Something serious happened! Sikuli not useable!
Check the error log at C:\Users\Furkan\Desktop\phyton\SikuliX-1.1.3-SetupLog.txt
--------------------
[error (20.10.2018 12:58:55)] RunSetup: Functional test Jython did not work
[error (20.10.2018 12:58:55)] RunSetup: ... terminated abnormally :-(
[debug (20.10.2018 12:58:55)] RunSetup:
popError: --------------------
Something serious happened! Sikuli not useable!
Check the error log at C:\Users\Furkan\Desktop\phyton\SikuliX-1.1.3-SetupLog.txt
--------------------
[debug (20.10.2018 12:58:57)] RunTimeSETUP: final cleanup
[debug (20.10.2018 12:58:57)] FileManager: deleteFileOrFolder:
C:\Users\Furkan\AppData\Local\Temp\Sikulix_422187818
""""
no problem to setup api
thank you so much for your answers
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.