[1.1.14 Jython] App() crashes with Java NPE --- sikulixapi.jar MUST be on Java classpath
My Script:
========
# sandbox.py
import sys
sys.path.
from org.sikuli.script import App
app = App('test') << Here the Script crashes
app.open()
Used Versions:
============
Jython 2.7.0
SikuliXApi.jar Version 1.1.4
Windows 10
Stack Trace:
==========
C:\_Daten\
Traceback (most recent call last):
File "sandbox.py", line 4, in <module>
app = App('test')
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at org.python.
java.lang.
Research:
========
When I execute those Steps from the Script ( sandbox.py ) within the Jython Console it still works after a second attempt. On the first try it also crashes with NullPointer Exception.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Dirk Schiller for more information if necessary.