← Back to team overview

sikuli-driver team mailing list archive

[Bug 939482] Re: Changing screen setup is not recognized by Sikuli

 

Hey RaiMan,

I downloaded the beta version win32 one, and try java -jar sikuli-
script.jar -i to start it and I cannot, and I got the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/sikuli/script/SikuliScript
Caused by: java.lang.ClassNotFoundException: org.sikuli.script.SikuliScript
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.sikuli.script.SikuliScript . Program will exit.

it works with the original jar...

Thanks

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

Title:
  Changing screen setup is not recognized by Sikuli

Status in Sikuli:
  Fix Committed

Bug description:
  X-1.0 solution: use 
  Script: getScreen().resetMonitors() 
  Java: Screen.resetMonitors()

  to reevaluate the monitor configuration on the fly.
  Existing Region objects might be invalid then.

  -------------------------------------------------------------------------

  i have a tilt funktion in my screens, and can change the resolution
  from 1680 x 1050 to 1050 x 1680.

  Then the matching preview is not able to detect any thing below 1050 x
  700?

  work around is offcourse to turn screen back to 1680 x 1050.

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


References