file does not exists error after running the code once

Bug #2066319 reported by PowerPenguin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
New
Undecided
Unassigned

Bug Description

I'm running on Windows 7, 64-bit

Using SikulixIDE 2.0.5

I wrote a short program, and after trying it just once, when I clicked at the images and then previsualize, the loading circle would stay there forever, never finding them, and an error like this pops up in the console:

[error] ImagePath: find: File does not exist: C:\Users\samab\Documents\Sikuli\streetprogram.sikuli\1716333652198.png
[error] PatternPaneTargetOffset: Can't load C:\Users\samab\Documents\Sikuli\streetprogram.sikuli\1716333652198.png
[error] ImagePath: find: File does not exist: C:\Users\samab\Documents\Sikuli\streetprogram.sikuli\1716333652198.png

After that, it's like all images get bugged. If I try copy and pasting an image into another part of the code, I get this message:

[error] EditorPane: MyTransferHandler: importData: Problem pasting text
Cannot invoke "java.io.File.getName()" because "destFile" is null

I've tried turning off and on my computer again and it keeps happening. I tried creating a new project and everything seemed to go well, all images worked. Until I ran it once, then I had the same problem again.

The images are in the correct folder and they do show up if I look for them.

Even if I create a new program with just a click(image) after running it once, the image stops working.

I can, however, still run the program and it finds the image and clicks where it should, but I cannot interact with any of the images in the editor. So I can't set offsets, see if the program can find them on the screen, etc.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.