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

GitHub | sguptatw | 5 months ago
  1. 0

    While adding a new step implementation in code getting an exception

    GitHub | 5 months ago | sguptatw
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  2. 0

    While adding a new step implementation in code getting an exception

    GitHub | 5 months ago | kashishm
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  3. 0

    Getting an exception when navigating to the definition of a step

    GitHub | 6 months ago | BugDiver
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting an exception when navigating to the definition of a step

    GitHub | 6 months ago | BugDiver
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  6. 0

    Getting an exception when navigating to the definition of a step

    GitHub | 6 months ago | sguptatw
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0

  1. harshg 2 times, last 3 months ago
  2. balintn 4 times, last 3 months ago
  3. poroszd 1 times, last 3 months ago
  4. Stefan Braune 1 times, last 5 months ago
  5. mauritius 1 times, last 5 months ago
6 more registered users
18 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: 0

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(String.java:658)
    1 frame
  3. com.thoughtworks.gauge
    ImplUsageProvider.isImplicitUsage
    1. com.thoughtworks.gauge.findUsages.ReferenceSearch.getStepText(ReferenceSearch.java:97)
    2. com.thoughtworks.gauge.findUsages.ReferenceSearch.getPsiElements(ReferenceSearch.java:61)
    3. com.thoughtworks.gauge.findUsages.ImplUsageProvider.isImplicitUsage(ImplUsageProvider.java:22)
    3 frames
  4. IDEA
    JobLauncherImpl$VoidForkJoinTask$1.exec
    1. com.intellij.codeInsight.daemon.impl.UnusedSymbolUtil.isImplicitUsage(UnusedSymbolUtil.java:53)
    2. com.intellij.codeInsight.daemon.impl.UnusedSymbolUtil.isMethodReferenced(UnusedSymbolUtil.java:145)
    3. com.intellij.codeInsight.daemon.impl.analysis.PostHighlightingVisitor.processMethod(PostHighlightingVisitor.java:446)
    4. com.intellij.codeInsight.daemon.impl.analysis.PostHighlightingVisitor.processIdentifier(PostHighlightingVisitor.java:260)
    5. com.intellij.codeInsight.daemon.impl.analysis.PostHighlightingVisitor.collectHighlights(PostHighlightingVisitor.java:197)
    6. com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl$3.run(HighlightVisitorImpl.java:185)
    7. com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:306)
    8. com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:178)
    9. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:308)
    10. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$200(GeneralHighlightingPass.java:62)
    11. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$4.run(GeneralHighlightingPass.java:311)
    12. com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:83)
    13. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:308)
    14. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:277)
    15. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:216)
    16. com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:82)
    17. com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
    18. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:444)
    19. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1178)
    20. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:435)
    21. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
    22. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
    23. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    24. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:432)
    25. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    26. com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:206)
    26 frames
  5. Quasar
    ForkJoinWorkerThread.run
    1. jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
    2. jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
    3. jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
    4. jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
    5. jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:108)
    5 frames