java.lang.ExceptionInInitializerError at org.sikuli.script.Mouse.setNotUseable

Asked by Santhosh

I am getting ExceptionInInitializerError at statement Screen screen = new Screen

java.lang.ExceptionInInitializerError
 at org.sikuli.script.Mouse.setNotUseable(Mouse.java:410)
 at org.sikuli.script.support.RobotDesktop.checkMousePosition(RobotDesktop.java:171)
 at org.sikuli.script.support.RobotDesktop.smoothMove(RobotDesktop.java:141)
 at org.sikuli.script.support.RobotDesktop.smoothMove(RobotDesktop.java:111)
 at org.sikuli.script.Mouse.doMove(Mouse.java:317)
 at org.sikuli.script.Mouse.move(Mouse.java:445)
 at org.sikuli.script.Mouse.move(Mouse.java:390)
 at org.sikuli.script.Screen.initScreens(Screen.java:164)
 at org.sikuli.script.Screen.<init>(Screen.java:198)

Any suggestions on how can I fix this problem ?
I using Intelij18.04, Java 8 and Sikulix 2.0.5, Windows machine

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
Chetan (cshamdas) said :
#1

can you try with latest java and see if it solves?

Can you help with this problem?

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

To post a message you must log in.