java.util.concurrent.CompletionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Size is negative - Kafka topic
    via by Ankur Goel,
  • GitHub comment 15#76465080
    via GitHub by MartinRM4
    ,
    • java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: size is negative at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:292) at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:308) at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:593) at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1977) at io.airlift.concurrent.MoreFutures$UnmodifiableCompletableFuture.internalCompleteExceptionally(MoreFutures.java:376) at io.airlift.concurrent.MoreFutures$TimeoutFutureTask.run(MoreFutures.java:444) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: size is negative at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122) at io.airlift.units.DataSize.<init>(DataSize.java:53) at com.facebook.presto.operator.OperatorContext.getOperatorStats(OperatorContext.java:401) at com.google.common.collect.Iterators$8.transform(Iterators.java:799) at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301) at com.google.common.collect.ImmutableList$Builder.addAll(ImmutableList.java:691) at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:275) at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:226) at com.facebook.presto.operator.DriverContext.getDriverStats(DriverContext.java:323) at com.facebook.presto.operator.PipelineContext.getPipelineStats(PipelineContext.java:352) at com.google.common.collect.Iterators$8.transform(Iterators.java:799) at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:271) at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:226) at com.facebook.presto.operator.TaskContext.getTaskStats(TaskContext.java:273) at com.facebook.presto.execution.SqlTask.createTaskInfo(SqlTask.java:205) at com.facebook.presto.execution.SqlTask.getTaskInfo(SqlTask.java:178) at com.facebook.presto.execution.SqlTaskManager.getTaskInfo(SqlTaskManager.java:240) at com.facebook.presto.server.TaskResource.lambda$getTaskInfo$0(TaskResource.java:158) at io.airlift.concurrent.MoreFutures$TimeoutFutureTask.run(MoreFutures.java:440) ... 7 more

    Users with the same issue

    arturgajowyarturgajowy
    1 times, last one,
    batwalrus76batwalrus76
    3 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    brunosatrianibrunosatriani
    1 times, last one,
    ben.slama.jihedben.slama.jihed
    2 times, last one,
    31 more bugmates