Forum Discussion

skillsoft's avatar
skillsoft
Frequent Contributor
16 years ago

Unexpected end of file after null - running testcase within a suite

I have a couple of testcases that fail when running the testcase in a suite, but pass if running just that testcase.  They are using the JDBC step and have large assertions as the response is large.  I use the JDBC step in other testcases in this suite that don't fail, but the assertion is fairly small (returns single value).  The error repeats several times when run. The stack trace is:

Sun May 16 06:47:28 EDT 2010:ERROR:org.apache.xmlbeans.XmlException: error: Unexpected end of file after null
  org.apache.xmlbeans.XmlException: error: Unexpected end of file after null
  at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3486)
  at org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:712)
  at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:696)
  at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:683)
  at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:208)
  at org.apache.xmlbeans.XmlObject$Factory.parse(XmlObject.java:580)
  at com.eviware.soapui.model.propertyexpansion.resolvers.ResolverUtils.extractXPathPropertyValue(ResolverUtils.java:92)
  at com.eviware.soapui.model.propertyexpansion.resolvers.ModelItemPropertyResolver.resolveProperty(ModelItemPropertyResolver.java:90)
  at com.eviware.soapui.model.propertyexpansion.PropertyExpander.expand(PropertyExpander.java:159)
  at com.eviware.soapui.model.propertyexpansion.PropertyExpander.expandProperties(PropertyExpander.java:92)
  at com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.XPathContainsAssertion.assertContent(XPathContainsAssertion.java:205)
  at com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.XPathContainsAssertion.internalAssertResponse(XPathContainsAssertion.java:186)
  at com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion.assertResponse(WsdlMessageAssertion.java:156)
  at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequest.assertResponse(WsdlTestRequest.java:189)
  at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequest.setResponse(WsdlTestRequest.java:159)
  at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:346)
  at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runTestStep(WsdlTestCaseRunner.java:206)
  at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:137)
  at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:39)
  at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:139)
  at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
  at java.util.concurrent.FutureTask.run(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)
  Caused by: org.xml.sax.SAXParseException: Unexpected end of file after null
  at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Piccolo.java:1038)
  at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:723)
  at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3454)
  ... 25 more

I am using the March 17th nightly build for 3.5.  A sample assertion is attached.  Any ideas what would be causing this?

2 Replies

  • Hi,

    hmm.. not directly.. could you try updating to the latest nightly build to see if that helps?

    regards!

    /Ole
    eviware.com
  • skillsoft's avatar
    skillsoft
    Frequent Contributor
    Just an update.  After updating to the 5/25 nightly build, the issue is resolved.  Thanks for your help!!