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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by jbzhang1990
, 2 years ago
Invalid range: [11.9123‥11.9085]
via Google Groups by Ram Kumar Rengaswamy, 5 months ago
Invalid range: [1440597548005?1440597496002]
java.lang.IllegalArgumentException: Invalid range: [917..-1)
at com.google.common.collect.Range.(Range.java:352)
at com.google.common.collect.Range.create(Range.java:146)
at com.google.errorprone.fixes.Replacement.create(Replacement.java:38)
at com.google.errorprone.fixes.SuggestedFix$ReplacementFix.getReplacement(SuggestedFix.java:369)
at com.google.errorprone.fixes.SuggestedFix.getReplacements(SuggestedFix.java:91)
at com.google.errorprone.fixes.AppliedFix$Applier.apply(AppliedFix.java:66)
at com.google.errorprone.JavacErrorDescriptionListener.lambda$new$0(JavacErrorDescriptionListener.java:61)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at com.google.errorprone.JavacErrorDescriptionListener.onDescribed(JavacErrorDescriptionListener.java:75)
at com.google.errorprone.scanner.Scanner.reportMatch(Scanner.java:160)
at com.google.errorprone.scanner.ErrorProneScanner.visitBinary(ErrorProneScanner.java:554)
at com.google.errorprone.scanner.ErrorProneScanner.visitBinary(ErrorProneScanner.java:144)
at com.sun.tools.javac.tree.JCTree$JCBinary.accept(JCTree.java:1958)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
at com.google.errorprone.scanner.Scanner.scan(Scanner.java:89)
at com.google.errorprone.scanner.Scanner.scan(Scanner.java:43)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.