cruvon
11 years agoNew Contributor
Error on trying access a created REST Service/Test Suite Req
Hi, firstly thanks for the assistance with getting me started in SOAP UI to automate my REST serrvcies, it went pretty well. Having an issue however, I created the REST services for example say
REST Service A
REST Service B
and then generated Test Suites say
Test Suite REST Service A
Test Suite REST Service B
Test Suite REST Service A and Rest Service B
All worked fine till I added some new cloned requests to REST Service A and created a new Test Suite for it like Test Suite REST Service AA. I can't seem to open the Request editor for REST Service A or it's test suite, though I can for the other Requests. I get an error
Wed Jul 23 09:49:17 EST 2014:ERROR:java.lang.NullPointerException
java.lang.NullPointerException
at com.eviware.soapui.impl.rest.support.RestRequestParamsPropertyHolder$InternalRestParamProperty.<init>(RestRequestParamsPropertyHolder.java:547)
at com.eviware.soapui.impl.rest.support.RestRequestParamsPropertyHolder.getWrapper(RestRequestParamsPropertyHolder.java:480)
at com.eviware.soapui.impl.rest.support.RestRequestParamsPropertyHolder.getPropertyAt(RestRequestParamsPropertyHolder.java:241)
at com.eviware.soapui.impl.rest.support.RestUtils.makeMatrixParameterString(RestUtils.java:280)
at com.eviware.soapui.impl.rest.support.RestUtils.makeSuffixParameterString(RestUtils.java:272)
at com.eviware.soapui.impl.rest.panels.request.ParametersField.<init>(ParametersField.java:65)
at com.eviware.soapui.impl.rest.panels.request.RestRequestDesktopPanel.initializeFields(RestRequestDesktopPanel.java:57)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.init(AbstractHttpRequestDesktopPanel.java:177)
at com.eviware.soapui.impl.rest.panels.request.RestRequestDesktopPanel.init(RestRequestDesktopPanel.java:66)
at com.eviware.soapui.impl.rest.panels.request.RestRequestDesktopPanel.init(RestRequestDesktopPanel.java:36)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.<init>(AbstractHttpRequestDesktopPanel.java:129)
at com.eviware.soapui.impl.support.panels.AbstractHttpXmlRequestDesktopPanel.<init>(AbstractHttpXmlRequestDesktopPanel.java:45)
at com.eviware.soapui.impl.rest.panels.request.AbstractRestRequestDesktopPanel.<init>(AbstractRestRequestDesktopPanel.java:61)
at com.eviware.soapui.impl.rest.panels.request.RestRequestDesktopPanel.<init>(RestRequestDesktopPanel.java:47)
at com.eviware.soapui.impl.rest.panels.request.RestRequestPanelBuilder.buildDesktopPanel(RestRequestPanelBuilder.java:44)
at com.eviware.soapui.impl.rest.panels.request.RestRequestPanelBuilder.buildDesktopPanel(RestRequestPanelBuilder.java:36)
at com.eviware.soapui.ui.desktop.standalone.StandaloneDesktop.showDesktopPanel(StandaloneDesktop.java:204)
at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:587)
at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:575)
at com.eviware.soapui.impl.wsdl.actions.support.ShowDesktopPanelAction.perform(ShowDesktopPanelAction.java:57)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:93)
at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:111)
at com.eviware.soapui.ui.Navigator$TreeMouseListener$1.run(Navigator.java:412)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Any info appreciated, the work around is offcourse for me to recreate REST Service A and test suite but I would like to get teh old one running since I have many assertions and clone requests with various Exception values added to the test suite that I will loose.
Thanks
REST Service A
REST Service B
and then generated Test Suites say
Test Suite REST Service A
Test Suite REST Service B
Test Suite REST Service A and Rest Service B
All worked fine till I added some new cloned requests to REST Service A and created a new Test Suite for it like Test Suite REST Service AA. I can't seem to open the Request editor for REST Service A or it's test suite, though I can for the other Requests. I get an error
Wed Jul 23 09:49:17 EST 2014:ERROR:java.lang.NullPointerException
java.lang.NullPointerException
at com.eviware.soapui.impl.rest.support.RestRequestParamsPropertyHolder$InternalRestParamProperty.<init>(RestRequestParamsPropertyHolder.java:547)
at com.eviware.soapui.impl.rest.support.RestRequestParamsPropertyHolder.getWrapper(RestRequestParamsPropertyHolder.java:480)
at com.eviware.soapui.impl.rest.support.RestRequestParamsPropertyHolder.getPropertyAt(RestRequestParamsPropertyHolder.java:241)
at com.eviware.soapui.impl.rest.support.RestUtils.makeMatrixParameterString(RestUtils.java:280)
at com.eviware.soapui.impl.rest.support.RestUtils.makeSuffixParameterString(RestUtils.java:272)
at com.eviware.soapui.impl.rest.panels.request.ParametersField.<init>(ParametersField.java:65)
at com.eviware.soapui.impl.rest.panels.request.RestRequestDesktopPanel.initializeFields(RestRequestDesktopPanel.java:57)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.init(AbstractHttpRequestDesktopPanel.java:177)
at com.eviware.soapui.impl.rest.panels.request.RestRequestDesktopPanel.init(RestRequestDesktopPanel.java:66)
at com.eviware.soapui.impl.rest.panels.request.RestRequestDesktopPanel.init(RestRequestDesktopPanel.java:36)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.<init>(AbstractHttpRequestDesktopPanel.java:129)
at com.eviware.soapui.impl.support.panels.AbstractHttpXmlRequestDesktopPanel.<init>(AbstractHttpXmlRequestDesktopPanel.java:45)
at com.eviware.soapui.impl.rest.panels.request.AbstractRestRequestDesktopPanel.<init>(AbstractRestRequestDesktopPanel.java:61)
at com.eviware.soapui.impl.rest.panels.request.RestRequestDesktopPanel.<init>(RestRequestDesktopPanel.java:47)
at com.eviware.soapui.impl.rest.panels.request.RestRequestPanelBuilder.buildDesktopPanel(RestRequestPanelBuilder.java:44)
at com.eviware.soapui.impl.rest.panels.request.RestRequestPanelBuilder.buildDesktopPanel(RestRequestPanelBuilder.java:36)
at com.eviware.soapui.ui.desktop.standalone.StandaloneDesktop.showDesktopPanel(StandaloneDesktop.java:204)
at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:587)
at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:575)
at com.eviware.soapui.impl.wsdl.actions.support.ShowDesktopPanelAction.perform(ShowDesktopPanelAction.java:57)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:93)
at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:111)
at com.eviware.soapui.ui.Navigator$TreeMouseListener$1.run(Navigator.java:412)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Any info appreciated, the work around is offcourse for me to recreate REST Service A and test suite but I would like to get teh old one running since I have many assertions and clone requests with various Exception values added to the test suite that I will loose.
Thanks