[1.1.0-Beta1]NullPointerException when sikuli ends running from command line --- fixed in Beta3

Bug #1338257 reported by avihay
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
Critical
RaiMan

Bug Description

configuration details:

the java version is 1.7.0_21, the sikuli version is 1.1.0-Beta1
My operating system is windows 7, 64-bit.

bug details:

When I'm running sikuli from the command line, in the following manner:

rundikulix.cmd -r SIKULI_SCRIPT

sikuli always ends up with this exception details, when the script ends:

Exception in thread "Thread-0" java.lang.NullPointerException
     at org.sikuli_ide.SikuliIDE$1.run(SikuliIDE.java:154)

RaiMan (raimund-hocke)
summary: - NullPointerException is raised when sikuli ends its run from the command
- line
+ [1.1.0-Beta1]NullPointerException when sikuli ends running from command
+ line --- fixed in Beta3
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → Critical
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
tags: removed: commandline exception
Revision history for this message
Bharatendu SOUMIL (soumil-bharatendu) wrote :

Good Day Sir,
I experienced similar problems whilst running the scripts from the cmd.exe
After running the following command:
java -jar sikulix.jar -r JobPostings\main_func.sikuli, i get this:

[error] script [ main_func ] stopped with error at line --unknown--
[error] Error caused by: java.lang.NullPointerException
IDE terminated: returned: 1

Using Java 8, Sikuli 1.1.4

Revision history for this message
Bharatendu SOUMIL (soumil-bharatendu) wrote :

Is there perhaps any workaround this, to get scripts to run through the cmd? Any leads on this would be really appreciated....Thanks a lot!!

Revision history for this message
RaiMan (raimund-hocke) wrote :

@soumil-bharatendu
please post your own question.

Make sure, it is the latest download 1.1.4

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.