java.lang.StringIndexOutOfBoundsException: String index out of range: 0

pydev | gernjo | 8 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Tremendous long startup of Eclipse

    pydev | 8 years ago | gernjo
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  2. 0
    samebug tip
    Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.
  3. 0

    How to Integrate SQLite *.db file and Hibernate when controlled by Spring

    Stack Overflow | 3 years ago | DavidZemon
    java.lang.IllegalStateException: Failed to load ApplicationContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    StringIndexOutOfBoundsException importing dependent amp.

    Google Groups | 9 years ago | Damon Rand
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  6. 0

    multiple spaces in input without -tokenize · Issue #1 · slavpetrov/berkeleyparser · GitHub

    google.com | 2 years ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
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: 0

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(String.java:687)
    1 frame
  3. org.python.pydev
    AbstractASTManager.findOnImportedMods
    1. org.python.pydev.editor.codecompletion.revisited.javaintegration.AbstractJavaClassModule.createTokens(AbstractJavaClassModule.java:150)
    2. org.python.pydev.editor.codecompletion.revisited.javaintegration.JavaZipModule.<init>(JavaZipModule.java:89)
    3. org.python.pydev.editor.codecompletion.revisited.javaintegration.JythonModulesManagerUtils.createModuleFromJar(JythonModulesManagerUtils.java:19)
    4. org.python.pydev.editor.codecompletion.revisited.ModulesManager.getModule(ModulesManager.java:481)
    5. org.python.pydev.editor.codecompletion.revisited.ModulesManager.getModule(ModulesManager.java:414)
    6. org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getModuleInDirectManager(ProjectModulesManager.java:305)
    7. org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getModuleAndRelatedModulesManager(ProjectModulesManager.java:278)
    8. org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getModule(ProjectModulesManager.java:245)
    9. org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getModule(ProjectModulesManager.java:231)
    10. org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getModule(AbstractASTManager.java:395)
    11. org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.findModuleFromPath(AbstractASTManager.java:1334)
    12. org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.findOnImportedMods(AbstractASTManager.java:1216)
    13. org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.findOnImportedMods(AbstractASTManager.java:1115)
    13 frames
  4. com.python.pydev
    AbstractScopeAnalyzerVisitor.visitImportFrom
    1. com.python.pydev.analysis.visitors.ImportChecker.visitImportToken(ImportChecker.java:150)
    2. com.python.pydev.analysis.visitors.ImportChecker.visitImportToken(ImportChecker.java:132)
    3. com.python.pydev.analysis.visitors.Scope.addImportTokens(Scope.java:168)
    4. com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.visitImportFrom(AbstractScopeAnalyzerVisitor.java:427)
    4 frames
  5. org.python.pydev
    Module.traverse
    1. org.python.pydev.parser.jython.ast.ImportFrom.accept(ImportFrom.java:38)
    2. org.python.pydev.parser.jython.ast.Module.traverse(Module.java:34)
    2 frames
  6. com.python.pydev
    OccurrencesVisitor.traverse
    1. com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.traverse(AbstractScopeAnalyzerVisitor.java:171)
    2. com.python.pydev.analysis.visitors.OccurrencesVisitor.traverse(OccurrencesVisitor.java:214)
    2 frames
  7. org.python.pydev
    Module.accept
    1. org.python.pydev.parser.jython.ast.VisitorBase.visitModule(VisitorBase.java:8)
    2. org.python.pydev.parser.jython.ast.Module.accept(Module.java:27)
    2 frames
  8. com.python.pydev
    AnalysisBuilderVisitor$3.run
    1. com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:50)
    2. com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:38)
    3. com.python.pydev.analysis.builder.AnalysisBuilderRunnable.doAnalysis(AnalysisBuilderRunnable.java:223)
    4. com.python.pydev.analysis.builder.AbstractAnalysisBuilderRunnable.run(AbstractAnalysisBuilderRunnable.java:125)
    5. com.python.pydev.analysis.builder.AnalysisBuilderVisitor$3.run(AnalysisBuilderVisitor.java:180)
    5 frames
  9. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    1 frame