← Back to team overview

sikuli-driver team mailing list archive

[Question #696074]: (German) SikuliX shows Error and doesn't load Matches/Pattern

 

A question was asked in a language (German) spoken by
none of the registered SikuliX answer contacts.

https://answers.launchpad.net/sikuli/+question/696074

Hi, can't get SikuliX to run smoothly and I don't know why.

1. I downloaded and installed JDK 15
"java -version" shows:
java version "15.0.2" 2021-01-19
Java(TM) SE Runtime Environment (build 15.0.2+7-27)
Java HotSpot(TM) 64-Bit Server VM (build 15.0.2+7-27, mixed mode, sharing)

2. I downloaded sikulixide-2.0.5-win.jar

I can run SikuliX, make screenshots and write a basic script but I can't "edit" the pattern settings of a screenhot. If I click on "Matching Preview" it loads forever and lags and I can't even click on "Target Offset".

It might have something to do with those errors:
[error] ImagePath: find: File does not exist: C:\Program%20Files\SikuliX%202.0.5\Script.sikuli\1615841094487.png
[error] ImagePath: find: File does not exist: C:\Program%20Files\SikuliX%202.0.5\Script.sikuli\1615841094487.png
[error] PatternPaneTargetOffset: Can't load C:\Program%20Files\SikuliX%202.0.5\Script.sikuli\1615841094487.png
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.awt.image.BufferedImage.getWidth()" because "this._img" is null

Is there anything I did wrong?

My PC:
Windows 10 Pro
Build 19042
Mainboard: Asus X570-A Pro
CPU: AMD Ryzen 7 3700X
GPU: NVIDIA GeForce GTX 1660 Ti
RAM: 64 GB 3200 MHz

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.