Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots of java.util.concurrent.CancellationException if I select Project -> Clean #83

Closed
vogella opened this issue Nov 2, 2018 · 3 comments

Comments

@vogella
Copy link
Contributor

vogella commented Nov 2, 2018

I triggere can clean build for my Workspace and receive lots of exceptions, see below.

!ENTRY org.eclipse.jface.text 4 0 2018-11-02 15:05:00.607
!MESSAGE java.util.concurrent.CancellationException
!STACK 0
java.util.concurrent.CompletionException: java.util.concurrent.CancellationException
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1592)
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: java.util.concurrent.CancellationException
at org.eclipse.jface.internal.text.codemining.CancellationExceptionMonitor.isCanceled(CancellationExceptionMonitor.java:33)
at org.eclipse.jdt.experimental.ui.javaeditor.codemining.JavaASTCodeMiningProvider.lambda$0(JavaASTCodeMiningProvider.java:65)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
... 5 more

!ENTRY org.eclipse.jface.text 4 0 2018-11-02 15:05:00.623
!MESSAGE java.util.concurrent.CancellationException
!STACK 0
java.util.concurrent.CompletionException: java.util.concurrent.CancellationException
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1592)
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: java.util.concurrent.CancellationException
at org.eclipse.jface.internal.text.codemining.CancellationExceptionMonitor.isCanceled(CancellationExceptionMonitor.java:33)
at org.eclipse.debug.ui.codemining.provisional.AbstractDebugVariableCodeMiningProvider.lambda$0(AbstractDebugVariableCodeMiningProvider.java:56)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
... 5 more

@angelozerr
Copy link
Owner

I think this log comes from https://bugs.eclipse.org/bugs/show_bug.cgi?id=539317

I think we should keep logs but filter CancellationExceptionMonitor, please create a bug and add the author of https://bugs.eclipse.org/bugs/show_bug.cgi?id=539317 in order we have a discussion

@angelozerr
Copy link
Owner

@vogella it's a Platform bug, I hav ecreated the issue at https://bugs.eclipse.org/bugs/show_bug.cgi?id=540779

@vogella
Copy link
Contributor Author

vogella commented Nov 6, 2018

Thanks Angelo, closing as this is worked on in Platform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants