Forum Discussion

kungfunorm's avatar
kungfunorm
New Contributor
16 years ago

NullPointerException thrown running multiple test steps...

... but no errors display when the test cases/steps are run individually (not from the TestCase Editor pane).

Test started at 2009-12-08 08:43:15.487
Step 1 [GetQuotes - Detailed MSFT] OK: took 2889 ms
Step 2 [GetQuotes - ETF] FAILED: took 1 ms
-> java.lang.NullPointerException
TestCase failed [Cancelling due to failed test step], time taken = 2890

Thoughts?
KFN

------
SOAP-UI Pro v.3.0.1

3 Replies

  • Hi!

    hm.. first; are you using the nightly build available at http://www.eviware.com/nightly-builds? If not, please upgrade and let us know if it helps.

    If it doesn't; do you have any errors in the error log at the bottom of the main window? If yes, please attach them here, if not please send us your project file so we can try to reproduce!

    thanks in advance!

    regards,

    /Ole
    eviware.com
  • kungfunorm's avatar
    kungfunorm
    New Contributor
    Here's my error log...

    Wed Dec 09 08:32:24 PST 2009:ERROR:java.lang.NullPointerException
      java.lang.NullPointerException
      at com.eviware.soapui.impl.wsdl.WsdlProjectPro.getXmlTemplatesList(SourceFile:692)
      at com.eviware.soapui.impl.wsdl.WsdlProjectPro.getXmlTemplates(SourceFile:681)
      at com.eviware.soapui.model.propertyexpansion.resolvers.ReportTemplateExpansionResolver.resolveProperty(SourceFile:23)
      at com.eviware.soapui.model.propertyexpansion.PropertyExpander.expand(PropertyExpander.java:151)
      at com.eviware.soapui.model.propertyexpansion.PropertyExpander.expandProperties(PropertyExpander.java:92)
      at com.eviware.soapui.model.propertyexpansion.DefaultPropertyExpansionContext.expand(DefaultPropertyExpansionContext.java:30)
      at com.eviware.soapui.model.propertyexpansion.DefaultPropertyExpansionContext.get(DefaultPropertyExpansionContext.java:58)
      at com.eviware.soapui.model.support.AbstractSubmitContext.getProperty(AbstractSubmitContext.java:69)
      at com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext.getProperty(WsdlTestRunContext.java:135)
      at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:93)
      at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:122)
      at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:75)
      at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:222)
      at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:323)
      at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runTestStep(WsdlTestCaseRunner.java:197)
      at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:128)
      at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:39)
      at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:137)
      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)
  • kungfunorm's avatar
    kungfunorm
    New Contributor
    Well, the nightly build (3.0.2 from 08-Dec-2009) solved my problem! 

    Thanks a million,
    KFN