java.io.FileNotFoundException: /Users/nenashev/Documents/my-war/tmp/my-embedded-update-site/updates/hudson.plugins.gradle.GradleInstaller.json.html (No such file or directory)

Jenkins JIRA | Oleg Nenashev | 7 months ago
  1. 0

    * I have multiple update sites, which contain different plugins * One of sites ("my-embedded-update-site" in my case) does not provide neither Gradle plugin nor its tool installers * During the plugin installation Jenkins tries to download the tool installer from this site and fails with error * Tool installer is missing after it Jenkins should not fail the ToolInstaller download if one plugin update site provides such tool installer. Log example: {noformat} INFO: Attempting to dynamic load /Users/nenashev/Documents/my-war/tmp/plugins/gradle.jpi May 17, 2016 1:09:33 PM hudson.model.DownloadService$Downloadable updateNow WARNING: Could not load json from file:/Users/nenashev/Documents/my-war/tmp/my-embedded-update-site/updates/hudson.plugins.gradle.GradleInstaller.json java.io.FileNotFoundException: /Users/nenashev/Documents/my-war/tmp/my-embedded-update-site/updates/hudson.plugins.gradle.GradleInstaller.json.html (No such file or directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:93) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) at hudson.model.DownloadService.loadJSONHTML(DownloadService.java:189) at hudson.model.DownloadService$Downloadable.updateNow(DownloadService.java:403) at hudson.model.DownloadService$DownloadableListener.onChange(DownloadService.java:231) at hudson.ExtensionList.fireOnChangeListeners(ExtensionList.java:328) at hudson.ExtensionList.add(ExtensionList.java:246) at hudson.tools.DownloadFromUrlInstaller$DescriptorImpl.<init>(DownloadFromUrlInstaller.java:127) at hudson.plugins.gradle.GradleInstaller$DescriptorImpl.<init>(GradleInstaller.java:18) at hudson.plugins.gradle.GradleInstaller$DescriptorImpl$$FastClassByGuice$$7d2e75b8.newInstance(<generated>) at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61) at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:65) at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001) at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386) at hudson.ExtensionFinder$GuiceFinder.access$000(ExtensionFinder.java:232) at hudson.ExtensionFinder$GuiceFinder$3.find(ExtensionFinder.java:341) at jenkins.ExtensionComponentSet$3.find(ExtensionComponentSet.java:98) at jenkins.ExtensionComponentSet$1.find(ExtensionComponentSet.java:70) at hudson.ExtensionList.load(ExtensionList.java:356) at hudson.ExtensionList.refresh(ExtensionList.java:312) at jenkins.model.Jenkins.refreshExtensions(Jenkins.java:2416) at hudson.PluginManager.dynamicLoad(PluginManager.java:824) at hudson.PluginManager.dynamicLoad(PluginManager.java:772) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1832) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1593) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) at java.lang.Thread.run(Thread.java:745) {noformat}

    Jenkins JIRA | 7 months ago | Oleg Nenashev
    java.io.FileNotFoundException: /Users/nenashev/Documents/my-war/tmp/my-embedded-update-site/updates/hudson.plugins.gradle.GradleInstaller.json.html (No such file or directory)
  2. 0

    * I have multiple update sites, which contain different plugins * One of sites ("my-embedded-update-site" in my case) does not provide neither Gradle plugin nor its tool installers * During the plugin installation Jenkins tries to download the tool installer from this site and fails with error * Tool installer is missing after it Jenkins should not fail the ToolInstaller download if one plugin update site provides such tool installer. Log example: {noformat} INFO: Attempting to dynamic load /Users/nenashev/Documents/my-war/tmp/plugins/gradle.jpi May 17, 2016 1:09:33 PM hudson.model.DownloadService$Downloadable updateNow WARNING: Could not load json from file:/Users/nenashev/Documents/my-war/tmp/my-embedded-update-site/updates/hudson.plugins.gradle.GradleInstaller.json java.io.FileNotFoundException: /Users/nenashev/Documents/my-war/tmp/my-embedded-update-site/updates/hudson.plugins.gradle.GradleInstaller.json.html (No such file or directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:93) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) at hudson.model.DownloadService.loadJSONHTML(DownloadService.java:189) at hudson.model.DownloadService$Downloadable.updateNow(DownloadService.java:403) at hudson.model.DownloadService$DownloadableListener.onChange(DownloadService.java:231) at hudson.ExtensionList.fireOnChangeListeners(ExtensionList.java:328) at hudson.ExtensionList.add(ExtensionList.java:246) at hudson.tools.DownloadFromUrlInstaller$DescriptorImpl.<init>(DownloadFromUrlInstaller.java:127) at hudson.plugins.gradle.GradleInstaller$DescriptorImpl.<init>(GradleInstaller.java:18) at hudson.plugins.gradle.GradleInstaller$DescriptorImpl$$FastClassByGuice$$7d2e75b8.newInstance(<generated>) at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61) at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:65) at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001) at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386) at hudson.ExtensionFinder$GuiceFinder.access$000(ExtensionFinder.java:232) at hudson.ExtensionFinder$GuiceFinder$3.find(ExtensionFinder.java:341) at jenkins.ExtensionComponentSet$3.find(ExtensionComponentSet.java:98) at jenkins.ExtensionComponentSet$1.find(ExtensionComponentSet.java:70) at hudson.ExtensionList.load(ExtensionList.java:356) at hudson.ExtensionList.refresh(ExtensionList.java:312) at jenkins.model.Jenkins.refreshExtensions(Jenkins.java:2416) at hudson.PluginManager.dynamicLoad(PluginManager.java:824) at hudson.PluginManager.dynamicLoad(PluginManager.java:772) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1832) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1593) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) at java.lang.Thread.run(Thread.java:745) {noformat}

    Jenkins JIRA | 7 months ago | Oleg Nenashev
    java.io.FileNotFoundException: /Users/nenashev/Documents/my-war/tmp/my-embedded-update-site/updates/hudson.plugins.gradle.GradleInstaller.json.html (No such file or directory)
  3. 0

    GitHub comment 344#141772835

    GitHub | 1 year ago | doronl
    java.io.FileNotFoundException: /var/lib/jetty/webapps/demoweb.war (Permission denied)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. treefolk 1 times, last 2 weeks ago
  2. davidvanlaatum 1 times, last 3 weeks ago
  3. Andreas Häber 1 times, last 3 weeks ago
  4. kjhdofjosvs 1 times, last 1 month ago
  5. MoYapro 1 times, last 2 months ago
