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

davmail | andymaclean | 1 year ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp and rafael . Or join the community to write better ones.
  1. 0

    Davmail stopped working with outlook365 because of cookie problem.

    davmail | 1 year ago | andymaclean
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. 0

    DavMail POP/IMAP/SMTP/Caldav to Exchange / Mailing Lists

    sourceforge.net | 11 months ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  3. 0

    DavMail POP/IMAP/SMTP/Caldav to Exchange / Mailing Lists

    sourceforge.net | 6 months ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"
    via GitHub by Omertron
  6. 0
    samebug tip
    This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.StringIndexOutOfBoundsException

    String index out of range: -1

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1949)
    1 frame
  3. davmail.http
    DavMailCookieSpec.validate
    1. davmail.http.DavMailCookieSpec.validate(DavMailCookieSpec.java:46)
    1 frame
  4. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.HttpMethodBase.processCookieHeaders(HttpMethodBase.java:1643)
    2. org.apache.commons.httpclient.HttpMethodBase.processResponseHeaders(HttpMethodBase.java:1586)
    3. org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1738)
    4. org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    6. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    8. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    8 frames
  5. davmail.http
    DavGatewayHttpClientFacade.getHttpStatus
    1. davmail.http.DavGatewayHttpClientFacade.getHttpStatus(DavGatewayHttpClientFacade.java:296)
    1 frame
  6. davmail.exchange
    ExchangeSession.<init>
    1. davmail.exchange.ExchangeSession.isBasicAuthentication(ExchangeSession.java:358)
    2. davmail.exchange.ExchangeSession.<init>(ExchangeSession.java:197)
    2 frames
  7. davmail.exchange.dav
    DavExchangeSession.<init>
    1. davmail.exchange.dav.DavExchangeSession.<init>(DavExchangeSession.java:500)
    1 frame
  8. davmail.exchange
    ExchangeSessionFactory.getInstance
    1. davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:147)
    2. davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:94)
    2 frames
  9. davmail.imap
    ImapConnection.run
    1. davmail.imap.ImapConnection.run(ImapConnection.java:137)
    1 frame