java.lang.IllegalArgumentException: Invalid range: [917..-1)

GitHub | Xorlev | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    IAE during analysis, files heavily using Lombok

    GitHub | 2 months ago | Xorlev
    java.lang.IllegalArgumentException: Invalid range: [917..-1)
  2. 0

    Unhandled exception / Wither annotation.

    GitHub | 6 months ago | Ferada
    java.lang.IllegalArgumentException: Invalid range: [163‥-1)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.IllegalArgumentException

      Invalid range: [917..-1)

      at com.google.common.collect.Range.<init>()
    2. Guava
      Range.closedOpen
      1. com.google.common.collect.Range.<init>(Range.java:352)
      2. com.google.common.collect.Range.create(Range.java:146)
      3. com.google.common.collect.Range.closedOpen(Range.java:182)
      3 frames
    3. com.google.errorprone
      AppliedFix$Applier.apply
      1. com.google.errorprone.fixes.Replacement.create(Replacement.java:38)
      2. com.google.errorprone.fixes.SuggestedFix$ReplacementFix.getReplacement(SuggestedFix.java:369)
      3. com.google.errorprone.fixes.SuggestedFix.getReplacements(SuggestedFix.java:91)
      4. com.google.errorprone.fixes.AppliedFix$Applier.apply(AppliedFix.java:66)
      4 frames
    4. @BugPattern annotation
      JavacErrorDescriptionListener.lambda$new$0
      1. com.google.errorprone.JavacErrorDescriptionListener.lambda$new$0(JavacErrorDescriptionListener.java:61)
      1 frame
    5. Java RT
      ReferencePipeline.collect
      1. java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      2. java.util.Iterator.forEachRemaining(Iterator.java:116)
      3. java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
      4. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      5. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      6. java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
      7. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      8. java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
      8 frames
    6. @BugPattern annotation
      VisitorState.reportMatch
      1. com.google.errorprone.JavacErrorDescriptionListener.onDescribed(JavacErrorDescriptionListener.java:75)
      2. com.google.errorprone.VisitorState.reportMatch(VisitorState.java:159)
      2 frames
    7. com.google.errorprone
      ErrorProneScanner.visitBinary
      1. com.google.errorprone.scanner.Scanner.reportMatch(Scanner.java:160)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitBinary(ErrorProneScanner.java:554)
      3. com.google.errorprone.scanner.ErrorProneScanner.visitBinary(ErrorProneScanner.java:144)
      3 frames
    8. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCBinary.accept(JCTree.java:1958)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
      2 frames
    9. com.google.errorprone
      Scanner.scan
      1. com.google.errorprone.scanner.Scanner.scan(Scanner.java:89)
      2. com.google.errorprone.scanner.Scanner.scan(Scanner.java:43)
      2 frames