← Back to team overview

sikuli-driver team mailing list archive

[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

References