← Back to team overview

sikuli-driver team mailing list archive

[Question #272626]: new Screen() results in NullPointerException when executed in executable JAR

 

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

I'm trying to migrate our java project from the Sikuli version 1.0.1 to the new release (1.1.0). I execute the project by exporting a runnable JAR and then $java -jar 'myProject.jar'

I am getting a NullPointerException on line   => 

screen =  new Screen();

Did I not install Sikuli 1.1 correctly? 

Note: Project runs fine inside Eclipse.


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