Forum Discussion

saurabhsharma09's avatar
saurabhsharma09
Contributor
12 years ago

[Res]Index Out of Bounds exception in soap ui 4.6.4 & above

Hello,

I am facing Index Out of Bounds exception when I open any service call in my project in soap ui pro 4.6.4.
however the project runs fine on 4.6.0.
I need to use soap ui pro 4.6.4 Instead as one of my Excel data source related Issue is resolved in it.
I tried this on 5.0 also but still got same result.
Please refer below for the logs:-

Mon Apr 21 19:58:31 IST 2014:ERROR:java.lang.IndexOutOfBoundsException: Index: 6, Size: 6
java.lang.IndexOutOfBoundsException: Index: 6, Size: 6
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.makeMatrixParameterString(RestUtils.java:273)
at com.eviware.soapui.impl.rest.support.RestUtils.makeSuffixParameterString(RestUtils.java:265)
at com.eviware.soapui.impl.rest.panels.request.ParametersField.<init>(ParametersField.java:49)
at com.eviware.soapui.impl.rest.panels.request.RestRequestDesktopPanel.initializeFields(RestRequestDesktopPanel.java:48)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.init(AbstractHttpRequestDesktopPanel.java:147)
at com.eviware.soapui.impl.rest.panels.request.RestRequestDesktopPanel.init(RestRequestDesktopPanel.java:57)
at com.eviware.soapui.impl.rest.panels.request.ProRestRequestDesktopPanel.init(SourceFile:83)
at com.eviware.soapui.impl.rest.panels.request.ProRestRequestDesktopPanel.init(SourceFile:32)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.<init>(AbstractHttpRequestDesktopPanel.java:114)
at com.eviware.soapui.impl.support.panels.AbstractHttpXmlRequestDesktopPanel.<init>(AbstractHttpXmlRequestDesktopPanel.java:31)
at com.eviware.soapui.impl.rest.panels.request.AbstractRestRequestDesktopPanel.<init>(AbstractRestRequestDesktopPanel.java:57)
at com.eviware.soapui.impl.rest.panels.request.RestRequestDesktopPanel.<init>(RestRequestDesktopPanel.java:38)
at com.eviware.soapui.impl.rest.panels.request.ProRestRequestDesktopPanel.<init>(SourceFile:41)
at com.eviware.soapui.impl.rest.panels.request.ProRestRequestPanelBuilder.buildDesktopPanel(SourceFile:16)
at com.eviware.soapui.impl.rest.panels.request.ProRestRequestPanelBuilder.buildDesktopPanel(SourceFile:11)
at com.eviware.soapui.ui.TabbedSoapUIDesktop.showDesktopPanel(SourceFile:214)
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)

please help.

Regards,
Saurabh

4 Replies

  • Hi,

    I would suggest you to do this in 4.6.4 or 5.0.0
    1. Open in Notepad either of these files that you will find in the "bin" directory of your installation of SoapUI "soapUI-Pro-install-version.vmoptions".
    2. Add the following line to the end of the file:
    -Dfile.encoding=UTF8
    3. Save the file and restart SoapUI Pro

    If this does not help, log a case on our support form,
    http://www.soapui.org/Support/support-overview.html

    Attach the project file you trying to load and also screenshots so we can investigate further.

    Thanks,
    Jeshtha
  • Hello Jeshtha,

    The workaround didn't worked and I have created a support ticket as suggested.
    Please refer below for the case-ID and let me know in case any other information is required:-
    Case #00034939: Facing exceptions when trying to open service

    Regards,
    Saurabh
  • Hi,

    Its due to the parameter mapping, the resource has b,c and d as template parameters but they were not mapped. From 4.6.3 and 4.6.4 we changed the resource and param's addressing.

    Here is a video from our Sales engineer which explains REST param's in detail,
    http://video.smartbear.com/medias/qzkz2r3qp8

    Thanks,
    Jeshtha