peti2005
6 years agoOccasional Contributor
TestSuite is marked as FAILED and test execution is terminated
Dear SmartBear Community
Our company moved from ORACLE JDK to AdoptOpenJDK (It uses infrastructure, build and test scripts to produce prebuilt binaries from OpenJDKâ„¢ class libraries). The reason of the move is the change in ORACLE licensing from free to paid. Since this migration the test suite executes the 1st test cases and marks the overal execution as failed even if test case passed. Meanwhile in SoapUI log I can see the following error:
Thu Sep 19 14:00:53 CEST 2019:INFO:Used java version: 1.8.0_222 Scheduling garbage collection every 60 seconds Thu Sep 19 17:33:28 CEST 2019:ERROR:Exception during Test Execution java.lang.NoClassDefFoundError: javafx/application/Platform at com.eviware.soapui.impl.wsdl.panels.testsuite.WsdlTestSuiteDesktopPanel$InternalTestSuiteRunListener.afterTestCase(WsdlTestSuiteDesktopPanel.java:430) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.notifyAfterRunTestCase(WsdlTestSuiteRunner.java:200) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.runSequential(WsdlTestSuiteRunner.java:130) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalRun(WsdlTestSuiteRunner.java:94) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalRun(WsdlTestSuiteRunner.java:46) at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:128) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassNotFoundException: javafx.application.Platform at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) Seems it is caused by missing javafx libraries.
Could you please help to workaround this error.