← Back to team overview

sikuli-driver team mailing list archive

[Question #690631]: The BROWSE action is not supported on the current platform!

 

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

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


java.lang.ExceptionInInitializerError
	at org.sikuli.script.Pattern.<init>(Pattern.java:127)
	at com.ptc.windchill.mpml.sikuli.SikuliInstanceSolvent.SikuliCompareImageInScreen(SikuliInstanceSolvent.java:91)
	at com.ptc.windchill.pdmLink.mpml.mapsb.visualization.bom.VizCopyPasteAsNewBranchDiffLevel.VizCopyPasteAsNewBranchDiffLevel.vizCopyPasteAsNewBranchDiffLevel(VizCopyPasteAsNewBranchDiffLevel.java:202)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at com.ptc.radar.util.TimeMonitorRule$StatementThread.run(TimeMonitorRule.java:128)
Caused by: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
	at java.desktop/java.awt.Desktop.checkActionSupport(Desktop.java:380)
	at java.desktop/java.awt.Desktop.browse(Desktop.java:524)
	at org.sikuli.script.support.RunTime.libsLoad(RunTime.java:1526)
	at org.sikuli.script.support.RunTime.loadLibrary(RunTime.java:1689)
	at org.sikuli.script.Finder$Finder2.<clinit>(Finder.java:536)

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