java.nio.file.NoSuchFileException: /data/jirastudio/bamboo/home/artifacts/tmp/com.atlassian.bamboo.agent.messaging.ArtifactServlet5806831005590599727 @40000000569ed63b06a12a9c at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) @40000000569ed63b06a149dc at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) @40000000569ed63b06a149dc at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) @40000000569ed63b06a149dc at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) @40000000569ed63b06a14dc4 at java.nio.file.Files.createDirectory(Files.java:674) @40000000569ed63b06a14dc4 at java.nio.file.TempFileHelper.create(TempFileHelper.java:136)

Atlassian JIRA | Russ Gould [Atlassian] | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    h3. Summary When trying to publish artifacts from an agent to Bamboo Cloud the agent log shows the message: {noformat} INFO | ERROR [0-BAM::host::Agent:pool-3-thread-1] [BambooArtifactHttpTransport] Unexpected HTTP status code: HTTP/1.1 500 Internal Server Error {noformat} h3. Environment * Bamboo (5.10) h3. Steps to Reproduce # Create a plan containing a script that touches a file {noformat} # creates a new file touch executable.jar # list files ls -l {noformat} # Set up a new artifact definition {noformat} Name: myArtifact Location: Copy pattern: executable.jar [x] Shared {noformat} # Run the build h3. Expected Results Artifact is published h3. Actual Results The below exception is thrown in the Bamboo application log: {noformat} @40000000569ed63b06a11ee4 2016-01-20 00:34:57,108 INFO [ajp-nio-127.0.0.105-8009-exec-18] [ArtifactServlet] Receiving Artifact [executable.jar] for AT-AT-JOB1-3 @40000000569ed63b06a126b4 2016-01-20 00:34:57,108 ERROR [ajp-nio-127.0.0.105-8009-exec-18] [ArtifactServlet] Exception when storing the artifact @40000000569ed63b06a126b4 java.nio.file.NoSuchFileException: /data/jirastudio/bamboo/home/artifacts/tmp/com.atlassian.bamboo.agent.messaging.ArtifactServlet5806831005590599727 @40000000569ed63b06a12a9c at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) @40000000569ed63b06a149dc at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) @40000000569ed63b06a149dc at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) @40000000569ed63b06a149dc at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) @40000000569ed63b06a14dc4 at java.nio.file.Files.createDirectory(Files.java:674) @40000000569ed63b06a14dc4 at java.nio.file.TempFileHelper.create(TempFileHelper.java:136) @40000000569ed63b06a15594 at java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:173) @40000000569ed63b06a15594 at java.nio.file.Files.createTempDirectory(Files.java:950) @40000000569ed63b06a15594 at com.atlassian.bamboo.agent.messaging.ArtifactServlet.getDeserialisationPath(ArtifactServlet.java:201) @40000000569ed63b06a1614c at com.atlassian.bamboo.agent.messaging.ArtifactServlet.storeArtifact(ArtifactServlet.java:116) @40000000569ed63b06a16534 at com.atlassian.bamboo.agent.messaging.ArtifactServlet.doPost(ArtifactServlet.java:107) @40000000569ed63b06a16534 at javax.servlet.http.HttpServlet.service(HttpServlet.java:648) @40000000569ed63b06a16534 at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) @40000000569ed63b06a16d04 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) @40000000569ed63b06a16d04 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a170ec at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39) @40000000569ed63b06a170ec at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a178bc at com.atlassian.labs.botkiller.BotKillerFilter.doFilter(BotKillerFilter.java:36) @40000000569ed63b06a178bc at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a17ca4 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a18474 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a18474 at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26) @40000000569ed63b06a1885c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a1885c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a1902c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a1902c at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26) @40000000569ed63b06a19414 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a19414 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a19be4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a19be4 at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26) @40000000569ed63b06a1a3b4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a1a79c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a1a79c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a1ab84 at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26) @40000000569ed63b06a1bf0c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a1bf0c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a1c2f4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a1c6dc at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26) @40000000569ed63b06a1d294 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a1d294 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a1d67c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a214fc at com.atlassian.studio.core.servlet.filter.AlacarteLicenseEnforcer.doFilter(AlacarteLicenseEnforcer.java:86) @40000000569ed63b06a214fc at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a218e4 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a220b4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a220b4 at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter.doFilter(PrettyUrlsSiteMeshFixupFilter.java:36) @40000000569ed63b06a2249c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a22884 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a22c6c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a22c6c at com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter.doFilter(PrettyUrlsDispatcherFilter.java:60) @40000000569ed63b06a23824 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a23824 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a23c0c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a23ff4 at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter.doFilter(PrettyUrlsSiteMeshFilter.java:92) @40000000569ed63b06a243dc at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a243dc at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a24bac at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a24bac at com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter.doFilter(PrettyUrlsMatcherFilter.java:56) @40000000569ed63b06a24f94 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a2537c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a25f34 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70) @40000000569ed63b06a25f34 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58) @40000000569ed63b06a2631c at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a26aec at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a26aec at com.atlassian.bamboo.filter.NewRelicTransactionNamingFilter.doFilter(NewRelicTransactionNamingFilter.java:32) @40000000569ed63b06a26ed4 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a27a8c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a27a8c at com.atlassian.bamboo.ww2.StrutsPrepareFilter.handleRequest(StrutsPrepareFilter.java:58) @40000000569ed63b06a27e74 at com.atlassian.bamboo.ww2.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:40) @40000000569ed63b06a27e74 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a28a2c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a28a2c at com.atlassian.bamboo.filter.BambooProfilingFilter.doFilter(BambooProfilingFilter.java:44) @40000000569ed63b06a28e14 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a28e14 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a295e4 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39) @40000000569ed63b06a295e4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a299cc at com.atlassian.id.common.ForwardingFilter.doFilter(ForwardingFilter.java:43) @40000000569ed63b06a299cc at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a2a19c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a2a584 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a2b90c at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) @40000000569ed63b06a2bcf4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a2bcf4 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a2c4c4 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70) @40000000569ed63b06a2c8ac at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58) @40000000569ed63b06a2c8ac at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a2d07c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a30344 at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:163) @40000000569ed63b06a30344 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a3072c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a316cc at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:77) @40000000569ed63b06a316cc at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) @40000000569ed63b06a31ab4 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a31ab4 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a32284 at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:71) @40000000569ed63b06a32284 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a3266c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a3266c at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:240) @40000000569ed63b06a3360c at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a339f4 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a339f4 at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:148) @40000000569ed63b06a345ac at com.atlassian.seraph.filter.BambooLoginFilter.doFilter(BambooLoginFilter.java:34) @40000000569ed63b06a345ac at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a34994 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a34994 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39) @40000000569ed63b06a35164 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a35164 at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:79) @40000000569ed63b06a3554c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a35d1c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a35d1c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a36104 at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:103) @40000000569ed63b06a37874 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a37c5c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a37c5c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a3842c at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) @40000000569ed63b06a3842c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a38814 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a38fe4 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70) @40000000569ed63b06a38fe4 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58) @40000000569ed63b06a393cc at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a39f84 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a39f84 at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:39) @40000000569ed63b06a3a36c at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a3a36c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a3ab3c at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) @40000000569ed63b06a3ab3c at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a3af24 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a3af24 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39) @40000000569ed63b06a3bec4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a3bec4 at com.atlassian.analytics.client.filter.DefaultAnalyticsFilter.doFilter(DefaultAnalyticsFilter.java:38) @40000000569ed63b06a3c2ac at com.atlassian.analytics.client.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:39) @40000000569ed63b06a3fd44 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a4012c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a4012c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a40514 at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) @40000000569ed63b06a40ce4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a40ce4 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a410cc at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70) @40000000569ed63b06a414b4 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58) @40000000569ed63b06a4189c at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a4206c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a42454 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) @40000000569ed63b06a42454 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) @40000000569ed63b06a42454 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a42c24 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a4300c at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) @40000000569ed63b06a4300c at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) @40000000569ed63b06a4300c at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) @40000000569ed63b06a437dc at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) @40000000569ed63b06a437dc at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a43bc4 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a44394 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) @40000000569ed63b06a4477c at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) @40000000569ed63b06a4477c at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) @40000000569ed63b06a4477c at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) @40000000569ed63b06a44f4c at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) @40000000569ed63b06a44f4c at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) @40000000569ed63b06a45334 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) @40000000569ed63b06a45334 at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:844) @40000000569ed63b06a45b04 at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668) @40000000569ed63b06a45b04 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527) @40000000569ed63b06a45eec at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484) @40000000569ed63b06a47274 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) @40000000569ed63b06a47274 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) @40000000569ed63b06a4765c at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) @40000000569ed63b06a4765c at java.lang.Thread.run(Thread.java:745) {noformat} h3.Workaround Has to be executed on the server by support: {code} mkdir -p /data/jirastudio/bamboo/home/artifacts/tmp chown js-bamboo:js-apps /data/jirastudio/bamboo/home/artifacts/tmp {code}

    Atlassian JIRA | 1 year ago | Russ Gould [Atlassian]
    java.nio.file.NoSuchFileException: /data/jirastudio/bamboo/home/artifacts/tmp/com.atlassian.bamboo.agent.messaging.ArtifactServlet5806831005590599727 @40000000569ed63b06a12a9c at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) @40000000569ed63b06a149dc at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) @40000000569ed63b06a149dc at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) @40000000569ed63b06a149dc at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) @40000000569ed63b06a14dc4 at java.nio.file.Files.createDirectory(Files.java:674) @40000000569ed63b06a14dc4 at java.nio.file.TempFileHelper.create(TempFileHelper.java:136)
  2. 0

    h3. Summary When trying to publish artifacts from an agent to Bamboo Cloud the agent log shows the message: {noformat} INFO | ERROR [0-BAM::host::Agent:pool-3-thread-1] [BambooArtifactHttpTransport] Unexpected HTTP status code: HTTP/1.1 500 Internal Server Error {noformat} h3. Environment * Bamboo (5.10) h3. Steps to Reproduce # Create a plan containing a script that touches a file {noformat} # creates a new file touch executable.jar # list files ls -l {noformat} # Set up a new artifact definition {noformat} Name: myArtifact Location: Copy pattern: executable.jar [x] Shared {noformat} # Run the build h3. Expected Results Artifact is published h3. Actual Results The below exception is thrown in the Bamboo application log: {noformat} @40000000569ed63b06a11ee4 2016-01-20 00:34:57,108 INFO [ajp-nio-127.0.0.105-8009-exec-18] [ArtifactServlet] Receiving Artifact [executable.jar] for AT-AT-JOB1-3 @40000000569ed63b06a126b4 2016-01-20 00:34:57,108 ERROR [ajp-nio-127.0.0.105-8009-exec-18] [ArtifactServlet] Exception when storing the artifact @40000000569ed63b06a126b4 java.nio.file.NoSuchFileException: /data/jirastudio/bamboo/home/artifacts/tmp/com.atlassian.bamboo.agent.messaging.ArtifactServlet5806831005590599727 @40000000569ed63b06a12a9c at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) @40000000569ed63b06a149dc at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) @40000000569ed63b06a149dc at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) @40000000569ed63b06a149dc at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) @40000000569ed63b06a14dc4 at java.nio.file.Files.createDirectory(Files.java:674) @40000000569ed63b06a14dc4 at java.nio.file.TempFileHelper.create(TempFileHelper.java:136) @40000000569ed63b06a15594 at java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:173) @40000000569ed63b06a15594 at java.nio.file.Files.createTempDirectory(Files.java:950) @40000000569ed63b06a15594 at com.atlassian.bamboo.agent.messaging.ArtifactServlet.getDeserialisationPath(ArtifactServlet.java:201) @40000000569ed63b06a1614c at com.atlassian.bamboo.agent.messaging.ArtifactServlet.storeArtifact(ArtifactServlet.java:116) @40000000569ed63b06a16534 at com.atlassian.bamboo.agent.messaging.ArtifactServlet.doPost(ArtifactServlet.java:107) @40000000569ed63b06a16534 at javax.servlet.http.HttpServlet.service(HttpServlet.java:648) @40000000569ed63b06a16534 at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) @40000000569ed63b06a16d04 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) @40000000569ed63b06a16d04 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a170ec at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39) @40000000569ed63b06a170ec at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a178bc at com.atlassian.labs.botkiller.BotKillerFilter.doFilter(BotKillerFilter.java:36) @40000000569ed63b06a178bc at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a17ca4 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a18474 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a18474 at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26) @40000000569ed63b06a1885c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a1885c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a1902c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a1902c at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26) @40000000569ed63b06a19414 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a19414 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a19be4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a19be4 at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26) @40000000569ed63b06a1a3b4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a1a79c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a1a79c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a1ab84 at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26) @40000000569ed63b06a1bf0c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a1bf0c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a1c2f4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a1c6dc at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26) @40000000569ed63b06a1d294 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a1d294 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a1d67c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a214fc at com.atlassian.studio.core.servlet.filter.AlacarteLicenseEnforcer.doFilter(AlacarteLicenseEnforcer.java:86) @40000000569ed63b06a214fc at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a218e4 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a220b4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a220b4 at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter.doFilter(PrettyUrlsSiteMeshFixupFilter.java:36) @40000000569ed63b06a2249c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a22884 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a22c6c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a22c6c at com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter.doFilter(PrettyUrlsDispatcherFilter.java:60) @40000000569ed63b06a23824 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a23824 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a23c0c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a23ff4 at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter.doFilter(PrettyUrlsSiteMeshFilter.java:92) @40000000569ed63b06a243dc at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a243dc at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a24bac at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a24bac at com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter.doFilter(PrettyUrlsMatcherFilter.java:56) @40000000569ed63b06a24f94 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a2537c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a25f34 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70) @40000000569ed63b06a25f34 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58) @40000000569ed63b06a2631c at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a26aec at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a26aec at com.atlassian.bamboo.filter.NewRelicTransactionNamingFilter.doFilter(NewRelicTransactionNamingFilter.java:32) @40000000569ed63b06a26ed4 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a27a8c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a27a8c at com.atlassian.bamboo.ww2.StrutsPrepareFilter.handleRequest(StrutsPrepareFilter.java:58) @40000000569ed63b06a27e74 at com.atlassian.bamboo.ww2.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:40) @40000000569ed63b06a27e74 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a28a2c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a28a2c at com.atlassian.bamboo.filter.BambooProfilingFilter.doFilter(BambooProfilingFilter.java:44) @40000000569ed63b06a28e14 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a28e14 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a295e4 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39) @40000000569ed63b06a295e4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a299cc at com.atlassian.id.common.ForwardingFilter.doFilter(ForwardingFilter.java:43) @40000000569ed63b06a299cc at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a2a19c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a2a584 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a2b90c at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) @40000000569ed63b06a2bcf4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a2bcf4 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a2c4c4 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70) @40000000569ed63b06a2c8ac at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58) @40000000569ed63b06a2c8ac at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a2d07c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a30344 at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:163) @40000000569ed63b06a30344 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a3072c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a316cc at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:77) @40000000569ed63b06a316cc at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) @40000000569ed63b06a31ab4 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a31ab4 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a32284 at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:71) @40000000569ed63b06a32284 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a3266c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a3266c at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:240) @40000000569ed63b06a3360c at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a339f4 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a339f4 at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:148) @40000000569ed63b06a345ac at com.atlassian.seraph.filter.BambooLoginFilter.doFilter(BambooLoginFilter.java:34) @40000000569ed63b06a345ac at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a34994 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a34994 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39) @40000000569ed63b06a35164 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a35164 at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:79) @40000000569ed63b06a3554c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a35d1c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a35d1c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a36104 at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:103) @40000000569ed63b06a37874 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a37c5c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a37c5c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a3842c at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) @40000000569ed63b06a3842c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a38814 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a38fe4 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70) @40000000569ed63b06a38fe4 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58) @40000000569ed63b06a393cc at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a39f84 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a39f84 at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:39) @40000000569ed63b06a3a36c at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a3a36c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a3ab3c at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) @40000000569ed63b06a3ab3c at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a3af24 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a3af24 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39) @40000000569ed63b06a3bec4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a3bec4 at com.atlassian.analytics.client.filter.DefaultAnalyticsFilter.doFilter(DefaultAnalyticsFilter.java:38) @40000000569ed63b06a3c2ac at com.atlassian.analytics.client.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:39) @40000000569ed63b06a3fd44 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a4012c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a4012c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) @40000000569ed63b06a40514 at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) @40000000569ed63b06a40ce4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) @40000000569ed63b06a40ce4 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) @40000000569ed63b06a410cc at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70) @40000000569ed63b06a414b4 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58) @40000000569ed63b06a4189c at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a4206c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a42454 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) @40000000569ed63b06a42454 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) @40000000569ed63b06a42454 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a42c24 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a4300c at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) @40000000569ed63b06a4300c at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) @40000000569ed63b06a4300c at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) @40000000569ed63b06a437dc at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) @40000000569ed63b06a437dc at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) @40000000569ed63b06a43bc4 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @40000000569ed63b06a44394 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) @40000000569ed63b06a4477c at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) @40000000569ed63b06a4477c at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) @40000000569ed63b06a4477c at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) @40000000569ed63b06a44f4c at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) @40000000569ed63b06a44f4c at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) @40000000569ed63b06a45334 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) @40000000569ed63b06a45334 at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:844) @40000000569ed63b06a45b04 at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668) @40000000569ed63b06a45b04 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527) @40000000569ed63b06a45eec at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484) @40000000569ed63b06a47274 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) @40000000569ed63b06a47274 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) @40000000569ed63b06a4765c at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) @40000000569ed63b06a4765c at java.lang.Thread.run(Thread.java:745) {noformat} h3.Workaround Has to be executed on the server by support: {code} mkdir -p /data/jirastudio/bamboo/home/artifacts/tmp chown js-bamboo:js-apps /data/jirastudio/bamboo/home/artifacts/tmp {code}

    Atlassian JIRA | 1 year ago | Russ Gould [Atlassian]
    java.nio.file.NoSuchFileException: /data/jirastudio/bamboo/home/artifacts/tmp/com.atlassian.bamboo.agent.messaging.ArtifactServlet5806831005590599727 @40000000569ed63b06a12a9c at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) @40000000569ed63b06a149dc at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) @40000000569ed63b06a149dc at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) @40000000569ed63b06a149dc at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) @40000000569ed63b06a14dc4 at java.nio.file.Files.createDirectory(Files.java:674) @40000000569ed63b06a14dc4 at java.nio.file.TempFileHelper.create(TempFileHelper.java:136)
  3. 0

    h3. Summary # Issue # How to replicate # Investigation Done # Workaround h3. 1. Issue Not able to transfer artifacts and the following gets thrown: {code:title=<bamboo-install>/logs/catalina.out} 2016-01-20 11:37:39,464 ERROR [http-nio-8085-exec-20] [ArtifactServlet] Exception when storing the artifact java.nio.file.NoSuchFileException: /var/data/bamboo-home/artifacts/tmp/com.atlassian.bamboo.agent.messaging.ArtifactServlet7812808729203581451 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) at java.nio.file.Files.createDirectory(Files.java:674) at java.nio.file.TempFileHelper.create(TempFileHelper.java:136) at java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:173) at java.nio.file.Files.createTempDirectory(Files.java:950) at com.atlassian.bamboo.agent.messaging.ArtifactServlet.getDeserialisationPath(ArtifactServlet.java:201) at com.atlassian.bamboo.agent.messaging.ArtifactServlet.storeArtifact(ArtifactServlet.java:116) at com.atlassian.bamboo.agent.messaging.ArtifactServlet.doPost(ArtifactServlet.java:107) {code} h3. 2. How to Replicate # install Bamboo v5.10.0 # install Bamboo remote agent # create a Project - Plan (_i.e.: PRO-PLAN_) # add a {{Script}} task to plan {code:title=Script task} echo "Hello World" > "${bamboo.planKey}-${bamboo.buildNumber}.txt" {code} # create an "{{Artifact Definition}}" ||Name|Text| ||Localtion|&nbsp;| ||Path|*.txt| |Shared|\[x\]| # run build against Remote agent h3. 3. Investigation Done # copied "{{log4j.properties}}" from Bamboo server and pasted to "{{<bamboo-agent-home>}}" directory {code:title=<bamboo-agent-home>/conf/wrapper.conf} wrapper.java.additional.3=-Dlog4j.configuration=/opt/atlassian/agent/atlassian-bamboo-5.10.0/log4j.properties {code} # ran a new build against Bamboo remote agent {code:title=<bamboo-remote-agent/logs/atlassian-bamboo.log>} 2016-01-20 17:15:22,109 INFO [3-BAM::broker.client.url::Agent:pool-6-thread-1] [BuildArtifactPostProcessor] Copying the build artifacts for build: PROJ-PLAN-JOB1-3 2016-01-20 17:15:22,359 DEBUG [3-BAM::broker.client.url::Agent:pool-6-thread-1] [AbstractArtifactManager] Adding reference: ant.PropertyHelper 2016-01-20 17:15:22,361 DEBUG [3-BAM::broker.client.url::Agent:pool-6-thread-1] [AbstractArtifactManager] Adding reference: ant.ComponentHelper 2016-01-20 17:15:22,362 DEBUG [3-BAM::broker.client.url::Agent:pool-6-thread-1] [AbstractArtifactManager] FileSet: Setup scanner in dir /opt/atlassian/agent/atlassian-bamboo-5.10.0/xml-data/build-dir/PROJ-PLAN-JOB1 with patternSet{ includes: [*.txt] excludes: [] } 2016-01-20 17:15:22,400 INFO [3-BAM::broker.client.url::Agent:pool-6-thread-1] [AbstractArtifactManager] Publishing [Text] for PROJ-PLAN-JOB1-3: 1 file(s) matching [*.txt] in directory /opt/atlassian/agent/atlassian-bamboo-5.10.0/xml-data/build-dir/PROJ-PLAN-JOB1 2016-01-20 17:15:22,529 INFO [3-BAM::broker.client.url::Agent:pool-6-thread-1] [AbstractArtifactManager] Trying to publish the artifact with handler: com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler 2016-01-20 17:15:22,712 DEBUG [3-BAM::broker.client.url::Agent:pool-6-thread-1] [RequestAddCookies] CookieSpec selected: best-match 2016-01-20 17:15:22,712 DEBUG [3-BAM::broker.client.url::Agent:pool-6-thread-1] [RequestAuthCache] Auth cache not set in the context 2016-01-20 17:15:22,717 DEBUG [3-BAM::broker.client.url::Agent:pool-6-thread-1] [BambooArtifactHttpTransport] Started writing the artifact to the output stream. 2016-01-20 17:15:22,833 INFO [3-BAM::broker.client.url::Agent:pool-6-thread-1] [BambooArtifactHttpTransport] Finished writing the artifact to the output stream, time elapsed: 110.4 ms 2016-01-20 17:15:23,080 DEBUG [3-BAM::broker.client.url::Agent:pool-6-thread-1] [BambooArtifactHttpTransport] Entity in HTTP response: [<html> <head> <title>Internal server error</title> <meta name="decorator" content="install" /> </head> <body> <h1>Internal server error</h1> <h4>Go to...</h4> <ul> <li><a href="/">Site homepage</a></li> </ul> A system error has occurred - our apologies! <p> Please create a problem report on our <b>support system</b> at <a href="https://support.atlassian.com/secure/CreateIssue.jspa?pid=10060&issuetype=1">http://support.atlassian.com</a> with the following information: <ol class="standard"> <li>a description of your problem and what you were doing at the time it occurred <li>cut &amp; paste the error and system information found below <li>attach the <strong>atlassian-bamboo.log</strong> log file found in your application home. </ol> We will respond as promptly as possible.<br/>Thank you! </p> <p> <b>Version:</b> 5.10.0<br> <b>Build:</b> 51017<br> <b>Build Date:</b> 15 Jan 2016 </p> <h4>Request information:</h4> <ul class="standard"> <li>Request URL: http://webserver.bamboo/500.action</li> <li>Scheme: http</li> <li>Server: webserver.bamboo</li> <li>Port: 80</li> <li>URI: /500.action</li> <li>Context path: </li> <li>Servlet path: /500.action</li> <li>Path info: </li> <li>Query string: fingerprint=-5662227328481913159&amp;planResultKey=PROJ-PLAN-JOB1-3</li> </ul> <p> <b>Stack Trace:</b> <pre> java.nio.file.NoSuchFileException: /opt/atlassian/home/atlassian-bamboo-5.10.0/artifacts/tmp/com.atlassian.bamboo.agent.messaging.ArtifactServlet4593917311442710816 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) {code} # in the "{{<bamboo-install>/logs/catalina.out}}" {code:title=<bamboo-install/logs/catalina.out>} 2016-01-20 17:15:22,537 INFO [http-nio-8085-exec-11] [AccessLogFilter] admin GET http://webserver.bamboo/rest/pref/latest/user/?expand=preferences.preference 40457kb 2016-01-20 17:15:22,840 INFO [http-nio-8085-exec-20] [ArtifactServlet] Receiving Artifact [Text] for PROJ-PLAN-JOB1-3 2016-01-20 17:15:22,885 ERROR [http-nio-8085-exec-20] [ArtifactServlet] Exception when storing the artifact java.nio.file.NoSuchFileException: /opt/atlassian/home/atlassian-bamboo-5.10.0/artifacts/tmp/com.atlassian.bamboo.agent.messaging.ArtifactServlet4593917311442710816 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) {code} # in the build log {code:title=PROJ-PLAN-JOB1-3.log} simple 20-Jan-2016 17:15:22 Running post build plugin 'Artifact Copier' simple 20-Jan-2016 17:15:22 Publishing an artifact: Text error 20-Jan-2016 17:15:23 Unable to publish artifact [Text]: simple 20-Jan-2016 17:15:23 The artifact hasn't been successfully published after 0s simple 20-Jan-2016 17:15:23 Finalising the build... simple 20-Jan-2016 17:15:23 Stopping timer. simple 20-Jan-2016 17:15:23 Build PROJ-PLAN-JOB1-3 completed. {code} h3. 4. Workaround When running the following command we can observe the directory "{{/opt/atlassian/home/atlassian-bamboo-5.10.0/artifacts/tmp}}" does not exist: {code} $ ls -l /opt/atlassian/home/atlassian-bamboo-5.10.0/artifacts {code} # create the directory manually {code} mkdir /opt/atlassian/home/atlassian-bamboo-5.10.0/artifacts/tmp {code} # run a new build {code:title=PROJ-PLAN-JOB1-4.log} simple 20-Jan-2016 17:33:29 Running post build plugin 'Artifact Copier' simple 20-Jan-2016 17:33:29 Publishing an artifact: Text simple 20-Jan-2016 17:33:30 Finished publishing of artifact Shared artifact: [Text], pattern: [*.txt] in 1s simple 20-Jan-2016 17:33:30 Finalising the build... simple 20-Jan-2016 17:33:30 Stopping timer. simple 20-Jan-2016 17:33:30 Build PROJ-PLAN-JOB1-4 completed. {code}

    Atlassian JIRA | 1 year ago | Rafael Sperafico [Atlassian]
    java.nio.file.NoSuchFileException: /var/data/bamboo-home/artifacts/tmp/com.atlassian.bamboo.agent.messaging.ArtifactServlet7812808729203581451
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h3. Summary # Issue # How to replicate # Investigation Done # Workaround h3. 1. Issue Not able to transfer artifacts and the following gets thrown: {code:title=<bamboo-install>/logs/catalina.out} 2016-01-20 11:37:39,464 ERROR [http-nio-8085-exec-20] [ArtifactServlet] Exception when storing the artifact java.nio.file.NoSuchFileException: /var/data/bamboo-home/artifacts/tmp/com.atlassian.bamboo.agent.messaging.ArtifactServlet7812808729203581451 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) at java.nio.file.Files.createDirectory(Files.java:674) at java.nio.file.TempFileHelper.create(TempFileHelper.java:136) at java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:173) at java.nio.file.Files.createTempDirectory(Files.java:950) at com.atlassian.bamboo.agent.messaging.ArtifactServlet.getDeserialisationPath(ArtifactServlet.java:201) at com.atlassian.bamboo.agent.messaging.ArtifactServlet.storeArtifact(ArtifactServlet.java:116) at com.atlassian.bamboo.agent.messaging.ArtifactServlet.doPost(ArtifactServlet.java:107) {code} h3. 2. How to Replicate # install Bamboo v5.10.0 # install Bamboo remote agent # create a Project - Plan (_i.e.: PRO-PLAN_) # add a {{Script}} task to plan {code:title=Script task} echo "Hello World" > "${bamboo.planKey}-${bamboo.buildNumber}.txt" {code} # create an "{{Artifact Definition}}" ||Name|Text| ||Localtion|&nbsp;| ||Path|*.txt| |Shared|\[x\]| # run build against Remote agent h3. 3. Investigation Done # copied "{{log4j.properties}}" from Bamboo server and pasted to "{{<bamboo-agent-home>}}" directory {code:title=<bamboo-agent-home>/conf/wrapper.conf} wrapper.java.additional.3=-Dlog4j.configuration=/opt/atlassian/agent/atlassian-bamboo-5.10.0/log4j.properties {code} # ran a new build against Bamboo remote agent {code:title=<bamboo-remote-agent/logs/atlassian-bamboo.log>} 2016-01-20 17:15:22,109 INFO [3-BAM::broker.client.url::Agent:pool-6-thread-1] [BuildArtifactPostProcessor] Copying the build artifacts for build: PROJ-PLAN-JOB1-3 2016-01-20 17:15:22,359 DEBUG [3-BAM::broker.client.url::Agent:pool-6-thread-1] [AbstractArtifactManager] Adding reference: ant.PropertyHelper 2016-01-20 17:15:22,361 DEBUG [3-BAM::broker.client.url::Agent:pool-6-thread-1] [AbstractArtifactManager] Adding reference: ant.ComponentHelper 2016-01-20 17:15:22,362 DEBUG [3-BAM::broker.client.url::Agent:pool-6-thread-1] [AbstractArtifactManager] FileSet: Setup scanner in dir /opt/atlassian/agent/atlassian-bamboo-5.10.0/xml-data/build-dir/PROJ-PLAN-JOB1 with patternSet{ includes: [*.txt] excludes: [] } 2016-01-20 17:15:22,400 INFO [3-BAM::broker.client.url::Agent:pool-6-thread-1] [AbstractArtifactManager] Publishing [Text] for PROJ-PLAN-JOB1-3: 1 file(s) matching [*.txt] in directory /opt/atlassian/agent/atlassian-bamboo-5.10.0/xml-data/build-dir/PROJ-PLAN-JOB1 2016-01-20 17:15:22,529 INFO [3-BAM::broker.client.url::Agent:pool-6-thread-1] [AbstractArtifactManager] Trying to publish the artifact with handler: com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler 2016-01-20 17:15:22,712 DEBUG [3-BAM::broker.client.url::Agent:pool-6-thread-1] [RequestAddCookies] CookieSpec selected: best-match 2016-01-20 17:15:22,712 DEBUG [3-BAM::broker.client.url::Agent:pool-6-thread-1] [RequestAuthCache] Auth cache not set in the context 2016-01-20 17:15:22,717 DEBUG [3-BAM::broker.client.url::Agent:pool-6-thread-1] [BambooArtifactHttpTransport] Started writing the artifact to the output stream. 2016-01-20 17:15:22,833 INFO [3-BAM::broker.client.url::Agent:pool-6-thread-1] [BambooArtifactHttpTransport] Finished writing the artifact to the output stream, time elapsed: 110.4 ms 2016-01-20 17:15:23,080 DEBUG [3-BAM::broker.client.url::Agent:pool-6-thread-1] [BambooArtifactHttpTransport] Entity in HTTP response: [<html> <head> <title>Internal server error</title> <meta name="decorator" content="install" /> </head> <body> <h1>Internal server error</h1> <h4>Go to...</h4> <ul> <li><a href="/">Site homepage</a></li> </ul> A system error has occurred - our apologies! <p> Please create a problem report on our <b>support system</b> at <a href="https://support.atlassian.com/secure/CreateIssue.jspa?pid=10060&issuetype=1">http://support.atlassian.com</a> with the following information: <ol class="standard"> <li>a description of your problem and what you were doing at the time it occurred <li>cut &amp; paste the error and system information found below <li>attach the <strong>atlassian-bamboo.log</strong> log file found in your application home. </ol> We will respond as promptly as possible.<br/>Thank you! </p> <p> <b>Version:</b> 5.10.0<br> <b>Build:</b> 51017<br> <b>Build Date:</b> 15 Jan 2016 </p> <h4>Request information:</h4> <ul class="standard"> <li>Request URL: http://webserver.bamboo/500.action</li> <li>Scheme: http</li> <li>Server: webserver.bamboo</li> <li>Port: 80</li> <li>URI: /500.action</li> <li>Context path: </li> <li>Servlet path: /500.action</li> <li>Path info: </li> <li>Query string: fingerprint=-5662227328481913159&amp;planResultKey=PROJ-PLAN-JOB1-3</li> </ul> <p> <b>Stack Trace:</b> <pre> java.nio.file.NoSuchFileException: /opt/atlassian/home/atlassian-bamboo-5.10.0/artifacts/tmp/com.atlassian.bamboo.agent.messaging.ArtifactServlet4593917311442710816 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) {code} # in the "{{<bamboo-install>/logs/catalina.out}}" {code:title=<bamboo-install/logs/catalina.out>} 2016-01-20 17:15:22,537 INFO [http-nio-8085-exec-11] [AccessLogFilter] admin GET http://webserver.bamboo/rest/pref/latest/user/?expand=preferences.preference 40457kb 2016-01-20 17:15:22,840 INFO [http-nio-8085-exec-20] [ArtifactServlet] Receiving Artifact [Text] for PROJ-PLAN-JOB1-3 2016-01-20 17:15:22,885 ERROR [http-nio-8085-exec-20] [ArtifactServlet] Exception when storing the artifact java.nio.file.NoSuchFileException: /opt/atlassian/home/atlassian-bamboo-5.10.0/artifacts/tmp/com.atlassian.bamboo.agent.messaging.ArtifactServlet4593917311442710816 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) {code} # in the build log {code:title=PROJ-PLAN-JOB1-3.log} simple 20-Jan-2016 17:15:22 Running post build plugin 'Artifact Copier' simple 20-Jan-2016 17:15:22 Publishing an artifact: Text error 20-Jan-2016 17:15:23 Unable to publish artifact [Text]: simple 20-Jan-2016 17:15:23 The artifact hasn't been successfully published after 0s simple 20-Jan-2016 17:15:23 Finalising the build... simple 20-Jan-2016 17:15:23 Stopping timer. simple 20-Jan-2016 17:15:23 Build PROJ-PLAN-JOB1-3 completed. {code} h3. 4. Workaround When running the following command we can observe the directory "{{/opt/atlassian/home/atlassian-bamboo-5.10.0/artifacts/tmp}}" does not exist: {code} $ ls -l /opt/atlassian/home/atlassian-bamboo-5.10.0/artifacts {code} # create the directory manually {code} mkdir /opt/atlassian/home/atlassian-bamboo-5.10.0/artifacts/tmp {code} # run a new build {code:title=PROJ-PLAN-JOB1-4.log} simple 20-Jan-2016 17:33:29 Running post build plugin 'Artifact Copier' simple 20-Jan-2016 17:33:29 Publishing an artifact: Text simple 20-Jan-2016 17:33:30 Finished publishing of artifact Shared artifact: [Text], pattern: [*.txt] in 1s simple 20-Jan-2016 17:33:30 Finalising the build... simple 20-Jan-2016 17:33:30 Stopping timer. simple 20-Jan-2016 17:33:30 Build PROJ-PLAN-JOB1-4 completed. {code}

    Atlassian JIRA | 1 year ago | Rafael Sperafico [Atlassian]
    java.nio.file.NoSuchFileException: /var/data/bamboo-home/artifacts/tmp/com.atlassian.bamboo.agent.messaging.ArtifactServlet7812808729203581451

    Root Cause Analysis

    1. java.nio.file.NoSuchFileException

      /data/jirastudio/bamboo/home/artifacts/tmp/com.atlassian.bamboo.agent.messaging.ArtifactServlet5806831005590599727 @40000000569ed63b06a12a9c at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) @40000000569ed63b06a149dc at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) @40000000569ed63b06a149dc at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) @40000000569ed63b06a149dc at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) @40000000569ed63b06a14dc4 at java.nio.file.Files.createDirectory(Files.java:674) @40000000569ed63b06a14dc4 at java.nio.file.TempFileHelper.create(TempFileHelper.java:136)

      at java.nio.file.TempFileHelper.createTempDirectory()
    2. Java RT
      Files.createTempDirectory
      1. java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:173)
      2. java.nio.file.Files.createTempDirectory(Files.java:950)
      2 frames
    3. com.atlassian.bamboo
      ArtifactServlet.getDeserialisationPath
      1. com.atlassian.bamboo.agent.messaging.ArtifactServlet.getDeserialisationPath(ArtifactServlet.java:201)
      1 frame