cancel
Showing results for 
Search instead for 
Did you mean: 

org.apache.xmlbeans.XmlException: error: Unexpected end of file after null soapui bamboo

Occasional Contributor

org.apache.xmlbeans.XmlException: error: Unexpected end of file after null soapui bamboo

 

I have a bamboo plan which utilises a junit test to call SOAP UI tests.

 

while trying to load the soap ui project file via the SOAP UI API like below:

 

String path = "something";

SoapUITestCaseRunner testCaseRunner = new SoapUITestCaseRunner();
testCaseRunner.setProjectFile(path);

 

i am getting an exception "org.apache.xmlbeans.XmlException: error: Unexpected end of file after null"

 

The soap ui project runs fine when i run it from the SOAP UI interace itself.

This used to work just fine some time back, i havent made any changes to any parts of the code.

 

Except i keep seeing the following lines now in my soap ui project file:

<con:content><![CDATA[<wsdl:definitions targetNamespace="something.com" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="something.com" xmlns:intf="something.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 

 

Any ideas on what is going wrong here?

2 REPLIES 2
Community Manager

Re: org.apache.xmlbeans.XmlException: error: Unexpected end of file after null soapui bamboo

Hi @ankush,

 

I've found a similar question - the solution there was to uncheck the Discard OK Results option to save the memory consumption. Please make sure if this option is unchecked in your project. You can find more information about it here:

https://www.soapui.org/getting-started/working-with-soapui/improving-memory-usage.html

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Occasional Contributor

Re: org.apache.xmlbeans.XmlException: error: Unexpected end of file after null soapui bamboo

@TanyaGorbunova i have already looked at the post you mentioned and i am already using it as unchecked.