java.lang.StringIndexOutOfBoundsException: String index out of range: -1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807573, 1 year ago
via Eclipse Bugzilla by silvio_boehler, 4 months ago
via JIRA by Olaf Freyer, 1 year ago
String index out of range: 0
via JIRA by Olaf Freyer, 1 year ago
String index out of range: 0
via JIRA by (sourceforge), 10 months ago
String index out of range: 0
via Oracle Community by 989156, 1 year ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.StringBuffer.charAt(StringBuffer.java:162)
at org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:288)
at org.openspml.client.SOAPClient.send(SOAPClient.java:241)
at org.openspml.client.SpmlClient.send(SpmlClient.java:247)
at org.openspml.client.SpmlClient.request(SpmlClient.java:220)
at org.openspml.client.LighthouseClient.login(LighthouseClient.java:199)
at org.openspml.client.LighthouseClient.request(LighthouseClient.java:266)
at com.vaau.rbacx.iam.sun.WavesetIAMSolution.sendRequest(WavesetIAMSolution.java:1638)
at com.vaau.rbacx.iam.sun.WavesetIAMSolution.listUsernames(WavesetIAMSolution.java:1471)
at com.vaau.rbacx.iam.sun.WavesetIAMSolution.readUsers(WavesetIAMSolution.java:1049)
at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at undefined.$Proxy25.importUsers(Unknown Source)
at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:78)
at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractQuartzJob.execute(AbstractQuartzJob.java:68)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.