The BROWSE action is not supported on the current platform!

Asked by Sudhansu Gewali on 2020-05-11

Following error occurs while trying to execute Sikuli Script with Java 11 using Sikuli 2.0.4.

 at org.sikuli.script.Pattern.<init>(
 at com.ptc.windchill.mpml.sikuli.SikuliInstanceSolvent.SikuliCompareImageInScreen(
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
 at java.base/java.lang.reflect.Method.invoke(
 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
 at org.junit.runners.model.FrameworkMethod.invokeExplosively(
 at org.junit.internal.runners.statements.InvokeMethod.evaluate(
 at com.ptc.radar.util.TimeMonitorRule$
Caused by: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
 at java.desktop/java.awt.Desktop.checkActionSupport(
 at java.desktop/java.awt.Desktop.browse(
 at org.sikuli.script.Finder$Finder2.<clinit>(

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
RaiMan (raimund-hocke) said : #1

what system?

You have a problem with the OpenCV libraries and SikuliX wants to point you to one of the GitHub Wiki entries:

Nevertheless: this should not lead to an exception. I will fix that with 2.0.5.

There should be also an error message in the console output (run script from commandline).

Can you help with this problem?

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

To post a message you must log in.