Comment 0 for bug 1224863

Revision history for this message
Dumas (pierreduma) wrote : Null pointer exception raised at click function call

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.