java.io.FileNotFoundException

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.

  • When upgrading from 1.662.2 LTS i got this issue when connecting to main page: {code} INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@8ba8667: display name [Root WebApplicationContext]; startup date [Thu Mar 24 22:45:02 UTC 2016]; root of context hierarchy Mar 24, 2016 10:45:02 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@8ba8667]: org.springframework.beans.factory.support.DefaultListableBeanFactory@11787592 Mar 24, 2016 10:45:02 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@11787592: defining beans [filter,legacy]; root of factory hierarchy Mar 24, 2016 10:45:02 PM jenkins.util.groovy.GroovyHookScript execute INFO: Executing /var/jenkins_home/init.groovy.d/tcp-slave-agent-port.groovy Mar 24, 2016 10:45:02 PM hudson.model.AsyncPeriodicWork$1 run INFO: Started Download metadata Mar 24, 2016 10:45:02 PM hudson.model.AsyncPeriodicWork createListener INFO: Moved /var/jenkins_home/Download metadata.log to /var/jenkins_home/logs/tasks/Download metadata.log.1 Mar 24, 2016 10:45:02 PM hudson.model.AsyncPeriodicWork$1 run INFO: Finished Download metadata. 6 ms Mar 24, 2016 10:45:02 PM org.jenkinsci.main.modules.sshd.SSHD start INFO: Started SSHD at port 50000 Mar 24, 2016 10:45:11 PM hudson.model.UpdateSite updateData INFO: Obtained the latest update center data file for UpdateSource default Mar 24, 2016 10:45:11 PM jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization Mar 24, 2016 10:45:11 PM hudson.util.BootFailure publish SEVERE: Failed to initialize Jenkins hudson.util.HudsonFailedToLoad: java.io.FileNotFoundException: /var/jenkins_home/secrets/initialAdminPassword (No such file or directory) at hudson.WebAppMain$3.run(WebAppMain.java:237) Caused by: java.io.FileNotFoundException: /var/jenkins_home/secrets/initialAdminPassword (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 hudson.FilePath.read(FilePath.java:1751) at hudson.FilePath.readToString(FilePath.java:1852) at jenkins.install.SetupWizard.<init>(SetupWizard.java:110) at jenkins.model.Jenkins.<init>(Jenkins.java:880) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:225) Mar 24, 2016 10:45:11 PM jenkins.model.Jenkins cleanUp INFO: Stopping Jenkins Mar 24, 2016 10:45:11 PM jenkins.model.Jenkins _cleanUpDisconnectComputers INFO: Starting node disconnection {code} On 1.642.2 security through LDAP was enabled.
    via by Laurent TOURREAU,
  • When upgrading from 1.662.2 LTS i got this issue when connecting to main page: {code} INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@8ba8667: display name [Root WebApplicationContext]; startup date [Thu Mar 24 22:45:02 UTC 2016]; root of context hierarchy Mar 24, 2016 10:45:02 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@8ba8667]: org.springframework.beans.factory.support.DefaultListableBeanFactory@11787592 Mar 24, 2016 10:45:02 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@11787592: defining beans [filter,legacy]; root of factory hierarchy Mar 24, 2016 10:45:02 PM jenkins.util.groovy.GroovyHookScript execute INFO: Executing /var/jenkins_home/init.groovy.d/tcp-slave-agent-port.groovy Mar 24, 2016 10:45:02 PM hudson.model.AsyncPeriodicWork$1 run INFO: Started Download metadata Mar 24, 2016 10:45:02 PM hudson.model.AsyncPeriodicWork createListener INFO: Moved /var/jenkins_home/Download metadata.log to /var/jenkins_home/logs/tasks/Download metadata.log.1 Mar 24, 2016 10:45:02 PM hudson.model.AsyncPeriodicWork$1 run INFO: Finished Download metadata. 6 ms Mar 24, 2016 10:45:02 PM org.jenkinsci.main.modules.sshd.SSHD start INFO: Started SSHD at port 50000 Mar 24, 2016 10:45:11 PM hudson.model.UpdateSite updateData INFO: Obtained the latest update center data file for UpdateSource default Mar 24, 2016 10:45:11 PM jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization Mar 24, 2016 10:45:11 PM hudson.util.BootFailure publish SEVERE: Failed to initialize Jenkins hudson.util.HudsonFailedToLoad: java.io.FileNotFoundException: /var/jenkins_home/secrets/initialAdminPassword (No such file or directory) at hudson.WebAppMain$3.run(WebAppMain.java:237) Caused by: java.io.FileNotFoundException: /var/jenkins_home/secrets/initialAdminPassword (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 hudson.FilePath.read(FilePath.java:1751) at hudson.FilePath.readToString(FilePath.java:1852) at jenkins.install.SetupWizard.<init>(SetupWizard.java:110) at jenkins.model.Jenkins.<init>(Jenkins.java:880) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:225) Mar 24, 2016 10:45:11 PM jenkins.model.Jenkins cleanUp INFO: Stopping Jenkins Mar 24, 2016 10:45:11 PM jenkins.model.Jenkins _cleanUpDisconnectComputers INFO: Starting node disconnection {code} On 1.642.2 security through LDAP was enabled.
    via by Laurent TOURREAU,
  • GitHub comment 29#274103819
    via GitHub by emimarz
    ,
  • No 1.5.0 repository at cloudbees...
    via by Andreas Furrer,
  • It seems that when using the AccuRev plugin and the build jobs are configured within folders, this plugin creates an ".accurev" directory within the job configuration directory on the master this results in the following or similar message in the jenkins.err.log {noformat} java.io.FileNotFoundException: E:\Jenkins\jobs\Deploy\jobs\SND\jobs\.accurev\config.xml (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at com.wily.introscope.agent.probe.io.ManagedFileInputStream.<init>(ManagedFileInputStream.java:120) at hudson.XmlFile.read(XmlFile.java:141) at hudson.model.Items.load(Items.java:220) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99) at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:240) at com.cloudbees.hudson.plugins.modeling.impl.entity.EntityInstance.itemOnLoad(EntityInstance.java:268) at com.cloudbees.hudson.plugins.modeling.impl.entity.EntityInstance.load(EntityInstance.java:246) at com.cloudbees.hudson.plugins.modeling.impl.folder.InstanceFromFolderTemplate.load(InstanceFromFolderTemplate.java:54) at com.cloudbees.hudson.plugins.modeling.impl.folder.InstanceFromFolderTemplate.load(InstanceFromFolderTemplate.java:24) at com.cloudbees.hudson.plugins.modeling.impl.entity.EntityInstance.save(EntityInstance.java:221) at com.cloudbees.hudson.plugins.modeling.impl.folder.InstanceFromFolderTemplate.save(InstanceFromFolderTemplate.java:63) at com.cloudbees.hudson.plugins.modeling.impl.entity.EntityModel.reconfigureInstances(EntityModel.java:223) at com.cloudbees.hudson.plugins.modeling.impl.entity.EntityModel$1.run(EntityModel.java:191) {noformat}
    via by Walter Kacynski,
    • java.io.FileNotFoundException: /var/lib/jenkins/workspace/generate-templates/build/cftemplates/${TEMPLATE_BODY} (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at hudson.FilePath.read(FilePath.java:1752) at hudson.FilePath.readToString(FilePath.java:1853) at com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildStep.newCloudFormation(CloudFormationBuildStep.java:103) at com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildStep.perform(CloudFormationBuildStep.java:77) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1744) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374)

    Users with the same issue

    VikramVikram
    2 times, last one,
    HandemelindoHandemelindo
    3 times, last one,
    linxiaolonglinxiaolong
    1 times, last one,
    gehelgehel
    2 times, last one,
    bluebunntybluebunnty
    1 times, last one,
    180 more bugmates