Forum Discussion

C1_SetCon_GmbH_'s avatar
C1_SetCon_GmbH_
New Contributor
13 years ago

Could not initialize class com.eviware.soapui.impl.rest.*

Hello,

running a soapUI testsuite as part of a nightly build, many test cases end up with errors such as

Test project: >>Mock-REST-soapui-project-R12-4_FrontendOrder.xml<<, Test case >>retrieveFrontendOrderStatus<<, test step >>retrieve frontendorder status successfully - EPOS --> valid<<, message=[XPath Match] Could not initialize class com.eviware.soapui.impl.rest.support.MediaTypeHandlerRegistry, assertion failed: expected:<OK> but was:<FAILED>

What could be the root cause for the error string
Could not initialize class com.eviware.soapui.impl.rest.support.MediaTypeHandlerRegistry ,
which is the common string of these error messages?

We use soapUI 4.0.1. and the corresponding API.

Kind regards and many thanks for your support
Georg Sehl
  • Remark:
    we also see a reproducable OutOfMenory-Exception after running several hundred soapUI test steps as part of a nightly build.
    This OutOfMemory may be caused by the problem described above, or the problem described above may be a caused by memory problems.
    But that's speculation only.

    Kind regards
    Georg
  • Hi Georg,

    hmm.. I guess you are right - the outofmemory could cause the classloader to fail - could you attach the entire console output from your nightly run so we can see the errors in detail?

    regards!

    /Ole
    SmartBear Software