java.util.concurrent.CancellationException: Task was cancelled.

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 DataStax JIRA by Andy Tolbert, 1 year ago
Task was cancelled.
via DataStax JIRA by Andy Tolbert, 1 year ago
Task was cancelled.
via Google Groups by Prasad via StackOverflow, 4 months ago
java.util.concurrent.CancellationException: Task was cancelled.
at com.google.common.util.concurrent.AbstractFuture.cancellationExceptionWithCause(AbstractFuture.java:399)
at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:313)
at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:293)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)
at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:135)
at com.google.common.util.concurrent.Futures$4.run(Futures.java:1138)
at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:293)
at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:150)
at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:135)
at com.google.common.util.concurrent.AbstractFuture.cancel(AbstractFuture.java:134)
at com.google.common.util.concurrent.Futures$CombinedFuture.setOneValue(Futures.java:1545)
at com.google.common.util.concurrent.Futures$CombinedFuture.access$400(Futures.java:1441)
at com.google.common.util.concurrent.Futures$CombinedFuture$2.run(Futures.java:1514)
at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:293)
at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:150)
at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:135)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:380)
at com.datastax.driver.core.Cluster$Manager.shutdownNow(Cluster.java:1341)
at com.datastax.driver.core.Cluster$Manager.close(Cluster.java:1308)
at com.datastax.driver.core.Cluster$Manager.access$200(Cluster.java:1104)
at com.datastax.driver.core.Cluster.closeAsync(Cluster.java:449)
at com.datastax.loader.CqlDelimLoad.cleanup(CqlDelimLoad.java:236)
at com.datastax.loader.CqlDelimLoad.run(CqlDelimLoad.java:316)
at com.datastax.loader.CqlDelimLoad.main(CqlDelimLoad.java:323)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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