← Back to team overview

sikuli-driver team mailing list archive

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

 

I have Java 7 installed, but I also have Java 6 (update 37) installed
because Sikuli wouldn't let me install without it. Is the Java Path
hardcoded in the program or is it picking-up the location from an
environment variable? The only place I could find where any locations
were set is in the Sikuli-IDE.bat file but I was not launching using
that; I was using the .exe instead.

However, when I did launch using the batch file, I could capture the screenshot with no problems. I suppose Java 7 really was the problem!
Thanks!

Joe

> Date: Tue, 4 Dec 2012 06:42:18 +0000
> From: rmhdevelop@xxxxxx
> To: jbartlett87@xxxxxxxxxxx
> Subject: [Bug 1086238] Re: Sikuli throws StackOverflowError when capturing a	screenshot on a webpage already has opacity
> 
> Using Java 7?
> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1086238
> 
> Title:
>   Sikuli throws StackOverflowError when capturing a screenshot on a
>   webpage already has opacity
> 
> Status in Sikuli:
>   New
> 
> Bug description:
>   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

-- 
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:
  New

Bug description:
  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