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

GitHub | shyim | 4 months ago
  1. 0

    Errors on PhpStorm 16.2

    GitHub | 4 months ago | shyim
    java.lang.StringIndexOutOfBoundsException: String index out of range: -61
  2. 0

    ceylon.test: StringIndexOutOfBoundsException clicking on JavaScript failure trace

    GitHub | 9 months ago | jvasileff
    java.lang.StringIndexOutOfBoundsException: String index out of range: -61
  3. 0

    Line terminator problems on Windows

    GitHub | 1 year ago | JFormDesigner
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 474#150932295

    GitHub | 1 year ago | melvinzhang
    java.lang.StringIndexOutOfBoundsException: String index out of range: -3
  6. 0

    GitHub comment 52#163535786

    GitHub | 12 months ago | shekmun
    java.lang.StringIndexOutOfBoundsException: String index out of range: -3

  1. archenroot 17 times, last 2 weeks ago
  2. Alexandru Popa 2 times, last 3 weeks ago
  3. poroszd 3 times, last 4 weeks ago
  4. DoktorDoener666 6 times, last 1 month ago
  5. eti22 3 times, last 1 month ago
16 more registered users
58 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: -61

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1967)
    1 frame
  3. sk.sorien.silexplugin
    PimplePhpTypeProvider.getType
    1. sk.sorien.silexplugin.pimple.Signature.set(Signature.java:40)
    2. sk.sorien.silexplugin.pimple.PimplePhpTypeProvider.getChildElementSignature(PimplePhpTypeProvider.java:53)
    3. sk.sorien.silexplugin.pimple.PimplePhpTypeProvider.getTypeForArrayAccess(PimplePhpTypeProvider.java:99)
    4. sk.sorien.silexplugin.pimple.PimplePhpTypeProvider.getType(PimplePhpTypeProvider.java:30)
    4 frames
  4. JetBrains php
    PhpTypeInfo$1.internalCompute
    1. com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:49)
    2. com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:39)
    2 frames
  5. IDEA
    RecursionManager.doPreventingRecursion
    1. com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    2. com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:112)
    3. com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    3 frames
  6. JetBrains php
    PhpTypeInfo$1.internalCompute
    1. com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:39)
    2. com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getType(PhpTypeInferenceUtil.java:235)
    3. com.jetbrains.php.lang.psi.elements.impl.ArrayAccessExpressionImpl.getType(ArrayAccessExpressionImpl.java:39)
    4. com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.getSignature(MemberReferenceImpl.java:211)
    5. com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpReference(PhpTypeAnalyserVisitor.java:90)
    6. com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpMethodReference(PhpTypeAnalyserVisitor.java:400)
    7. com.jetbrains.php.lang.psi.elements.impl.MethodReferenceImpl.accept(MethodReferenceImpl.java:29)
    8. com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:46)
    9. com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:39)
    9 frames
  7. IDEA
    RecursionManager.doPreventingRecursion
    1. com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    2. com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:112)
    3. com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    3 frames
  8. JetBrains php
    PhpTypeInfo$1.internalCompute
    1. com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:39)
    2. com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.getType(PhpReferenceImpl.java:207)
    3. com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.inferType(PhpTypeInferenceUtil.java:206)
    4. com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.addTypeFromExpression(PhpTypeAnalyserVisitor.java:69)
    5. com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpVariable(PhpTypeAnalyserVisitor.java:145)
    6. com.jetbrains.php.lang.psi.elements.impl.VariableImpl.accept(VariableImpl.java:119)
    7. com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:46)
    8. com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:39)
    8 frames
  9. IDEA
    RecursionManager.doPreventingRecursion
    1. com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    2. com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:112)
    3. com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    3 frames
  10. JetBrains php
    PhpMethodElementType.createStub
    1. com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:39)
    2. com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getType(PhpTypeInferenceUtil.java:235)
    3. com.jetbrains.php.lang.psi.elements.impl.VariableImpl.getType(VariableImpl.java:595)
    4. com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.visitReturn(FunctionImpl.java:209)
    5. com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.scanTree(FunctionImpl.java:241)
    6. com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.getInferredType(FunctionImpl.java:181)
    7. com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.getLocalType(FunctionImpl.java:145)
    8. com.jetbrains.php.lang.psi.elements.impl.MethodImpl.getLocalType(MethodImpl.java:230)
    9. com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:32)
    10. com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:17)
    10 frames
  11. IDEA
    ApplicationImpl$2.run
    1. com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:74)
    2. com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:36)
    3. com.intellij.psi.stubs.StubTreeBuilder.buildStubTree(StubTreeBuilder.java:86)
    4. com.intellij.psi.stubs.StubUpdatingIndex$4.a(StubUpdatingIndex.java:209)
    5. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:850)
    6. com.intellij.psi.stubs.StubUpdatingIndex$4.map(StubUpdatingIndex.java:208)
    7. com.intellij.psi.stubs.StubUpdatingIndex$4.map(StubUpdatingIndex.java:191)
    8. com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:457)
    9. com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1632)
    10. com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1558)
    11. com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyIn(FileTypeManagerImpl.java:505)
    12. com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1515)
    13. com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1500)
    14. com.intellij.util.indexing.UnindexedFilesUpdater.a(UnindexedFilesUpdater.java:107)
    15. com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.a(CacheUpdateRunner.java:219)
    16. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1033)
    17. com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.a(CacheUpdateRunner.java:236)
    18. com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170)
    19. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494)
    20. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
    21. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    22. com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155)
    23. com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:232)
    24. com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:308)
    24 frames
  12. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames