← Back to team overview

sikuli-driver team mailing list archive

[Question #662080]: Key.isLockOn() in java api will lead to java.lang.StackOverflowError

 

New question #662080 on Sikuli:
https://answers.launchpad.net/sikuli/+question/662080

I wrote like this:
if (Key.isLockOn(Key.C_CAPS_LOCK)){
            System.out.print("false");
        }else {
            type(Key.CAPS_LOCK);
        }

and it shows error like this:
Exception in thread "main" java.lang.StackOverflowError
	at org.sikuli.util.SysJNA$WinUser32.isCapsLockOn(SysJNA.java:114)
	at org.sikuli.script.Key.isLockOn(Key.java:817)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.