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

Spring JIRA | Andrei Stefan | 9 years 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
    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
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 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
  4. 0

    Error at startup when scanning players

    GitHub | 4 years ago | LemADEC
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1

  1. osvzs 2 times, last 5 days ago
  2. Indri Yunita 7 times, last 2 months ago
  3. Pilleo 1 times, last 2 months ago
  4. Andreas Häber 2 times, last 2 months ago
  5. QrCeric 1 times, last 3 months ago
25 more registered users
59 unregistered visitors
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(Unknown Source)
    1 frame
  3. Spring OSGi Core
    BundleDelegatingClassLoader.loadClass
    1. org.springframework.osgi.util.DebugUtils.debugClassLoading(DebugUtils.java:150)
    2. org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:102)
    3. org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)
    3 frames
  4. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(Unknown Source)
    1 frame