Forum Discussion

666666's avatar
666666
Occasional Contributor
11 years ago

Cannot open Editor for test steps for v. 4.6.2+

Hello, I have raised a bug on SoapUI's project at SourceForge but looking at the activity there I am not sure what is the correct place to file a bug, so I will copy it to the forum as well. If I am wrong, then please accept my apologies and have the thread closed.

We are currently writing test cases to test a web service using Windows 7 64bit and v. 5.0.0 of SoapUI. We have tried using both the standard and Pro version (Trial).

The problem is that we are able to open the editor for each test step for our older SoapUI projects, however, it is not possible with the newly written project. We attempted to have it opened with an older version of the SoapUI program and tried most of the major versions until we found out the editor can be opened successfully on versions prior to 4.6.2. Thus, version 4.6.1 is the newest version where the test steps may be opened in the editor.

In the error log, located at bin/soapui-errors.log, a Java exception is logged - java.lang.IndexOutOfBoundsException.

Complete stack trace is:


2014-07-03 11:32:06,042 ERROR [errorlog] java.lang.IndexOutOfBoundsException: Index: 14, Size: 14
java.lang.IndexOutOfBoundsException: Index: 14, Size: 14
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at com.eviware.soapui.impl.rest.support.RestRequestParamsPropertyHolder.getPropertyAt(RestRequestParamsPropertyHolder.java:235)
at com.eviware.soapui.impl.rest.support.RestUtils.expandPath(RestUtils.java:226)
at com.eviware.soapui.impl.wsdl.panels.teststeps.RestTestRequestDesktopPanel.updateFullPathLabel(RestTestRequestDesktopPanel.java:208)
at com.eviware.soapui.impl.wsdl.panels.teststeps.RestTestRequestDesktopPanel.addBottomToolbar(RestTestRequestDesktopPanel.java:190)
at com.eviware.soapui.impl.rest.panels.request.AbstractRestRequestDesktopPanel.buildToolbar(AbstractRestRequestDesktopPanel.java:143)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.init(AbstractHttpRequestDesktopPanel.java:154)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.(AbstractHttpRequestDesktopPanel.java:114)
at com.eviware.soapui.impl.support.panels.AbstractHttpXmlRequestDesktopPanel.(AbstractHttpXmlRequestDesktopPanel.java:31)
at com.eviware.soapui.impl.rest.panels.request.AbstractRestRequestDesktopPanel.(AbstractRestRequestDesktopPanel.java:57)
at com.eviware.soapui.impl.wsdl.panels.teststeps.RestTestRequestDesktopPanel.(RestTestRequestDesktopPanel.java:71)
at com.eviware.soapui.impl.wsdl.panels.teststeps.RestTestRequestPanelBuilder.buildDesktopPanel(RestTestRequestPanelBuilder.java:37)
at com.eviware.soapui.impl.wsdl.panels.teststeps.RestTestRequestPanelBuilder.buildDesktopPanel(RestTestRequestPanelBuilder.java:29)
at com.eviware.soapui.ui.desktop.standalone.StandaloneDesktop.showDesktopPanel(StandaloneDesktop.java:192)
at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:570)
at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:558)
at com.eviware.soapui.impl.wsdl.actions.support.ShowDesktopPanelAction.perform(ShowDesktopPanelAction.java:53)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:89)
at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:107)
at com.eviware.soapui.ui.Navigator$TreeMouseListener$1.run(Navigator.java:410)
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)


I am attaching a project file that will reproduce this behavior.

I will provide additional details on request.

Thank you.
  • Hi,

    Interesting, I have reproduced the same issue using your project. I will raise this to the development team for them to look at further.
    • 50ReggieTest's avatar
      50ReggieTest
      Occasional Contributor

      Hi,

       

      Any updates?

      This always happens to me, everyday. And I have no choice but to restart the app. I would be a great to have this fixed.

       

      SoapUI NG Pro - ReadyAPI 1.7.0 on Windows 7 Enterprise (64bit)

      - with 8 GB of RAM

       

      Regards,

       

      • jdario's avatar
        jdario
        Occasional Contributor

        It's 3 years later and I'm using ReadyAPI! v2.5.0 and I'm having the same problem. Wish we could have a custom solution so that we don't have to wait on third party developers.

  • Anonymous's avatar
    Anonymous
    There are resource parameters with empty names which are causing the problem. Fix for this will be available in next release soon.
    The workaround is to open it in 4.6.1 and delete the parameters with empty names in Resource Editor (WebApi X[/example] , save it and then you should be able to open it in later versions.

    Best Regards,
    Prakash