java.lang.StringIndexOutOfBoundsException

String index out of range: -1

Samebug tips2

You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"


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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web4607

  • String index out of range: -1
  • via GitHub by dlsniper
    , 1 year ago
    String index out of range: 1
  • Stack trace

    • java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1067) at com.atlassian.fisheye.clearcase.ClearCaseBaseContext.getTypeManagerIdentifier(ClearCaseBaseContext.java:288) at com.atlassian.fisheye.clearcase.ClearCaseRevisionCache.getFileHistory(ClearCaseRevisionCache.java:267) at com.cenqua.fisheye.cache.BaseRevisionCache.getFileHistory(BaseRevisionCache.java:125) at com.atlassian.fisheye.clearcase.ClearCaseRevisionCache.getFullFileHistory(ClearCaseRevisionCache.java:247) at com.cenqua.fisheye.web.ViewFileAction.loadHistory(ViewFileAction.java:234) at com.cenqua.fisheye.web.ViewFileAction.handleFileRequest(ViewFileAction.java:178) at com.cenqua.fisheye.web.ViewFileAction.handleRequest(ViewFileAction.java:141) at com.cenqua.fisheye.web.BaseAction.processRequest(BaseAction.java:181) at com.cenqua.fisheye.web.ActionDispatcherServlet.doIt(ActionDispatcherServlet.java:225) at com.cenqua.fisheye.web.ActionDispatcherServlet.doGet(ActionDispatcherServlet.java:55) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1208) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 month ago
    2 times, 2 months ago
    2 times, 7 months ago
    Once, 7 months ago
    2 times, 7 months ago
    95 more bugmates