java.lang.StringIndexOutOfBoundsException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 'null' URL allowed in maven service configurable
    via by Unknown author,
  • Problem java.lang.StringIndexOutOfBoundsException: String index out of range: 0 occured when trying to process 'http://www.indefighter.com/hp/news/index.php?action=show&id=58' at step ABOUT_TO_BEGIN_PROCESSOR in ExtractorHTML (in thread 'ToeThread #47: http://www.indefighter.com/hp/news/index.php?action=show&id=58'; in processor 'ExtractorHTML') java.lang.StringIndexOutOfBoundsException: String index out of range: 0 Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.StringBuffer.charAt(StringBuffer.java:162) at gnu.inet.encoding.NFKC.canonicalOrdering(NFKC.java:161) at gnu.inet.encoding.NFKC.normalizeNFKC(NFKC.java:58) at gnu.inet.encoding.Stringprep.nameprep(Stringprep.java:42) at gnu.inet.encoding.IDNA.toASCII(IDNA.java:89) at gnu.inet.encoding.IDNA.toASCII(IDNA.java:55) at org.archive.net.UURIFactory.fixupDomainlabel(UURIFactory.java:646) at org.archive.net.UURIFactory.fixupAuthority(UURIFactory.java:608) at org.archive.net.UURIFactory.fixup(UURIFactory.java:470) at org.archive.net.UURIFactory.create(UURIFactory.java:340) at org.archive.net.UURIFactory.getInstance(UURIFactory.java:289) at org.archive.crawler.datamodel.CrawlURI.createAndAddLinkRelativeToBase(CrawlURI.java:1314) at org.archive.crawler.extractor.ExtractorHTML.addLinkFromString(ExtractorHTML.java:477) at org.archive.crawler.extractor.ExtractorHTML.processLink(ExtractorHTML.java:462) at org.archive.crawler.extractor.ExtractorHTML.processGeneralTag(ExtractorHTML.java:285) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:611) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:557) at org.archive.crawler.extractor.Extractor.innerProcess(Extractor.java:67) at org.archive.crawler.framework.Processor.process(Processor.java:112) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151)
    via by Olaf Freyer,
  • Problem java.lang.StringIndexOutOfBoundsException: String index out of range: 0 occured when trying to process 'http://www.indefighter.com/hp/news/index.php?action=show&id=58' at step ABOUT_TO_BEGIN_PROCESSOR in ExtractorHTML (in thread 'ToeThread #47: http://www.indefighter.com/hp/news/index.php?action=show&id=58'; in processor 'ExtractorHTML') java.lang.StringIndexOutOfBoundsException: String index out of range: 0 Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.StringBuffer.charAt(StringBuffer.java:162) at gnu.inet.encoding.NFKC.canonicalOrdering(NFKC.java:161) at gnu.inet.encoding.NFKC.normalizeNFKC(NFKC.java:58) at gnu.inet.encoding.Stringprep.nameprep(Stringprep.java:42) at gnu.inet.encoding.IDNA.toASCII(IDNA.java:89) at gnu.inet.encoding.IDNA.toASCII(IDNA.java:55) at org.archive.net.UURIFactory.fixupDomainlabel(UURIFactory.java:646) at org.archive.net.UURIFactory.fixupAuthority(UURIFactory.java:608) at org.archive.net.UURIFactory.fixup(UURIFactory.java:470) at org.archive.net.UURIFactory.create(UURIFactory.java:340) at org.archive.net.UURIFactory.getInstance(UURIFactory.java:289) at org.archive.crawler.datamodel.CrawlURI.createAndAddLinkRelativeToBase(CrawlURI.java:1314) at org.archive.crawler.extractor.ExtractorHTML.addLinkFromString(ExtractorHTML.java:477) at org.archive.crawler.extractor.ExtractorHTML.processLink(ExtractorHTML.java:462) at org.archive.crawler.extractor.ExtractorHTML.processGeneralTag(ExtractorHTML.java:285) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:611) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:557) at org.archive.crawler.extractor.Extractor.innerProcess(Extractor.java:67) at org.archive.crawler.framework.Processor.process(Processor.java:112) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151)
    via by Olaf Freyer,
  • Assigning values to variables in constructors
    via by Andrew Stallard,
  • I fails with : {code} java.lang.StringIndexOutOfBoundsException: String index out of range: 4 at java.lang.StringBuffer.charAt(StringBuffer.java:162) at com.novell.ldap.LDAPDN.escapeRDN(Unknown Source) at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.escapeLDAPDNValue(XWikiLDAPConnection.java:381) at com.xpn.xwiki.plugin.ldap.XWikiLDAPConfig.getLDAPBindDN(XWikiLDAPConfig.java:400) at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:91) 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.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:132) at Script1.run(Script1.groovy:84) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:576) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:614) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:585) at com.xpn.xwiki.plugin.scheduler.GroovyJob.executeJob(GroovyJob.java:85) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) {code}
    via by Jerome Velociter,
  • android webview crash 4.3
    via Stack Overflow by Kazou
    ,
  • Mastermind game in java
    via Stack Overflow by user3423682
    ,
    • 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:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $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) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    No Bugmate found.