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.

  • New maps don't load properly
    via GitHub by micheljung
    ,
  • startup error
    via GitHub by 0uti
    ,
  • Jenkins link for 1.621 not working from Manage Jenkins
    via by Rinaldo DiGiorgio,
  • The Jenkins Version is 1.414 (2011/06/04). Why I cannot input this version into "Affects Version/s" textbox? It reports it is an invalid version... Steps: 1. After Jenkins fresh install, I use Update Center to install MSBuilder plugin and update SubVersion plugin. 2. Because my server is sitting in an internal lan, so I configured HTTP proxy with ip and port in "Advanced" Tab. 3. When I click "install" after I tick the plugin, error reports as follows, but when I open http://updates.jenkins-ci.org/download/plugins/subversion/1.26/subversion.hpi in IE or firefox, there is a dialog showed to ask me to choose where to save the file. Why plugins cannot be installed via Update Center webpage? java.io.FileNotFoundException: http://updates.jenkins-ci.org/download/plugins/subversion/1.26/subversion.hpi at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:566) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:849) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:957) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:832) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.FileNotFoundException: http://updates.jenkins-ci.org/download/plugins/subversion/1.26/subversion.hpi at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source) at java.net.URLConnection.getHeaderFieldInt(Unknown Source) at java.net.URLConnection.getContentLength(Unknown Source) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:565) ... 9 more
    via by r x,
  • When I try to install a new plugin or update an existing plugin from update center, the operation fails with the following stack trace in the log. Nov 4, 2011 9:01:50 PM hudson.model.UpdateCenter$DownloadJob run INFO: Starting the installation of Subversion Plugin on behalf of sebastian Nov 4, 2011 9:01:50 PM hudson.model.UpdateCenter$DownloadJob run SEVERE: Failed to install Subversion Plugin java.io.FileNotFoundException: http://jenkins.mirror.isppower.de/plugins/subversion/1.34/subversion.hpi at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1491) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1485) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:624) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:967) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1075) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:949) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.FileNotFoundException: http://jenkins.mirror.isppower.de/plugins/subversion/1.34/subversion.hpi at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2308) at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:579) at java.net.URLConnection.getContentLength(URLConnection.java:474) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:623) ... 9 more I am running Jenkins 1.437 inside a Tomcat 6 container. I am getting the same error both with the OpenJDK and Oracle's VM (all 64 bit). The above stack trace is from Oracle's VM. I tried remote-debugging this issue on my server, but couldn't really locate the problem as I do not have the sources for Oracle's Java implementation. However, the exception seems to be thrown by the con.getInputStream() method called in line 624 of UpdateCenter.java: CountingInputStream in = new CountingInputStream(con.getInputStream());
    via by Sebastian Boschert,
    • java.util.concurrent.CompletionException: java.io.FileNotFoundException: http://content.faforever.com/faf/vault/maps/voodoo%20eye%20v5b.zip at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:292) at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:308) at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:647) at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632) at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1977) at com.faforever.client.task.CompletableTask.lambda$new$1(CompletableTask.java:17) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at javafx.event.Event.fireEvent(Event.java:198) at javafx.concurrent.EventHelper.fireEvent(EventHelper.java:219) at javafx.concurrent.Task.fireEvent(Task.java:1356) at javafx.concurrent.Task.setState(Task.java:707) at javafx.concurrent.Task$TaskCallable.lambda$call$501(Task.java:1453) at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.FileNotFoundException: http://content.faforever.com/faf/vault/maps/voodoo%20eye%20v5b.zip at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1890) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1885) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1884) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1457) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) at com.faforever.client.map.DownloadMapTask.call(DownloadMapTask.java:48) at com.faforever.client.map.DownloadMapTask.call(DownloadMapTask.java:19) at javafx.concurrent.Task$TaskCallable.call(Task.java:1423) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ... 1 more Caused by: java.io.FileNotFoundException: http://content.faforever.com/faf/vault/maps/voodoo%20eye%20v5b.zip at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2943) at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629) at java.net.URLConnection.getContentLengthLong(URLConnection.java:501) at java.net.URLConnection.getContentLength(URLConnection.java:485) at com.faforever.client.map.DownloadMapTask.call(DownloadMapTask.java:44) ... 6 more

    Users with the same issue

    musketyrmusketyr
    4 times, last one,
    jpveejpvee
    1 times, last one,
    HronomHronom
    366 times, last one,
    tyson925tyson925
    120 times, last one,
    serious2monkeysserious2monkeys
    8 times, last one,
    11 more bugmates