← Back to team overview

sikuli-driver team mailing list archive

[Bug 2009900] Re: [2.0.5] Blanks in ImagePath folder names make problems in IDE: image file does not exist

 

** Changed in: sikuli
       Status: New => In Progress

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

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

Title:
  [2.0.5] Blanks in ImagePath folder names make problems in IDE: image
  file does not exist

Status in SikuliX:
  In Progress

Bug description:
  Sikuli version = 2.0.5
  Windows 10
  JAVA JDK 17.0.6
  ---------------------------

  [error] ImagePath: find: File does not exist: C:\Dev\Sources\Sikuli%20Test%20Cases\CommonMobile.sikuli\1678406115469.png
  [error] ImagePath: find: File does not exist: C:\Dev\Sources\Sikuli%20Test%20Cases\CommonMobile.sikuli\1678406115469.png
  [error] PatternPaneTargetOffset: Can't load C:\Dev\Sources\Sikuli%20Test%20Cases\CommonMobile.sikuli\1678406115469.png

  File does exists in the location and the Sikuli IDE shows the image in
  the editor, when I click on the image to change the offset and
  accuracy it shows above error in the message window and fails to show
  matches on the pattern settings dialog matching preview tab, also
  fails to load image on the target offset tab.

  Eventually if I try to click on another tab I get this in the message
  window:

  Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.awt.image.BufferedImage.getWidth()" because "this._img" is null
   at org.sikuli.ide.PatternPaneTargetOffset.paintPatternOnly(PatternPaneTargetOffset.java:236)
   at org.sikuli.ide.PatternPaneTargetOffset.paintComponent(PatternPaneTargetOffset.java:170)
   at java.desktop/javax.swing.JComponent.paint(JComponent.java:1119)
   at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:952)
  ......

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



References