← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #678428]: [1.1.14 Jython] App() crashes with NullPointerException

 

Question #678428 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678428

    Status: Open => Answered

RaiMan proposed the following answer:
Due to the special relation between the Python API level and the Java
API level (historical reasons), your approach does not lead to a correct
initialization.

your "solution" apparently triggers the initialisation only in the
second try.

you might try:

Screen() # just to trigger the initialization

before doing something else with SikuliX.

The next days I will setup a Python/pyjnius environment myself and also
test the plain Jython environment.

I will fix possible startup oddities asap.

BTW: thanks for the testing, evaluation and documentation.

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