← Back to team overview

sikuli-driver team mailing list archive

[Bug 1224863] Re: [1.0.1] click() on Region/Location outside screen gives Null pointer exception --- should be more explanatory

 

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

** Changed in: sikuli
   Importance: Undecided => High

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

** Changed in: sikuli
    Milestone: None => 1.1.0

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1224863

Title:
  [1.0.1] click() on Region/Location outside screen gives Null pointer
  exception --- should be more explanatory

Status in Sikuli:
  Fix Committed

Bug description:
  1 - Version of SIKULI : X-1.0.1
  2 - Operating system : Windows XP Pro SP3
  3 - Procedure to reproduce the bug: The Null Pointer Exception was raised in this line of my code

        self.clickFunction_dict[action.lower()](reg)

  where:
        self.clickFunction_dict = {"left" : click, "right" : rightClick, "double" : doubleClick}
        action = "left"
        reg is a region object created before.

  This function has worked many thousands times before to crash
  yesterday.

  4 - I recently passed to SIKULI X-1.0.1. I never encountered this
  problem with SIKULI X-1.0-rc3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1224863/+subscriptions


References