← Back to team overview

sikuli-driver team mailing list archive

[Bug 1013318] Re: X-1.0rc3: Script/Jython: Region.create(x, y, w, h) Null pointer exception --- should not be used

 

** Changed in: sikuli
       Status: New => Fix Committed

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => x1.0

-- 
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:
  X-1.0rc3: Script/Jython: Region.create(x,y,w,h) Null pointer exception
  --- should not be used

Status in Sikuli:
  Fix Committed

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


References