Forum Discussion

xavjer's avatar
xavjer
New Contributor
9 years ago

Stop creating SoapUICore twice on startup

With the current official SoapUI OpenSource 5.2.1 version, the Core is created twice, which leads to spam in the log and is not very performant.

 

The error resides from the fact, that the Core is already required before the actual setup takes place and therefore a DefaultSoapUICore is created.

 

The problem is inside inner class:

com.eviware.soapui.SoapUI.SoapUIRunner

Method:

run()

 

Invalid parts:

The if to check if the updateProvider has to be started and the isFirstLaunch request currently are before the 'new StandaloneSoapUICore()' is being created for the startSoapUI method.

 

This should be moved after this initialisation as it will load the whole Core twice currently, which is leading to problems on my end as I have singleton listeners which are now called twice

No RepliesBe the first to reply