java.lang.RuntimeException

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.

  • 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.lang.RuntimeException: A download error occured at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:548) at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:165) at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:172) at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:147) at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:45) at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1367) Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1676) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1674) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1672) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1245) at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:532) ... 5 more Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2691) at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:639) at java.net.URLConnection.getContentLengthLong(URLConnection.java:511) at java.net.URLConnection.getContentLength(URLConnection.java:495) at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:531) ... 5 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    1 more bugmates