java.io.FileNotFoundException: /var/lib/jenkins/workspace/generate-templates/build/cftemplates/${TEMPLATE_BODY} (No such file or directory)

Jenkins JIRA | Vladislav Tkatchev | 2 years ago
  1. 0
  2. 0
  3. 0

    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.

    Jenkins JIRA | 8 months ago | Laurent TOURREAU
    hudson.util.HudsonFailedToLoad: java.io.FileNotFoundException: /var/jenkins_home/secrets/initialAdminPassword (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-33800] java.io.FileNotFoundException: /var/jenkins_home/secrets/initialAdminPassword when upgrading from 1.642.2 LTS to 2.0-beta-1 - Jenkins JIRA

    jenkins-ci.org | 8 months ago
    hudson.util.HudsonFailedToLoad: java.io.FileNotFoundException: / /jenkins_home/secrets/initialAdminPassword (No such file or directory)
  6. 0

    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.

    Jenkins JIRA | 8 months ago | Laurent TOURREAU
    hudson.util.HudsonFailedToLoad: java.io.FileNotFoundException: /var/jenkins_home/secrets/initialAdminPassword (No such file or directory)

  1. gehel 2 times, last 1 week ago
  2. Kialandei 100 times, last 1 week ago
  3. Reich 1 times, last 2 weeks ago
  4. bluebunnty 1 times, last 2 weeks ago
  5. Aria Pahlavan 1 times, last 2 weeks ago
43 more registered users
52 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

    /var/lib/jenkins/workspace/generate-templates/build/cftemplates/${TEMPLATE_BODY} (No such file or directory)

    at java.io.FileInputStream.open()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:146)
    2 frames
  3. Hudson
    FilePath.readToString
    1. hudson.FilePath.read(FilePath.java:1752)
    2. hudson.FilePath.readToString(FilePath.java:1853)
    2 frames
  4. com.syncapse.jenkinsci
    CloudFormationBuildStep.perform
    1. com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildStep.newCloudFormation(CloudFormationBuildStep.java:103)
    2. com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildStep.perform(CloudFormationBuildStep.java:77)
    2 frames
  5. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
    3. hudson.model.Build$BuildExecution.build(Build.java:205)
    4. hudson.model.Build$BuildExecution.doRun(Build.java:162)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
    6. hudson.model.Run.execute(Run.java:1744)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    8. hudson.model.ResourceController.execute(ResourceController.java:98)
    9. hudson.model.Executor.run(Executor.java:374)
    9 frames