java.lang.RuntimeException: Failed to save resource 'libs-snapshots:com/project/0.0.8-SNAPSHOT/project-0.0.8-SNAPSHOT.war'.

jfrog.org | 4 months ago
  1. 0

    Artifactory - Users - Write lock on /repositories/libs-snapshots/com not acquired in 120 seconds

    jfrog.org | 4 months ago
    java.lang.RuntimeException: Failed to save resource 'libs-snapshots:com/project/0.0.8-SNAPSHOT/project-0.0.8-SNAPSHOT.war'.
  2. 0

    [RTFACT-1314] Write lock not acquired in 120 seconds - JFrog JIRA

    jfrog.com | 1 year ago
    java.lang.RuntimeException: Failed to save resource 'libs-releases-local:com/unicredit/rosso/rosso-web/0.0.72.2/rosso-web-0.0.72.2.war'.
  3. 0

    Hi We have a webapp module from which we want to upload a POM, JAR, and WAR. The POM type is set to WAR, and the JAR is attached using attachartifact on the Build Helper plugin. Whether we try to upload the artifact via TCAP or manually deploy in the RTFACT console, we get the same error message: "Failed to save resource", and under the hood there is an interesting RTFACT error message complaining that the file is a directory! This only seems to affect this one particular artifact, is there a workaround? We are using TC 5.1.5 Pro, RTFACT 2.3.4 Pro, and TCAP 1.0.1. Thanks in advance S 2011-10-14 14:45:48,000 [pool-1-thread-29] [INFO ] (o.a.e.UploadServiceImpl:176) - Deploy to 'libs-snapshots-local:sky/sns/superman-webapp/NETSTREAM-SNAPSHOT/superman-webapp-NETSTREAM-SNAPSHOT.jar' Content-Length: 653987 2011-10-14 14:45:48,003 [pool-1-thread-29] [WARN ] (o.a.w.w.p.d.s.DeployArtifactPanel:481) - Failed to deploy artifact. java.lang.RuntimeException: Failed to save resource 'libs-snapshots-local:sky/sns/superman-webapp/NETSTREAM-SNAPSHOT/superman-webapp-NETSTREAM-SNAPSHOT.jar'. at org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:616) [artifactory-core-2.3.4.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:344) [artifactory-core-2.3.4.jar:na] at org.artifactory.engine.UploadServiceImpl.doProcess(UploadServiceImpl.java:238) [artifactory-core-2.3.4.jar:na] at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_26] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_26] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:67) [artifactory-core-2.3.4.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:77) [artifactory-core-2.3.4.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:47) [artifactory-core-2.3.4.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at $Proxy37.doProcess(Unknown Source) [na:na] at org.artifactory.engine.UploadServiceImpl.process(UploadServiceImpl.java:163) [artifactory-core-2.3.4.jar:na] at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_26] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_26] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at $Proxy37.process(Unknown Source) [na:na] at org.artifactory.repo.service.DeployServiceImpl.deploy(DeployServiceImpl.java:129) [artifactory-core-2.3.4.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_26] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_26] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_26] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_26] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:67) [artifactory-core-2.3.4.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:75) [artifactory-core-2.3.4.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:47) [artifactory-core-2.3.4.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at $Proxy51.deploy(Unknown Source) [na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_26] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_26] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_26] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_26] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) [wicket-ioc-1.4.10.jar:1.4.10] at org.apache.wicket.proxy.$Proxy159.deploy(Unknown Source) [na:1.4.10] at org.artifactory.webapp.wicket.page.deploy.step2.DeployArtifactPanel$DeployArtifactForm$DeployLink.deployFileAndPom(DeployArtifactPanel.java:513) [artifactory-web-application-2.3.4.jar:na] at org.artifactory.webapp.wicket.page.deploy.step2.DeployArtifactPanel$DeployArtifactForm$DeployLink.onSubmit(DeployArtifactPanel.java:457) [artifactory-web-application-2.3.4.jar:na] at org.artifactory.common.wicket.component.links.TitledAjaxSubmitLink$1.onSubmit(TitledAjaxSubmitLink.java:60) [artifactory-web-common-2.3.4.jar:na] at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:286) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312) [wicket-1.4.10.jar:1.4.10] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:139) [artifactory-web-application-2.3.4.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:82) [artifactory-web-application-2.3.4.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:245) [artifactory-web-application-2.3.4.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:154) [artifactory-web-application-2.3.4.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:116) [artifactory-web-application-2.3.4.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54) [artifactory-web-application-2.3.4.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:66) [artifactory-web-application-2.3.4.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:424) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494) [jetty-security-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:931) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:361) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.Server.handle(Server.java:337) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:581) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1020) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:775) [jetty-http-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:222) [jetty-http-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:417) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:474) [jetty-io-7.0.2.v20100331.jar:7.0.2.v20100331] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_26] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_26] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26] Caused by: org.artifactory.api.repo.exception.FileExpectedException: Expected a file but found a folder, at: libs-snapshots-local:sky/sns/superman-webapp/NETSTREAM-SNAPSHOT/superman-webapp-NETSTREAM-SNAPSHOT.jar at org.artifactory.repo.jcr.StoringRepoMixin$JcrFileCreator.checkItemType(StoringRepoMixin.java:1159) [artifactory-core-2.3.4.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.internalGetLockedJcrFsItem(StoringRepoMixin.java:954) [artifactory-core-2.3.4.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.getLockedJcrFile(StoringRepoMixin.java:334) [artifactory-core-2.3.4.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:572) [artifactory-core-2.3.4.jar:na] ... 92 common frames omitted

    JFrog JIRA | 5 years ago | Stephen Smith
    java.lang.RuntimeException: Failed to save resource 'libs-snapshots-local:sky/sns/superman-webapp/NETSTREAM-SNAPSHOT/superman-webapp-NETSTREAM-SNAPSHOT.jar'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hi We have a webapp module from which we want to upload a POM, JAR, and WAR. The POM type is set to WAR, and the JAR is attached using attachartifact on the Build Helper plugin. Whether we try to upload the artifact via TCAP or manually deploy in the RTFACT console, we get the same error message: "Failed to save resource", and under the hood there is an interesting RTFACT error message complaining that the file is a directory! This only seems to affect this one particular artifact, is there a workaround? We are using TC 5.1.5 Pro, RTFACT 2.3.4 Pro, and TCAP 1.0.1. Thanks in advance S 2011-10-14 14:45:48,000 [pool-1-thread-29] [INFO ] (o.a.e.UploadServiceImpl:176) - Deploy to 'libs-snapshots-local:sky/sns/superman-webapp/NETSTREAM-SNAPSHOT/superman-webapp-NETSTREAM-SNAPSHOT.jar' Content-Length: 653987 2011-10-14 14:45:48,003 [pool-1-thread-29] [WARN ] (o.a.w.w.p.d.s.DeployArtifactPanel:481) - Failed to deploy artifact. java.lang.RuntimeException: Failed to save resource 'libs-snapshots-local:sky/sns/superman-webapp/NETSTREAM-SNAPSHOT/superman-webapp-NETSTREAM-SNAPSHOT.jar'. at org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:616) [artifactory-core-2.3.4.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:344) [artifactory-core-2.3.4.jar:na] at org.artifactory.engine.UploadServiceImpl.doProcess(UploadServiceImpl.java:238) [artifactory-core-2.3.4.jar:na] at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_26] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_26] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:67) [artifactory-core-2.3.4.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:77) [artifactory-core-2.3.4.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:47) [artifactory-core-2.3.4.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at $Proxy37.doProcess(Unknown Source) [na:na] at org.artifactory.engine.UploadServiceImpl.process(UploadServiceImpl.java:163) [artifactory-core-2.3.4.jar:na] at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_26] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_26] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at $Proxy37.process(Unknown Source) [na:na] at org.artifactory.repo.service.DeployServiceImpl.deploy(DeployServiceImpl.java:129) [artifactory-core-2.3.4.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_26] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_26] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_26] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_26] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:67) [artifactory-core-2.3.4.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:75) [artifactory-core-2.3.4.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:47) [artifactory-core-2.3.4.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at $Proxy51.deploy(Unknown Source) [na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_26] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_26] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_26] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_26] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) [wicket-ioc-1.4.10.jar:1.4.10] at org.apache.wicket.proxy.$Proxy159.deploy(Unknown Source) [na:1.4.10] at org.artifactory.webapp.wicket.page.deploy.step2.DeployArtifactPanel$DeployArtifactForm$DeployLink.deployFileAndPom(DeployArtifactPanel.java:513) [artifactory-web-application-2.3.4.jar:na] at org.artifactory.webapp.wicket.page.deploy.step2.DeployArtifactPanel$DeployArtifactForm$DeployLink.onSubmit(DeployArtifactPanel.java:457) [artifactory-web-application-2.3.4.jar:na] at org.artifactory.common.wicket.component.links.TitledAjaxSubmitLink$1.onSubmit(TitledAjaxSubmitLink.java:60) [artifactory-web-common-2.3.4.jar:na] at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:286) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479) [wicket-1.4.10.jar:1.4.10] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312) [wicket-1.4.10.jar:1.4.10] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:139) [artifactory-web-application-2.3.4.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:82) [artifactory-web-application-2.3.4.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:245) [artifactory-web-application-2.3.4.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:154) [artifactory-web-application-2.3.4.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:116) [artifactory-web-application-2.3.4.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54) [artifactory-web-application-2.3.4.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:66) [artifactory-web-application-2.3.4.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:424) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494) [jetty-security-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:931) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:361) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.Server.handle(Server.java:337) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:581) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1020) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:775) [jetty-http-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:222) [jetty-http-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:417) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:474) [jetty-io-7.0.2.v20100331.jar:7.0.2.v20100331] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_26] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_26] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26] Caused by: org.artifactory.api.repo.exception.FileExpectedException: Expected a file but found a folder, at: libs-snapshots-local:sky/sns/superman-webapp/NETSTREAM-SNAPSHOT/superman-webapp-NETSTREAM-SNAPSHOT.jar at org.artifactory.repo.jcr.StoringRepoMixin$JcrFileCreator.checkItemType(StoringRepoMixin.java:1159) [artifactory-core-2.3.4.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.internalGetLockedJcrFsItem(StoringRepoMixin.java:954) [artifactory-core-2.3.4.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.getLockedJcrFile(StoringRepoMixin.java:334) [artifactory-core-2.3.4.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:572) [artifactory-core-2.3.4.jar:na] ... 92 common frames omitted

    JFrog JIRA | 5 years ago | Stephen Smith
    java.lang.RuntimeException: Failed to save resource 'libs-snapshots-local:sky/sns/superman-webapp/NETSTREAM-SNAPSHOT/superman-webapp-NETSTREAM-SNAPSHOT.jar'.
  6. 0

    Not able to use a Dockerfile when using Jenkins CloudBees Docker Custom Build Environment Plugin

    Stack Overflow | 1 year ago | wshichao
    java.lang.RuntimeException: Failed to build docker image from project Dockerfile

    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.lang.RuntimeException

      Failed to save resource 'libs-snapshots:com/project/0.0.8-SNAPSHOT/project-0.0.8-SNAPSHOT.war'.

      at org.artifactory.repo.jcr.JcrRepoBase.saveResource()
    2. org.artifactory.repo
      JcrRepoBase.saveResource
      1. org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:606)
      1 frame