18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Getting StringIndexOutofException while hitting a link

ManickamManickam Members
edited November -1 in Sahi - Open Source
While hitting one of our url, I am getting the below error.
Apr 2, 2010 9:35:51 AM net.sf.sahi.RemoteRequestProcessor processHttp
WARNING: java.lang.StringIndexOutOfBoundsException: String index out of range: -9
at java.lang.String.substring(Unknown Source)
at net.sf.sahi.response.HttpResponse.status(HttpResponse.java:66)
at net.sf.sahi.response.HttpModifiedResponse.<init>(HttpModifiedResponse.java:47)
at net.sf.sahi.RemoteRequestProcessor.addFilters(RemoteRequestProcessor.java:207)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor.java:190)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor.java:81)
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:142)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:93)
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)

Please help me in solving this.

Comments

  • narayannarayan Administrators
    Hi Manickam,

    Is it possible to share the URL so that we can debug and fix this?

    Regards,
    Narayan
Sign In or Register to comment.