Forum Discussion

aurelien1's avatar
aurelien1
Occasional Contributor
6 years ago

ERROR [AbstractTestRunner] Exception during Test Execution

Bonjour,
Depuis que j'ai installé la nouvelle version 5.5 SOAPUI , j'ai un message d'error dans le fichier de log soapui.log:

 

2019-02-14 12:20:34,692 ERROR [AbstractTestRunner] Exception during Test Execution
java.lang.IllegalStateException: Toolkit not initialized
	at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:273)
	at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:268)
	at javafx.application.Platform.runLater(Platform.java:83)
	at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectTestSuitesTabPanel$InternalTestSuiteRunListener.afterTestSuite(WsdlProjectTestSuitesTabPanel.java:378)
	at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.notifyAfterRunTestSuite(WsdlProjectRunner.java:196)
	at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.runSequential(WsdlProjectRunner.java:123)
	at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalRun(WsdlProjectRunner.java:87)
	at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalRun(WsdlProjectRunner.java:40)
	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)

Avec la version 5.4, tout est ok, je n'ai pas de message d'erreur.

Mon environnement :

  • MacOs Mojave
  • java version "11.0.2" 2018-10-16 LTS
  • Java(TM) SE Runtime Environment 18.9 (build 11.0.2+7-LTS)
  • Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+7-LTS, mixed mode)

Pouvez vous m'aider à résoudre ce problème ?

 

  • Thanks you very much.
    My problem is solved .. it is a bug from this version . 
    If i uncheck this option => i can not run all my testSuite
    If i check this option => it ok

    i hope the next update will fixe this bug.

  • nmrao's avatar
    nmrao
    Champion Level 3
    Please translate the post to english and repost. Sorry about it.
    • aurelien1's avatar
      aurelien1
      Occasional Contributor

      Hello,
      Since I installed the new 5.5 SOAPUI version, I have an error message in the soapui.log log file:

      2019-02-14 12:20:34,692 ERROR [AbstractTestRunner] Exception during Test Execution
      java.lang.IllegalStateException: Toolkit not initialized
      	at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:273)
      	at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:268)
      	at javafx.application.Platform.runLater(Platform.java:83)
      	at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectTestSuitesTabPanel$InternalTestSuiteRunListener.afterTestSuite(WsdlProjectTestSuitesTabPanel.java:378)
      	at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.notifyAfterRunTestSuite(WsdlProjectRunner.java:196)
      	at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.runSequential(WsdlProjectRunner.java:123)
      	at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalRun(WsdlProjectRunner.java:87)
      	at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalRun(WsdlProjectRunner.java:40)
      	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)
      

      With version 5.4 I dont have this error message.
      I work with:
      * Mojave MacOs
      * java version "11.0.2" 2018-10-16 LTS
      * Java (TM) SE Runtime Environment 18.9 (build 11.0.2 + 7-LTS)
      * Java HotSpot (TM) 64-Bit VM Server 18.9 (build 11.0.2 + 7-LTS, mixed mode)

      Can you help me solve this problem?

      • nmrao's avatar
        nmrao
        Champion Level 3
        Understand that 5.5.0 got released couple of days back.

        Already noticed couple of issues in this forum by community members.

        At the moment, it would be better to continue to use 5.4.0 if you are not able to proceed with 5.5.0.

        It would always be good to check for the release notes of the new software release before upgrading and see yourself how it is going to help upgrading before hand.