sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11180
[Bug 1013318] [NEW] Region.create(x, y, w, h) Null pointer exception.
Public bug reported:
Hi I get this exception when using Region.create(x,y,w,h) instead of new
Region() which has been deprecated.
java.lang.NullPointerException: null
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:110) ~[sikuli-mac-1.0-rc-3.jar:na]
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:92) ~[sikuli-mac-1.0-rc-3.jar:na]
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:64) ~[sikuli-mac-1.0-rc-3.jar:na]
at org.sikuli.script.Region.toJythonRegion(Region.java:987) ~[sikuli-mac-1.0-rc-3.jar:na]
at org.sikuli.script.Region.create(Region.java:129) ~[sikuli-mac-1.0-rc-3.jar:na]
at org.sikuli.script.Region.create(Region.java:115) ~[sikuli-mac-1.0-rc-3.jar:na]
..............
Sorry to not send patch, I am not that into Python yet.
Thanks.
** Affects: sikuli
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1013318
Title:
Region.create(x,y,w,h) Null pointer exception.
Status in Sikuli:
New
Bug description:
Hi I get this exception when using Region.create(x,y,w,h) instead of
new Region() which has been deprecated.
java.lang.NullPointerException: null
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:110) ~[sikuli-mac-1.0-rc-3.jar:na]
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:92) ~[sikuli-mac-1.0-rc-3.jar:na]
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:64) ~[sikuli-mac-1.0-rc-3.jar:na]
at org.sikuli.script.Region.toJythonRegion(Region.java:987) ~[sikuli-mac-1.0-rc-3.jar:na]
at org.sikuli.script.Region.create(Region.java:129) ~[sikuli-mac-1.0-rc-3.jar:na]
at org.sikuli.script.Region.create(Region.java:115) ~[sikuli-mac-1.0-rc-3.jar:na]
..............
Sorry to not send patch, I am not that into Python yet.
Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1013318/+subscriptions
Follow ups
-
[Bug 1013318] Re: X-1.0rc3: Script/Jython: Region.create(x, y, w, h) Null pointer exception --- should not be used
From: RaiMan, 2013-08-14
-
[Bug 1013318] Re: X-1.0rc3: Script/Jython: Region.create(x, y, w, h) Null pointer exception --- should not be used
From: RaiMan, 2013-05-07
-
[Bug 1013318] Re: X-1.0rc3: Script/Jython: Region.create(x, y, w, h) Null pointer exception --- should not be used
From: RaiMan, 2013-02-21
-
[Bug 1013318] Re: X-1.0rc3: Script/Jython: Region.create(x, y, w, h) Null pointer exception --- should not be used
From: RaiMan, 2013-02-21
-
[Bug 1013318] Re: X-1.0rc3: Script/Jython: Region.create(x, y, w, h) Null pointer exception --- should not be used
From: RaiMan, 2012-11-02
-
[Bug 1013318] Re: X-1.0rc3: Script/Jython: Region.create(x, y, w, h) Null pointer exception --- should not be used
From: RaiMan, 2012-11-02
-
[Bug 1013318] Re: X-1.0rc3: Script/Jython: Region.create(x, y, w, h) Null pointer exception --- should not be used
From: RaiMan, 2012-06-14
-
[Bug 1013318] Re: Region.create(x, y, w, h) Null pointer exception.
From: RaiMan, 2012-06-14
-
[Bug 1013318] [NEW] Region.create(x, y, w, h) Null pointer exception.
From: Marc, 2012-06-14
References