I’m trying to test a Swing application with RemoteSwingLibrary
Environment:
OS:
Windows 10, 64-Bit
java version “11.0.5” 2019-10-15 LTS
Java™ SE Runtime Environment 18.9 (build 11.0.5+10-LTS)
Java HotSpot™ 64-Bit Server VM 18.9 (build 11.0.5+10-LTS, mixed mode)
Robot Framework 3.1.2 (Python 3.7.7 on win32)
Swing Application:
openjdk version “11.0.5” 2019-10-15
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.5+10)
OpenJDK Client VM AdoptOpenJDK (build 11.0.5+10, mixed mode)
RemoteSwingLibrary 2.2.6
I can connect and Interact to the application using RemoteSwingLibrary, but when the application is in step open application i get This Exception:
################################################################################
UNEXPECTED INTERNAL ERROR
java.lang.NoSuchMethodError: ‘void org.eclipse.jetty.servlet.ServletHolder.(javax.servlet.Servlet)’
19.10.20 17:17:46.041 [SEVERE] >> Wincash.start(): ‘void Org.eclipse.jetty.servlet.ServletHolder.(javax.servlet.Servlet)’ | ||
---|---|---|
java.lang.NoSuchMethodError: ‘void org.eclipse.jetty.servlet.ServletHolder.(javax.servlet.Servlet)’ | ||
at nts.application.websocket.customer.bouyfr.listener.StartWebSocketStepListener.perform(StartWebSocketStepListener.java:88) | ||
at nts.application.wincash.controller.base.AbstractStepListener.eventPerformed(AbstractStepListener.java:51) | ||
at nts.infrastructure.extention.ControllerEventRegistry.fireSpecificEvents(ControllerEventRegistry.java:92) | ||
at nts.infrastructure.extention.ControllerEventRegistry.fireEvent(ControllerEventRegistry.java:75) | ||
at nts.infrastructure.controller.BusinessController.fireExecutionEvents(BusinessController.java:891) |
`
*** Settings ***
Library RemoteSwingLibrary debug=True port=3000
Library ImageHorizonLibrary
Library Process
*** Test Cases ***
Open APP
[Arguments] {pathToLauncher}=C:/Users/Public/myApp/jbin/launcher.jar
... {pathToAppLaunch}=C:/Users/Public/myApp/jbin/app-launch.xml
… {java}=C:/Users/Public/myApp/jbin/jre/bin/java.exe
RemoteSwingLibrary.Start Application myApp {java} -jar {pathToLauncher} {pathToAppLaunch}
RemoteSwingLibrary.Select Main Window
`
When I run manually the same command ({java} -jar {pathToLauncher} ${pathToAppLaunch}) from the command line Everything works well (No Exception)
Can anyone help on this issue?
Thank you in advance