Forum Discussion

tdproxytd's avatar
tdproxytd
New Contributor
7 years ago

StringIndexOutOfBoundsException: String index out of range: 19 on import postman

Hi, I recently tried to import our teams V1 export of a postman collection and am getting the following error:

 

Mon Feb 05 12:12:07 CST 2018:ERROR:java.lang.StringIndexOutOfBoundsException: String index out of range: 19
   java.lang.StringIndexOutOfBoundsException: String index out of range: 19
   	at java.lang.String.substring(Unknown Source)
   	at com.eviware.soapui.impl.rest.support.RestURIParserImpl.parseManually(RestURIParserImpl.java:201)
   	at com.eviware.soapui.impl.rest.support.RestURIParserImpl.parseWithURL(RestURIParserImpl.java:182)
   	at com.eviware.soapui.impl.rest.support.RestURIParserImpl.parseURI(RestURIParserImpl.java:62)
   	at com.eviware.soapui.impl.rest.support.RestURIParserImpl.<init>(RestURIParserImpl.java:43)
   	at com.eviware.soapui.impl.actions.RestServiceBuilder.createResource(RestServiceBuilder.java:107)
   	at com.smartbear.postman.PostmanImporter$PostmanRestServiceBuilder.createRestServiceFromPostman(PostmanImporter.java:410)
   	at com.smartbear.postman.PostmanImporter.addRestRequest(PostmanImporter.java:276)
   	at com.smartbear.postman.PostmanImporter.importPostmanCollection(PostmanImporter.java:159)
   	at com.smartbear.postman.ImportPostmanCollectionAction.perform(ImportPostmanCollectionAction.java:58)
   	at com.smartbear.postman.ImportPostmanCollectionAction.perform(ImportPostmanCollectionAction.java:34)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   	at java.lang.reflect.Method.invoke(Unknown Source)
   	at com.eviware.soapui.plugins.PluginProxies$DelegatingHandler.invoke(PluginProxies.java:116)
   	at com.sun.proxy.$Proxy57.perform(Unknown Source)
   	at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:128)
   	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   	at javax.swing.AbstractButton.doClick(Unknown Source)
   	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
   	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
   	at java.awt.Component.processMouseEvent(Unknown Source)
   	at javax.swing.JComponent.processMouseEvent(Unknown Source)
   	at java.awt.Component.processEvent(Unknown Source)
   	at java.awt.Container.processEvent(Unknown Source)
   	at java.awt.Component.dispatchEventImpl(Unknown Source)
   	at java.awt.Container.dispatchEventImpl(Unknown Source)
   	at java.awt.Component.dispatchEvent(Unknown Source)
   	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   	at java.awt.Container.dispatchEventImpl(Unknown Source)
   	at java.awt.Window.dispatchEventImpl(Unknown Source)
   	at java.awt.Component.dispatchEvent(Unknown Source)
   	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   	at java.awt.EventQueue.access$500(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$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   	at java.awt.EventQueue$4.run(Unknown Source)
   	at java.awt.EventQueue$4.run(Unknown Source)
   	at java.security.AccessController.doPrivileged(Native Method)
   	at java.security.ProtectionDomain$JavaSecurityAccessImpl.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 have Ready! API 1.9.0 and ReadyAPI postman plugin version 1.0.2.  Any help appreciated.  Thanks.