7 more registered users
15 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    /Users/nenashev/Documents/my-war/tmp/my-embedded-update-site/updates/hudson.plugins.gradle.GradleInstaller.json.html (No such file or directory)

    at java.io.FileInputStream.open0()
  2. Java RT
    FileURLConnection.getInputStream
    1. java.io.FileInputStream.open0(Native Method)
    2. java.io.FileInputStream.open(FileInputStream.java:195)
    3. java.io.FileInputStream.<init>(FileInputStream.java:138)
    4. java.io.FileInputStream.<init>(FileInputStream.java:93)
    5. sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
    6. sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
    6 frames
  3. Hudson
    DownloadFromUrlInstaller$DescriptorImpl.<init>
    1. hudson.model.DownloadService.loadJSONHTML(DownloadService.java:189)
    2. hudson.model.DownloadService$Downloadable.updateNow(DownloadService.java:403)
    3. hudson.model.DownloadService$DownloadableListener.onChange(DownloadService.java:231)
    4. hudson.ExtensionList.fireOnChangeListeners(ExtensionList.java:328)
    5. hudson.ExtensionList.add(ExtensionList.java:246)
    6. hudson.tools.DownloadFromUrlInstaller$DescriptorImpl.<init>(DownloadFromUrlInstaller.java:127)
    6 frames
  4. hudson.plugins.gradle
    GradleInstaller$DescriptorImpl$$FastClassByGuice$$7d2e75b8.newInstance
    1. hudson.plugins.gradle.GradleInstaller$DescriptorImpl.<init>(GradleInstaller.java:18)
    2. hudson.plugins.gradle.GradleInstaller$DescriptorImpl$$FastClassByGuice$$7d2e75b8.newInstance(<generated>)
    2 frames
  5. Google Guice - Core Library
    Scopes$1$1.get
    1. com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
    2. com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)
    3. com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108)
    4. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88)
    5. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)
    6. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    7. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)
    8. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    9. com.google.inject.Scopes$1$1.get(Scopes.java:65)
    9 frames
  6. Hudson
    ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get
    1. hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424)
    1 frame
  7. Google Guice - Core Library
    InjectorImpl$3.get
    1. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    2. com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005)
    3. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051)
    4. com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001)
    4 frames
  8. Hudson
    ExtensionFinder$GuiceFinder$3.find
    1. hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386)
    2. hudson.ExtensionFinder$GuiceFinder.access$000(ExtensionFinder.java:232)
    3. hudson.ExtensionFinder$GuiceFinder$3.find(ExtensionFinder.java:341)
    3 frames
  9. jenkins
    ExtensionComponentSet$1.find
    1. jenkins.ExtensionComponentSet$3.find(ExtensionComponentSet.java:98)
    2. jenkins.ExtensionComponentSet$1.find(ExtensionComponentSet.java:70)
    2 frames
  10. Hudson
    ExtensionList.refresh
    1. hudson.ExtensionList.load(ExtensionList.java:356)
    2. hudson.ExtensionList.refresh(ExtensionList.java:312)
    2 frames
  11. jenkins.model
    Jenkins.refreshExtensions
    1. jenkins.model.Jenkins.refreshExtensions(Jenkins.java:2416)
    1 frame
  12. Hudson
    UpdateCenter$DownloadJob.run
    1. hudson.PluginManager.dynamicLoad(PluginManager.java:824)
    2. hudson.PluginManager.dynamicLoad(PluginManager.java:772)
    3. hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1832)
    4. hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1593)
    4 frames
  13. Java RT
    FutureTask.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2 frames
  14. Hudson :: Remoting Layer
    AtmostOneThreadExecutor$Worker.run
    1. hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
    1 frame
  15. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame