robotframework-SikuliLibrary icon indicating copy to clipboard operation
robotframework-SikuliLibrary copied to clipboard

"java.lang.NullPointerException: null" at all Click keywords

Open IamGlowingThresher opened this issue 5 years ago • 1 comments

Am I doing something wrong?

Code: `*** Settings *** Library SikuliLibrary *** Test Cases *** User can click at app [Tags] TAG Click "1590052070346.png"

User can click [Documentation] User sure do Mouse Up LEFT

User can click at region [Documentation] Can he? Click Region "1590071936126.png"`

Log: image

java version "1.8.0_151" Java(TM) SE Runtime Environment (build 1.8.0_151-b12) Java HotSpot(TM) Client VM (build 25.151-b12, mixed mode, sharing)

IamGlowingThresher avatar May 22 '20 07:05 IamGlowingThresher

Hi @IamGlowingThresher

From what I can see from your first test case, it seems like you actually have a java installation issue. Since your installed version is already a bit older, I would suggest updating Java.

In you "User can click at region" test case however, you actually have to pass coordinates as parameter instead of an image.

FZun avatar May 29 '20 12:05 FZun