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

GitHub | Xorlev | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    IAE during analysis, files heavily using Lombok

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

    Unhandled exception / Wither annotation.

    GitHub | 8 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: [1754..-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
    10. Java Tools
      TreeScanner.visitConditionalExpression
      1. com.sun.source.util.TreeScanner.visitConditionalExpression(TreeScanner.java:404)
      1 frame
    11. com.google.errorprone
      ErrorProneScanner.visitConditionalExpression
      1. com.google.errorprone.scanner.ErrorProneScanner.visitConditionalExpression(ErrorProneScanner.java:681)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitConditionalExpression(ErrorProneScanner.java:144)
      2 frames
    12. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCConditional.accept(JCTree.java:1361)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
      2 frames
    13. 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
    14. Java Tools
      TreeScanner.visitReturn
      1. com.sun.source.util.TreeScanner.visitReturn(TreeScanner.java:470)
      1 frame
    15. com.google.errorprone
      ErrorProneScanner.visitReturn
      1. com.google.errorprone.scanner.ErrorProneScanner.visitReturn(ErrorProneScanner.java:1066)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitReturn(ErrorProneScanner.java:144)
      2 frames
    16. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1518)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
      2 frames
    17. 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
    18. Java Tools
      TreeScanner.visitBlock
      1. com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
      2. com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249)
      2 frames
    19. com.google.errorprone
      ErrorProneScanner.visitBlock
      1. com.google.errorprone.scanner.ErrorProneScanner.visitBlock(ErrorProneScanner.java:575)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitBlock(ErrorProneScanner.java:144)
      2 frames
    20. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:996)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
      2 frames
    21. 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
    22. Java Tools
      TreeScanner.visitMethod
      1. com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
      2. com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:207)
      2 frames
    23. com.google.errorprone
      ErrorProneScanner.visitMethod
      1. com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:943)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:144)
      2 frames
    24. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:868)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
      2 frames
    25. 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
    26. Java Tools
      TreeScanner.visitClass
      1. com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
      2. com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
      3. com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114)
      4. com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:188)
      4 frames
    27. com.google.errorprone
      ErrorProneScanner.visitClass
      1. com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:635)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:144)
      2 frames
    28. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
      2 frames
    29. 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
    30. Java Tools
      TreeScanner.visitCompilationUnit
      1. com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
      2. com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114)
      3. com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:145)
      3 frames
    31. com.google.errorprone
      ErrorProneScanner.visitCompilationUnit
      1. com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:650)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:144)
      2 frames
    32. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:561)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:53)
      2 frames
    33. com.google.errorprone
      ErrorProneScannerTransformer.apply
      1. com.google.errorprone.scanner.Scanner.scan(Scanner.java:68)
      2. com.google.errorprone.scanner.ErrorProneScannerTransformer.apply(ErrorProneScannerTransformer.java:43)
      2 frames
    34. @BugPattern annotation
      ErrorProneAnalyzer.finished
      1. com.google.errorprone.ErrorProneAnalyzer.finished(ErrorProneAnalyzer.java:145)
      1 frame
    35. Java Tools
      Main.compile
      1. com.sun.tools.javac.api.MultiTaskListener.finished(MultiTaskListener.java:113)
      2. com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1303)
      3. com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1247)
      4. com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:858)
      5. com.sun.tools.javac.main.Main.compile(Main.java:253)
      5 frames
    36. @BugPattern annotation
      ErrorProneCompiler.compile
      1. com.google.errorprone.BaseErrorProneCompiler.run(BaseErrorProneCompiler.java:214)
      2. com.google.errorprone.BaseErrorProneCompiler.run(BaseErrorProneCompiler.java:106)
      3. com.google.errorprone.ErrorProneCompiler.run(ErrorProneCompiler.java:128)
      4. com.google.errorprone.ErrorProneCompiler.compile(ErrorProneCompiler.java:70)
      4 frames
    37. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    38. net.ltgt.gradle
      ErrorProneCompiler.execute
      1. net.ltgt.gradle.errorprone.ErrorProneCompiler.execute(ErrorProneCompiler.java:57)
      2. net.ltgt.gradle.errorprone.ErrorProneCompiler.execute(ErrorProneCompiler.java:25)
      2 frames
    39. org.gradle.api
      JavaCompile.compile
      1. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:104)
      2. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:53)
      3. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
      4. org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:35)
      5. org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
      6. org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:188)
      7. org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:169)
      8. org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:112)
      8 frames
    40. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    41. org.gradle.internal
      JavaMethod.invoke
      1. org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
      1 frame
    42. Gradle Core
      StoppableExecutorImpl$1.run
      1. org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:163)
      2. org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
      3. org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:123)
      4. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:95)
      5. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:76)
      6. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:55)
      7. org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:61)
      8. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
      9. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
      10. org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:45)
      11. org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)
      12. org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
      13. org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
      14. org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
      15. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:233)
      16. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:215)
      17. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:74)
      18. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:55)
      19. org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
      20. org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
      20 frames
    43. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames