← Back to team overview

sikuli-driver team mailing list archive

[Bug 1086238] Re: Sikuli throws StackOverflowError when capturing a screenshot on a webpage already has opacity

 

As mentioned on the download page: on Win 7 64 the exe cannot be used
anyway.

... and yes: with the current version of Sikuli, you must assure, the it
uses Java 6

** Changed in: sikuli
       Status: New => Invalid

** Description changed:

+ the known Java 7 problem
+ -------------------------------------------------------
+ 
  Sikuli r930 for Windows 7 SP1 64-bit.
  
  When on a page which has a layer of opacity set around a particular
  window (to draw attention to it and prevent focus to other parts of the
  page), Sikuli`s capture screenshot gesture throws a huge
  StackOverflowError:
  
  Exception in thread "capture" java.lang.StackOverflowError
  at org.sikuli.script.TransparentWindow.setOpacity(TransparentWindow.java:18)
  at java.awt.Window$1.setOpacity(Unknown Source)
  at com.sun.awt.AWTUtilities.setWindowOpacity(Unknown Source)
  at org.sikuli.script.Win32Util.setWindowOpacity(Win32Util.java:80)
  at org.sikuli.script.TransparentWindow.setOpacity(TransparentWindow.java:18)
  at java.awt.Window$1.setOpacity(Unknown Source)
  at com.sun.awt.AWTUtilities.setWindowOpacity(Unknown Source)
  at org.sikuli.script.Win32Util.setWindowOpacity(Win32Util.java:80)
  at org.sikuli.script.TransparentWindow.setOpacity(TransparentWindow.java:18)
  at java.awt.Window$1.setOpacity(Unknown Source)
  at com.sun.awt.AWTUtilities.setWindowOpacity(Unknown Source)
  at org.sikuli.script.Win32Util.setWindowOpacity(Win32Util.java:80)
  at org.sikuli.script.TransparentWindow.setOpacity(TransparentWindow.java:18)
  at java.awt.Window$1.setOpacity(Unknown Source)
  at com.sun.awt.AWTUtilities.setWindowOpacity(Unknow
  n Source)
  ... and repeated the same stack dozens of times.
  
  In my case, I was logged-into a browser-based game and attempted to try
  capturing part of the screen in Sikuli and it failed. This is
  reproducible every time. The full stack and a screenshot of the webpage
  are attached.

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

Title:
  Sikuli throws StackOverflowError when capturing a screenshot on a
  webpage already has opacity

Status in Sikuli:
  Invalid

Bug description:
  the known Java 7 problem
  -------------------------------------------------------

  Sikuli r930 for Windows 7 SP1 64-bit.

  When on a page which has a layer of opacity set around a particular
  window (to draw attention to it and prevent focus to other parts of
  the page), Sikuli`s capture screenshot gesture throws a huge
  StackOverflowError:

  Exception in thread "capture" java.lang.StackOverflowError
  at org.sikuli.script.TransparentWindow.setOpacity(TransparentWindow.java:18)
  at java.awt.Window$1.setOpacity(Unknown Source)
  at com.sun.awt.AWTUtilities.setWindowOpacity(Unknown Source)
  at org.sikuli.script.Win32Util.setWindowOpacity(Win32Util.java:80)
  at org.sikuli.script.TransparentWindow.setOpacity(TransparentWindow.java:18)
  at java.awt.Window$1.setOpacity(Unknown Source)
  at com.sun.awt.AWTUtilities.setWindowOpacity(Unknown Source)
  at org.sikuli.script.Win32Util.setWindowOpacity(Win32Util.java:80)
  at org.sikuli.script.TransparentWindow.setOpacity(TransparentWindow.java:18)
  at java.awt.Window$1.setOpacity(Unknown Source)
  at com.sun.awt.AWTUtilities.setWindowOpacity(Unknown Source)
  at org.sikuli.script.Win32Util.setWindowOpacity(Win32Util.java:80)
  at org.sikuli.script.TransparentWindow.setOpacity(TransparentWindow.java:18)
  at java.awt.Window$1.setOpacity(Unknown Source)
  at com.sun.awt.AWTUtilities.setWindowOpacity(Unknow
  n Source)
  ... and repeated the same stack dozens of times.

  In my case, I was logged-into a browser-based game and attempted to
  try capturing part of the screen in Sikuli and it failed. This is
  reproducible every time. The full stack and a screenshot of the
  webpage are attached.

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


References