Forum Discussion

nicstrong's avatar
nicstrong
New Contributor
15 years ago

TestCase failing to prepare SoapUI 3 Beta

Hi,

I am playing around with the new beta. I defining a new test suite, with a single tests case that has 2 rest calls in it.
These run fine on their own, but when I run the testcase or the suite i get the following error:

Test started at 2009-05-28 12:22:42.253
TestCase failed [java.lang.Exception: Failed to prepare testStep [AssignDevice]; java.lang.NullPointerException:java.lang.Exception: Failed to prepare testStep [AssignDevice]; java.lang.NullPointerException], time taken = 0

2 Replies

  • nicstrong's avatar
    nicstrong
    New Contributor
    Full Log:

    Thu May 28 17:02:57 NZST 2009:ERROR:java.lang.NullPointerException
      java.lang.NullPointerException
      at com.eviware.soapui.impl.rest.panels.request.views.html.HttpHtmlResponseView.setEditorContent(HttpHtmlResponseView.java:106)
      at com.eviware.soapui.impl.rest.panels.request.views.html.HttpHtmlResponseView.propertyChange(HttpHtmlResponseView.java:178)
      at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
      at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
      at com.eviware.soapui.model.support.AbstractModelItem.notifyPropertyChanged(AbstractModelItem.java:54)
      at com.eviware.soapui.impl.support.AbstractHttpRequest.setResponse(AbstractHttpRequest.java:603)
      at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequest.setResponse(RestTestRequest.java:138)
      at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.prepare(RestTestRequestStep.java:541)
      at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:111)
      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)
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Thanks for pointing this out!

    This bug is now fixed, so try the upcoming nightly build, it should work better!

    Regards,
    Dain
    eviware support