[1.1.2] macOS: running SikuliX via ssh needs a java option for the screen --- should be detected and reported
This bug report was converted into a question: question #667565: Mac: NullPointerException when running via ssh.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
In Progress
|
High
|
RaiMan |
Bug Description
------ solution in this special case: (see related question)
run ssh so:
ssh user@ip 'AWT_FORCE_
-------
Sikuli versions: 1.1.2, 1.1.3
Mac OS: 10.13, 10.12, 10.10
Java versions: 1.8, 1.9
My sikuli script works fine when I run it from Sikuli IDE and from command line (without IDE).
But when I connect via ssh to the Mac where Sikuli is installed and run the same script, it fails with an error:
[error] script [ /Users/
[error] java.lang.
The script 'click_
click(<my image>)
How do I run the script from command line:
java -jar /Applications/
(it works fine)
How do I run the same script when I connect via ssh (I run the following command on a different Mac to run the script on the Mac where Sikuli is installed):
ssh shareduser@
(it fails with NullPointerExce
I've tried different versions of Java, Mac OS and Sikuli, but the result is always the same.
I'm out of options now.
Any help will be highly appreciated.
summary: |
- Mac: NullPointerException when running via ssh + [1.1.2] macOS: running SikuliX via ssh needs a java option for the + screen |
Changed in sikuli: | |
status: | Invalid → Fix Committed |
summary: |
[1.1.2] macOS: running SikuliX via ssh needs a java option for the - screen + screen --- should be detected and reported |
Changed in sikuli: | |
importance: | Undecided → High |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.3 |
description: | updated |
Changed in sikuli: | |
status: | Fix Committed → In Progress |
should first be a question