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.

  • I started a brand new Bamboo Home (2.5). After running the setup wizard in Bamboo and running a few builds, I added a new plan status gadget to jira (4.0) and got the error below (see screen shot also). The error could also be seen when hitting the straight rest urls: http://localhost:8085/bamboo/rest/api/latest/build/SVN/DEF?expand=builds[0%3A9].build&max-results=10 I then stopped and started Bamboo and the resources were found happily and everything worked. Notifications are not affected (runs through similar code) just the REST calls. --------------- 2010-01-12 13:51:45,070 INFO [10084294@qtp-11642082-31] [AccessLogFilter] admin http://172.20.7.225:8085/bamboo/rest/api/latest/build/SVN/DEF2.json?expand=builds%5B0%3A9%5D.build&max-results=10&nocache=1263264704955 174430kb 2010-01-12 13:51:45,132 ERROR [9682830@qtp-11642082-30] [BambooFreemarkerManager] Error resolving template java.io.FileNotFoundException: Template freemarker-lib/ui.ftl not found. at freemarker.template.Configuration.getTemplate(Configuration.java:489) at freemarker.core.Environment.getTemplateForInclusion(Environment.java:1464) at freemarker.core.Environment.getTemplateForImporting(Environment.java:1518) at freemarker.core.Environment.importLib(Environment.java:1503) at freemarker.template.Configuration.doAutoImportsAndIncludes(Configuration.java:843) at freemarker.core.Configurable.doAutoImportsAndIncludes(Configurable.java:835) at freemarker.core.Configurable.doAutoImportsAndIncludes(Configurable.java:835) at freemarker.core.Environment.process(Environment.java:188) at freemarker.template.Template.process(Template.java:237) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPageWithNoContext(BambooFreemarkerManager.java:419) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:260) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:236) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.render(BambooFreemarkerManager.java:305) at com.atlassian.bamboo.v2.build.trigger.DefaultTriggerReasonRenderer.getShortDescriptionHtml(DefaultTriggerReasonRenderer.java:40) at com.atlassian.bamboo.resultsummary.AbstractBuildResultsSummary.getReasonSummary(AbstractBuildResultsSummary.java:135) at com.atlassian.bamboo.plugins.rest.model.build.AbstractRestBuild.expand(AbstractRestBuild.java:145) at com.atlassian.bamboo.plugins.rest.model.build.RestBuild.expand(RestBuild.java:68) at com.atlassian.bamboo.plugins.rest.model.build.RestBuildExpander.expandInternal(RestBuildExpander.java:14) at com.atlassian.bamboo.plugins.rest.model.build.RestBuildExpander.expandInternal(RestBuildExpander.java:8) at com.atlassian.plugins.rest.common.expand.AbstractRecursiveEntityExpander.expand(AbstractRecursiveEntityExpander.java:9) at com.atlassian.plugins.rest.common.expand.resolver.CollectionEntityExpanderResolver$ListExpander.expand(CollectionEntityExpanderResolver.java:65) at com.atlassian.plugins.rest.common.expand.resolver.CollectionEntityExpanderResolver$ListExpander.expand(CollectionEntityExpanderResolver.java:56) at com.atlassian.plugins.rest.common.expand.EntityCrawler.expandFields(EntityCrawler.java:94) at com.atlassian.plugins.rest.common.expand.EntityCrawler.crawl(EntityCrawler.java:35) at com.atlassian.plugins.rest.common.expand.resolver.ListWrapperEntityExpanderResolver$ListWrapperEntityExpander.expand(ListWrapperEntityExpanderResolver.java:58) at com.atlassian.plugins.rest.common.expand.resolver.ListWrapperEntityExpanderResolver$ListWrapperEntityExpander.expand(ListWrapperEntityExpanderResolver.java:32) at com.atlassian.plugins.rest.common.expand.EntityCrawler.expandFields(EntityCrawler.java:94) at com.atlassian.plugins.rest.common.expand.EntityCrawler.crawl(EntityCrawler.java:35) at com.atlassian.plugins.rest.common.expand.jersey.ExpandResponseFilter.filter(ExpandResponseFilter.java:39) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:675) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:612) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:603) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:309) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:425) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:198) at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:689) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:112)
    via by Brydie McCoy [Atlassian],
  • I started a brand new Bamboo Home (2.5). After running the setup wizard in Bamboo and running a few builds, I added a new plan status gadget to jira (4.0) and got the error below (see screen shot also). The error could also be seen when hitting the straight rest urls: http://localhost:8085/bamboo/rest/api/latest/build/SVN/DEF?expand=builds[0%3A9].build&max-results=10 I then stopped and started Bamboo and the resources were found happily and everything worked. Notifications are not affected (runs through similar code) just the REST calls. --------------- 2010-01-12 13:51:45,070 INFO [10084294@qtp-11642082-31] [AccessLogFilter] admin http://172.20.7.225:8085/bamboo/rest/api/latest/build/SVN/DEF2.json?expand=builds%5B0%3A9%5D.build&max-results=10&nocache=1263264704955 174430kb 2010-01-12 13:51:45,132 ERROR [9682830@qtp-11642082-30] [BambooFreemarkerManager] Error resolving template java.io.FileNotFoundException: Template freemarker-lib/ui.ftl not found. at freemarker.template.Configuration.getTemplate(Configuration.java:489) at freemarker.core.Environment.getTemplateForInclusion(Environment.java:1464) at freemarker.core.Environment.getTemplateForImporting(Environment.java:1518) at freemarker.core.Environment.importLib(Environment.java:1503) at freemarker.template.Configuration.doAutoImportsAndIncludes(Configuration.java:843) at freemarker.core.Configurable.doAutoImportsAndIncludes(Configurable.java:835) at freemarker.core.Configurable.doAutoImportsAndIncludes(Configurable.java:835) at freemarker.core.Environment.process(Environment.java:188) at freemarker.template.Template.process(Template.java:237) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPageWithNoContext(BambooFreemarkerManager.java:419) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:260) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:236) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.render(BambooFreemarkerManager.java:305) at com.atlassian.bamboo.v2.build.trigger.DefaultTriggerReasonRenderer.getShortDescriptionHtml(DefaultTriggerReasonRenderer.java:40) at com.atlassian.bamboo.resultsummary.AbstractBuildResultsSummary.getReasonSummary(AbstractBuildResultsSummary.java:135) at com.atlassian.bamboo.plugins.rest.model.build.AbstractRestBuild.expand(AbstractRestBuild.java:145) at com.atlassian.bamboo.plugins.rest.model.build.RestBuild.expand(RestBuild.java:68) at com.atlassian.bamboo.plugins.rest.model.build.RestBuildExpander.expandInternal(RestBuildExpander.java:14) at com.atlassian.bamboo.plugins.rest.model.build.RestBuildExpander.expandInternal(RestBuildExpander.java:8) at com.atlassian.plugins.rest.common.expand.AbstractRecursiveEntityExpander.expand(AbstractRecursiveEntityExpander.java:9) at com.atlassian.plugins.rest.common.expand.resolver.CollectionEntityExpanderResolver$ListExpander.expand(CollectionEntityExpanderResolver.java:65) at com.atlassian.plugins.rest.common.expand.resolver.CollectionEntityExpanderResolver$ListExpander.expand(CollectionEntityExpanderResolver.java:56) at com.atlassian.plugins.rest.common.expand.EntityCrawler.expandFields(EntityCrawler.java:94) at com.atlassian.plugins.rest.common.expand.EntityCrawler.crawl(EntityCrawler.java:35) at com.atlassian.plugins.rest.common.expand.resolver.ListWrapperEntityExpanderResolver$ListWrapperEntityExpander.expand(ListWrapperEntityExpanderResolver.java:58) at com.atlassian.plugins.rest.common.expand.resolver.ListWrapperEntityExpanderResolver$ListWrapperEntityExpander.expand(ListWrapperEntityExpanderResolver.java:32) at com.atlassian.plugins.rest.common.expand.EntityCrawler.expandFields(EntityCrawler.java:94) at com.atlassian.plugins.rest.common.expand.EntityCrawler.crawl(EntityCrawler.java:35) at com.atlassian.plugins.rest.common.expand.jersey.ExpandResponseFilter.filter(ExpandResponseFilter.java:39) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:675) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:612) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:603) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:309) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:425) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:198) at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:689) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:112)
    via by Brydie McCoy [Atlassian],
  • similar to BAM-5197, the trigger is a build hang event notification. 2010-01-15 17:53:44,985 ERROR [BAM::Events:pool-1-thread-6] [BambooFreemarkerManager] Error resolving template java.io.FileNotFoundException: Template freemarker-lib/ui.ftl not found. at freemarker.template.Configuration.getTemplate(Configuration.java:489) at freemarker.core.Environment.getTemplateForInclusion(Environment.java:1464) at freemarker.core.Environment.getTemplateForImporting(Environment.java:1518) at freemarker.core.Environment.importLib(Environment.java:1503) at freemarker.template.Configuration.doAutoImportsAndIncludes(Configuration.java:843) at freemarker.core.Configurable.doAutoImportsAndIncludes(Configurable.java:835) at freemarker.core.Configurable.doAutoImportsAndIncludes(Configurable.java:835) at freemarker.core.Environment.process(Environment.java:188) at freemarker.template.Template.process(Template.java:237) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPageWithNoContext(BambooFreemarkerManager.java:419) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:260) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:236) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.render(BambooFreemarkerManager.java:305) at com.qualcomm.ems.alm.bamboo.plugin.buildkiller.service.KillBuildNotification.renderContent(KillBuildNotification.java:94) at com.qualcomm.ems.alm.bamboo.plugin.buildkiller.service.KillBuildNotification.getTextEmailContent(KillBuildNotification.java:74) at com.atlassian.bamboo.notification.transports.MultipartEmailTransport.sendNotification(MultipartEmailTransport.java:59) at com.atlassian.bamboo.notification.NotificationDispatcher.dispatchNotifications(NotificationDispatcher.java:59) at com.qualcomm.ems.alm.bamboo.plugin.buildkiller.service.HungKillerServiceImpl.sendGlobalNotification(HungKillerServiceImpl.java:98) at com.qualcomm.ems.alm.bamboo.plugin.buildkiller.service.HungKillerServiceImpl.killHungBuild(HungKillerServiceImpl.java:72) at com.qualcomm.ems.alm.bamboo.plugin.buildkiller.HungEventListener.handleEvent(HungEventListener.java:39) at com.atlassian.bamboo.event.BambooEventManager$2.run(BambooEventManager.java:47) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:33) at java.lang.Thread.run(Thread.java:619)
    via by Ulrich Kuhnhardt [Atlassian],
  • similar to BAM-5197, the trigger is a build hang event notification. 2010-01-15 17:53:44,985 ERROR [BAM::Events:pool-1-thread-6] [BambooFreemarkerManager] Error resolving template java.io.FileNotFoundException: Template freemarker-lib/ui.ftl not found. at freemarker.template.Configuration.getTemplate(Configuration.java:489) at freemarker.core.Environment.getTemplateForInclusion(Environment.java:1464) at freemarker.core.Environment.getTemplateForImporting(Environment.java:1518) at freemarker.core.Environment.importLib(Environment.java:1503) at freemarker.template.Configuration.doAutoImportsAndIncludes(Configuration.java:843) at freemarker.core.Configurable.doAutoImportsAndIncludes(Configurable.java:835) at freemarker.core.Configurable.doAutoImportsAndIncludes(Configurable.java:835) at freemarker.core.Environment.process(Environment.java:188) at freemarker.template.Template.process(Template.java:237) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPageWithNoContext(BambooFreemarkerManager.java:419) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:260) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:236) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.render(BambooFreemarkerManager.java:305) at com.qualcomm.ems.alm.bamboo.plugin.buildkiller.service.KillBuildNotification.renderContent(KillBuildNotification.java:94) at com.qualcomm.ems.alm.bamboo.plugin.buildkiller.service.KillBuildNotification.getTextEmailContent(KillBuildNotification.java:74) at com.atlassian.bamboo.notification.transports.MultipartEmailTransport.sendNotification(MultipartEmailTransport.java:59) at com.atlassian.bamboo.notification.NotificationDispatcher.dispatchNotifications(NotificationDispatcher.java:59) at com.qualcomm.ems.alm.bamboo.plugin.buildkiller.service.HungKillerServiceImpl.sendGlobalNotification(HungKillerServiceImpl.java:98) at com.qualcomm.ems.alm.bamboo.plugin.buildkiller.service.HungKillerServiceImpl.killHungBuild(HungKillerServiceImpl.java:72) at com.qualcomm.ems.alm.bamboo.plugin.buildkiller.HungEventListener.handleEvent(HungEventListener.java:39) at com.atlassian.bamboo.event.BambooEventManager$2.run(BambooEventManager.java:47) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:33) at java.lang.Thread.run(Thread.java:619)
    via by Ulrich Kuhnhardt [Atlassian],
  • Tabbedpanel using Struts2-JQuery
    via Stack Overflow by user1696639
    ,
  • Spring FreeMarker Email
    via Stack Overflow by sonoerin
    ,
    • java.io.FileNotFoundException: Template freemarker-lib/ui.ftl not found. at freemarker.template.Configuration.getTemplate(Configuration.java:489) at freemarker.core.Environment.getTemplateForInclusion(Environment.java:1464) at freemarker.core.Environment.getTemplateForImporting(Environment.java:1518) at freemarker.core.Environment.importLib(Environment.java:1503) at freemarker.template.Configuration.doAutoImportsAndIncludes(Configuration.java:843) at freemarker.core.Configurable.doAutoImportsAndIncludes(Configurable.java:835) at freemarker.core.Configurable.doAutoImportsAndIncludes(Configurable.java:835) at freemarker.core.Environment.process(Environment.java:188) at freemarker.template.Template.process(Template.java:237) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPageWithNoContext(BambooFreemarkerManager.java:419) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:260) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:236) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.render(BambooFreemarkerManager.java:305) at com.atlassian.bamboo.v2.build.trigger.DefaultTriggerReasonRenderer.getShortDescriptionHtml(DefaultTriggerReasonRenderer.java:40) at com.atlassian.bamboo.resultsummary.AbstractBuildResultsSummary.getReasonSummary(AbstractBuildResultsSummary.java:135) at com.atlassian.bamboo.plugins.rest.model.build.AbstractRestBuild.expand(AbstractRestBuild.java:145) at com.atlassian.bamboo.plugins.rest.model.build.RestBuild.expand(RestBuild.java:68) at com.atlassian.bamboo.plugins.rest.model.build.RestBuildExpander.expandInternal(RestBuildExpander.java:14) at com.atlassian.bamboo.plugins.rest.model.build.RestBuildExpander.expandInternal(RestBuildExpander.java:8) at com.atlassian.plugins.rest.common.expand.AbstractRecursiveEntityExpander.expand(AbstractRecursiveEntityExpander.java:9) at com.atlassian.plugins.rest.common.expand.resolver.CollectionEntityExpanderResolver$ListExpander.expand(CollectionEntityExpanderResolver.java:65) at com.atlassian.plugins.rest.common.expand.resolver.CollectionEntityExpanderResolver$ListExpander.expand(CollectionEntityExpanderResolver.java:56) at com.atlassian.plugins.rest.common.expand.EntityCrawler.expandFields(EntityCrawler.java:94) at com.atlassian.plugins.rest.common.expand.EntityCrawler.crawl(EntityCrawler.java:35) at com.atlassian.plugins.rest.common.expand.resolver.ListWrapperEntityExpanderResolver$ListWrapperEntityExpander.expand(ListWrapperEntityExpanderResolver.java:58) at com.atlassian.plugins.rest.common.expand.resolver.ListWrapperEntityExpanderResolver$ListWrapperEntityExpander.expand(ListWrapperEntityExpanderResolver.java:32) at com.atlassian.plugins.rest.common.expand.EntityCrawler.expandFields(EntityCrawler.java:94) at com.atlassian.plugins.rest.common.expand.EntityCrawler.crawl(EntityCrawler.java:35) at com.atlassian.plugins.rest.common.expand.jersey.ExpandResponseFilter.filter(ExpandResponseFilter.java:39) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:675) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:612) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:603) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:309) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:425) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:198) at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:689) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:112)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,