IDE: Problem when trying to invoke menu action doSaveAs Error: null

Asked by GZ

Hi RaiMan,

I upgraded from 1.0.1 to SikuliX 1.1.0 (2015-05-25_01:00nightly). I'm on Win7 x64.

Everything installed fine, scripts run as expected, BUT when I want to save my modified script that I originally made in 1.0.1, I get this error:
IDE: Problem when trying to invoke menu action doSaveAs Error: null

This is printed in the terminal (right after launching the app and hitting save, I haven't executed anything):

+++ running this Java
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) Client VM (build 25.45-b02, mixed mode, sharing)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\SikuliX\sikulix.jar
[info] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[info] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[error] RobotDesktop: checkMousePosition: should be L(960,540)@S(0)[0,0 1920x108
0]
but after move is L(318,1070)@S(0)[0,0 1920x1080]
Possible cause in case you did not touch the mouse while script was running:
 Mouse actions are blocked generally or by the frontmost application.
You might try to run the SikuliX stuff as admin.
[error] RobotDesktop: checkMousePosition: should be L(2880,540)@S(1)[1920,0 1920
x1080]
but after move is L(318,1070)@S(0)[0,0 1920x1080]
Possible cause in case you did not touch the mouse while script was running:
 Mouse actions are blocked generally or by the frontmost application.
You might try to run the SikuliX stuff as admin.

Have I done something wrong at install?

I don't have any funny characters in my save path:
C:\Users\George\Desktop\

Thanks,
George

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
GZ (g-zr) said :
#1

Weird... it seems to do the save but it still thinks that it hasn't saved and wants me to save before running the script.
If I click yes, it gets into an infinite loop and has to be killed..

Revision history for this message
RaiMan (raimund-hocke) said :
#2

ok, thanks.
... then I know this bug. will try to fix it as soon as possible.

the workaround is:
if you save and the * at the tab does not vanish, terminate IDE and say "quit immediately".
As you found already: the save is done.
After restarting the IDE, you can go on.

my impression:
If you start the IDE, change something in tab, without having run a (this one or any other ???) script and then say save, this (might ???) happen.
I am still behind the causing scenario.

Revision history for this message
GZ (g-zr) said :
#3

Thanks for looking into this.

If I find out more about reproducing this, I will let you know.

For now, it is happening all the time with my scripts from 1.0.1.

Revision history for this message
RaiMan (raimund-hocke) said :
#4

Did you try to run it unchanged, then change it and the save it?

Can you help with this problem?

Provide an answer of your own, or ask GZ for more information if necessary.

To post a message you must log in.