← Back to team overview

sikuli-driver team mailing list archive

[Bug 1218395] [NEW] NPE when performing a screen capture

 

Public bug reported:

I have installed version 1.0.1 and I tested against 1.1.0 too (git clone + maven compilation).
I use fedora 19 x64.

When I try to perform a screen capture, once this is done, sikuli freeze
for around 5 seconds and then an java trace is printed:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.sikuli.ide.PatternPaneNaming.getFilenameFromImage(PatternPaneNaming.java:132)
at org.sikuli.ide.ButtonCapture.update(ButtonCapture.java:143)
at org.sikuli.script.OverlayCapturePrompt.notifyObserver(OverlayCapturePrompt.java:156)
at org.sikuli.script.OverlayCapturePrompt$1.mouseReleased(OverlayCapturePrompt.java:105)
at java.awt.Component.processMouseEvent(Component.java:6505)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Window.processEvent(Window.java:2022)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.

YC

** Affects: sikuli
     Importance: Undecided
         Status: New

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

Title:
  NPE when performing a screen capture

Status in Sikuli:
  New

Bug description:
  I have installed version 1.0.1 and I tested against 1.1.0 too (git clone + maven compilation).
  I use fedora 19 x64.

  When I try to perform a screen capture, once this is done, sikuli
  freeze for around 5 seconds and then an java trace is printed:

  Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
  at org.sikuli.ide.PatternPaneNaming.getFilenameFromImage(PatternPaneNaming.java:132)
  at org.sikuli.ide.ButtonCapture.update(ButtonCapture.java:143)
  at org.sikuli.script.OverlayCapturePrompt.notifyObserver(OverlayCapturePrompt.java:156)
  at org.sikuli.script.OverlayCapturePrompt$1.mouseReleased(OverlayCapturePrompt.java:105)
  at java.awt.Component.processMouseEvent(Component.java:6505)
  at java.awt.Component.processEvent(Component.java:6270)
  at java.awt.Container.processEvent(Container.java:2229)
  at java.awt.Window.processEvent(Window.java:2022)
  at java.awt.Component.dispatchEventImpl(Component.java:4861)
  at java.awt.Container.dispatchEventImpl(Container.java:2287)
  at java.awt.Window.dispatchEventImpl(Window.java:2719)
  at java.awt.Component.dispatchEvent(Component.java:4687)
  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
  at java.awt.EventQueue.access$200(EventQueue.java:103)
  at java.awt.EventQueue$3.run(EventQueue.

  YC

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


Follow ups

References