java.lang.NoClassDefFoundError: Could not initialize class org.sikuli.script.App$Clipboard)

Asked by Rahul Kumar

I was using "lines = App.getClipboard() " in sikuli for long now and today it stopped working throwing above error. Earlier I assumed other opened apps(especially windows defender active scan) might be interfering, so I closed all of them. but sikuli keeps throwing this. What could be the problem. I have not upgraded python/sikuli version.

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
RaiMan (raimund-hocke) said :
#1

SikuliX version?

upgrade to version 1.1.1 (http://sikulix.com)

Revision history for this message
Rahul Kumar (rahulkumar) said :
#2

sikuli version 1.1.1

I was using above method on the version for some time, but now it stopped working. Though, I used Env.getClipboard() alternatively as workaround. but, what happened here?

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

just tested with latest 1.1.1. - works

So you have to check your setup again.
Something must have changed.

Did you somehow reveal older Sikuli stuff?
Take care, that only the latest SikuliX version artefacts are on your system.

Can you help with this problem?

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

To post a message you must log in.