Forum Discussion

peti2005's avatar
Occasional Contributor
5 years ago

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(
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.notifyAfterRunTestCase(
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.runSequential(
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalRun(
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalRun(
at java.util.concurrent.Executors$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.lang.ClassNotFoundException: javafx.application.Platform
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
Seems it is caused by missing javafx libraries.

Could you please help to workaround this error.

1 Reply

  • BooRadley4's avatar
    New Contributor

    Has anyone solved this problem?

    I am running into the same issue when running SoapUI on a Ubuntu system with AdoptOpenJDK installed.  Our company mandate is to use AdoptOpenJDK so just switching to another version of Java is not really an option,.