java.lang.IllegalArgumentException: Could not create file system item Parent bower-local/bootstrap must be a folder

JFrog JIRA | Daniel Augustine | 7 months ago
  1. 0

    Deploying a file with the following command: curl -i -u <user>:<password> -XPUT "http://localhost:8081/artifactory/bower-local/bootstrap/" -T /Users/<user>/bower_components/bootstrap.tar.gz Results in a *folder* being created in the bower-local repository titled "bootstrap", as the command suggests, with a file named "bootstrap.tar.gz" inside it. Notice the '/' at the end of ...bower-local/boostrap/, if this trailing slash is removed, the command executes and deploys successfully. After this has been done, the folders/files within that structure (anything below the initial "bootstrap" folder) cannot be deleted, and returns the error shown below. This renders the file, and even the repository, unable to be deleted/removed. It is understood that this is not the correct way to deploy a file, but this one mistake leaves Artifactory unable to delete the file/repository, without an obvious workaround (the REST API Delete Item does not remove this either). 2016-05-02 16:36:58,896 [http-nio-8081-exec-6] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:46) - Could not create file system item Parent bower-local/bootstrap must be a folder java.lang.IllegalArgumentException: Could not create file system item Parent bower-local/bootstrap must be a folder at org.artifactory.storage.db.fs.model.DbFsItemProvider.getOrCreateMutableFsItem(DbFsItemProvider.java:158) ~[artifactory-storage-db-4.7.5.jar:na] at org.artifactory.storage.db.fs.model.DbFileProvider.getOrCreMutableFile(DbFileProvider.java:73) ~[artifactory-storage-db-4.7.5.jar:na] at org.artifactory.repo.db.DbStoringRepoMixin.createOrGetFile(DbStoringRepoMixin.java:652) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.db.DbLocalRepo.createOrGetFile(DbLocalRepo.java:225) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.getMutableVfsTargetFile(BaseRepoPathMover.java:554) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.copyFile(BaseRepoPathMover.java:411) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.DefaultRepoPathCopier.operationOnFile(DefaultRepoPathCopier.java:42) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.moveFile(BaseRepoPathMover.java:528) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.handleFile(BaseRepoPathMover.java:385) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.moveCopyRecursive(BaseRepoPathMover.java:188) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.moveOrCopy(BaseRepoPathMover.java:126) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.CopyRepoPathService.handleMoveOrCopy(CopyRepoPathService.java:26) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.RepoPathMover.moveOrCopy(RepoPathMover.java:95) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.CopyRepoPathService.executeOperation(CopyRepoPathService.java:18) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.CopyRepoPathService$$FastClassBySpringCGLIB$$c096001b.invoke(<generated>) ~[spring-core-4.1.5.RELEASE.jar:na] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:649) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.repo.service.mover.CopyRepoPathService$$EnhancerBySpringCGLIB$$7f0a0aa9.executeOperation(<generated>) ~[spring-core-4.1.5.RELEASE.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.moveOrCopy(RepositoryServiceImpl.java:1138) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.copy(RepositoryServiceImpl.java:1110) ~[artifactory-core-4.7.5.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76) ~[artifactory-storage-common-4.7.5.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy45.copy(Unknown Source) ~[na:na] at org.artifactory.repo.service.trash.TrashServiceImpl.trashAsSystem(TrashServiceImpl.java:96) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.trash.TrashServiceImpl.copyToTrash(TrashServiceImpl.java:84) ~[artifactory-core-4.7.5.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy89.copyToTrash(Unknown Source) ~[na:na] at org.artifactory.repo.interceptor.TrashInterceptor.beforeDelete(TrashInterceptor.java:51) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.interceptor.storage.StorageInterceptorsImpl.beforeDelete(StorageInterceptorsImpl.java:76) ~[artifactory-core-4.7.5.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy64.beforeDelete(Unknown Source) ~[na:na] at org.artifactory.storage.db.fs.model.DbMutableItem.fireBeforeDeleteEvent(DbMutableItem.java:283) ~[artifactory-storage-db-4.7.5.jar:na] at org.artifactory.storage.db.fs.model.DbMutableFile.delete(DbMutableFile.java:154) ~[artifactory-storage-db-4.7.5.jar:na] at org.artifactory.repo.db.DbStoringRepoMixin.undeploy(DbStoringRepoMixin.java:688) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.db.DbLocalRepo.undeploy(DbLocalRepo.java:186) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeployInTx(RepositoryServiceImpl.java:1312) ~[artifactory-core-4.7.5.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74) ~[artifactory-storage-common-4.7.5.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy45.undeployInTx(Unknown Source) ~[na:na] at org.artifactory.repo.service.RepositoryServiceImpl.deleteSingleLeaf(RepositoryServiceImpl.java:1304) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploySingleItemTransactions(RepositoryServiceImpl.java:1273) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.deleteFoldersLeafsBySingleTrx(RepositoryServiceImpl.java:1291) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploySingleItemTransactions(RepositoryServiceImpl.java:1275) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.deleteFoldersLeafsBySingleTrx(RepositoryServiceImpl.java:1291) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploySingleItemTransactions(RepositoryServiceImpl.java:1275) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeployMultiTransaction(RepositoryServiceImpl.java:1257) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeployMultiTransaction(RepositoryServiceImpl.java:1) ~[artifactory-core-4.7.5.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:65) ~[artifactory-core-4.7.5.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy45.undeployMultiTransaction(Unknown Source) ~[na:na] at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.actions.DeleteArtifactService.deleteArtifact(DeleteArtifactService.java:59) ~[artifactory-rest-ui-4.7.5.jar:na] at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.actions.DeleteArtifactService.execute(DeleteArtifactService.java:33) ~[artifactory-rest-ui-4.7.5.jar:na] at org.artifactory.rest.common.service.ServiceExecutor.process(ServiceExecutor.java:18) ~[artifactory-rest-common-4.7.5.jar:na] at org.artifactory.rest.common.resource.BaseResource.runService(BaseResource.java:72) ~[artifactory-rest-common-4.7.5.jar:na] at org.artifactory.ui.rest.resource.artifacts.browse.treebrowser.actions.ArtifactActionsResource.deleteArtifact(ArtifactActionsResource.java:112) ~[artifactory-rest-ui-4.7.5.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.jar:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:198) [artifactory-web-application-4.7.5.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:89) [artifactory-web-application-4.7.5.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:351) [artifactory-web-application-4.7.5.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:198) [artifactory-web-application-4.7.5.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:154) [artifactory-web-application-4.7.5.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:65) [artifactory-web-application-4.7.5.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:109) [artifactory-web-application-4.7.5.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [catalina.jar:8.0.32] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.32] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) [catalina.jar:8.0.32] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) [tomcat-coyote.jar:8.0.32] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) [tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-coyote.jar:8.0.32] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_65] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.32] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] Caused by: org.artifactory.api.repo.exception.RepoRejectException: Parent bower-local/bootstrap must be a folder at org.artifactory.storage.db.fs.model.DbFsItemProvider.createAncestors(DbFsItemProvider.java:171) ~[artifactory-storage-db-4.7.5.jar:na] at org.artifactory.storage.db.fs.model.DbFsItemProvider.getOrCreateMutableFsItem(DbFsItemProvider.java:136) ~[artifactory-storage-db-4.7.5.jar:na] ... 142 common frames omitted

    JFrog JIRA | 7 months ago | Daniel Augustine
    java.lang.IllegalArgumentException: Could not create file system item Parent bower-local/bootstrap must be a folder
  2. 0

    Deploying a file with the following command: curl -i -u <user>:<password> -XPUT "http://localhost:8081/artifactory/bower-local/bootstrap/" -T /Users/<user>/bower_components/bootstrap.tar.gz Results in a *folder* being created in the bower-local repository titled "bootstrap", as the command suggests, with a file named "bootstrap.tar.gz" inside it. Notice the '/' at the end of ...bower-local/boostrap/, if this trailing slash is removed, the command executes and deploys successfully. After this has been done, the folders/files within that structure (anything below the initial "bootstrap" folder) cannot be deleted, and returns the error shown below. This renders the file, and even the repository, unable to be deleted/removed. It is understood that this is not the correct way to deploy a file, but this one mistake leaves Artifactory unable to delete the file/repository, without an obvious workaround (the REST API Delete Item does not remove this either). 2016-05-02 16:36:58,896 [http-nio-8081-exec-6] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:46) - Could not create file system item Parent bower-local/bootstrap must be a folder java.lang.IllegalArgumentException: Could not create file system item Parent bower-local/bootstrap must be a folder at org.artifactory.storage.db.fs.model.DbFsItemProvider.getOrCreateMutableFsItem(DbFsItemProvider.java:158) ~[artifactory-storage-db-4.7.5.jar:na] at org.artifactory.storage.db.fs.model.DbFileProvider.getOrCreMutableFile(DbFileProvider.java:73) ~[artifactory-storage-db-4.7.5.jar:na] at org.artifactory.repo.db.DbStoringRepoMixin.createOrGetFile(DbStoringRepoMixin.java:652) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.db.DbLocalRepo.createOrGetFile(DbLocalRepo.java:225) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.getMutableVfsTargetFile(BaseRepoPathMover.java:554) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.copyFile(BaseRepoPathMover.java:411) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.DefaultRepoPathCopier.operationOnFile(DefaultRepoPathCopier.java:42) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.moveFile(BaseRepoPathMover.java:528) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.handleFile(BaseRepoPathMover.java:385) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.moveCopyRecursive(BaseRepoPathMover.java:188) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.moveOrCopy(BaseRepoPathMover.java:126) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.CopyRepoPathService.handleMoveOrCopy(CopyRepoPathService.java:26) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.RepoPathMover.moveOrCopy(RepoPathMover.java:95) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.CopyRepoPathService.executeOperation(CopyRepoPathService.java:18) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.mover.CopyRepoPathService$$FastClassBySpringCGLIB$$c096001b.invoke(<generated>) ~[spring-core-4.1.5.RELEASE.jar:na] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:649) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.repo.service.mover.CopyRepoPathService$$EnhancerBySpringCGLIB$$7f0a0aa9.executeOperation(<generated>) ~[spring-core-4.1.5.RELEASE.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.moveOrCopy(RepositoryServiceImpl.java:1138) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.copy(RepositoryServiceImpl.java:1110) ~[artifactory-core-4.7.5.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76) ~[artifactory-storage-common-4.7.5.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy45.copy(Unknown Source) ~[na:na] at org.artifactory.repo.service.trash.TrashServiceImpl.trashAsSystem(TrashServiceImpl.java:96) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.trash.TrashServiceImpl.copyToTrash(TrashServiceImpl.java:84) ~[artifactory-core-4.7.5.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy89.copyToTrash(Unknown Source) ~[na:na] at org.artifactory.repo.interceptor.TrashInterceptor.beforeDelete(TrashInterceptor.java:51) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.interceptor.storage.StorageInterceptorsImpl.beforeDelete(StorageInterceptorsImpl.java:76) ~[artifactory-core-4.7.5.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy64.beforeDelete(Unknown Source) ~[na:na] at org.artifactory.storage.db.fs.model.DbMutableItem.fireBeforeDeleteEvent(DbMutableItem.java:283) ~[artifactory-storage-db-4.7.5.jar:na] at org.artifactory.storage.db.fs.model.DbMutableFile.delete(DbMutableFile.java:154) ~[artifactory-storage-db-4.7.5.jar:na] at org.artifactory.repo.db.DbStoringRepoMixin.undeploy(DbStoringRepoMixin.java:688) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.db.DbLocalRepo.undeploy(DbLocalRepo.java:186) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeployInTx(RepositoryServiceImpl.java:1312) ~[artifactory-core-4.7.5.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74) ~[artifactory-storage-common-4.7.5.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy45.undeployInTx(Unknown Source) ~[na:na] at org.artifactory.repo.service.RepositoryServiceImpl.deleteSingleLeaf(RepositoryServiceImpl.java:1304) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploySingleItemTransactions(RepositoryServiceImpl.java:1273) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.deleteFoldersLeafsBySingleTrx(RepositoryServiceImpl.java:1291) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploySingleItemTransactions(RepositoryServiceImpl.java:1275) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.deleteFoldersLeafsBySingleTrx(RepositoryServiceImpl.java:1291) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploySingleItemTransactions(RepositoryServiceImpl.java:1275) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeployMultiTransaction(RepositoryServiceImpl.java:1257) ~[artifactory-core-4.7.5.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeployMultiTransaction(RepositoryServiceImpl.java:1) ~[artifactory-core-4.7.5.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:65) ~[artifactory-core-4.7.5.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy45.undeployMultiTransaction(Unknown Source) ~[na:na] at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.actions.DeleteArtifactService.deleteArtifact(DeleteArtifactService.java:59) ~[artifactory-rest-ui-4.7.5.jar:na] at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.actions.DeleteArtifactService.execute(DeleteArtifactService.java:33) ~[artifactory-rest-ui-4.7.5.jar:na] at org.artifactory.rest.common.service.ServiceExecutor.process(ServiceExecutor.java:18) ~[artifactory-rest-common-4.7.5.jar:na] at org.artifactory.rest.common.resource.BaseResource.runService(BaseResource.java:72) ~[artifactory-rest-common-4.7.5.jar:na] at org.artifactory.ui.rest.resource.artifacts.browse.treebrowser.actions.ArtifactActionsResource.deleteArtifact(ArtifactActionsResource.java:112) ~[artifactory-rest-ui-4.7.5.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.jar:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:198) [artifactory-web-application-4.7.5.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:89) [artifactory-web-application-4.7.5.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:351) [artifactory-web-application-4.7.5.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:198) [artifactory-web-application-4.7.5.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:154) [artifactory-web-application-4.7.5.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:65) [artifactory-web-application-4.7.5.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:109) [artifactory-web-application-4.7.5.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [catalina.jar:8.0.32] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.32] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) [catalina.jar:8.0.32] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) [tomcat-coyote.jar:8.0.32] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) [tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-coyote.jar:8.0.32] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_65] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.32] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] Caused by: org.artifactory.api.repo.exception.RepoRejectException: Parent bower-local/bootstrap must be a folder at org.artifactory.storage.db.fs.model.DbFsItemProvider.createAncestors(DbFsItemProvider.java:171) ~[artifactory-storage-db-4.7.5.jar:na] at org.artifactory.storage.db.fs.model.DbFsItemProvider.getOrCreateMutableFsItem(DbFsItemProvider.java:136) ~[artifactory-storage-db-4.7.5.jar:na] ... 142 common frames omitted

    JFrog JIRA | 7 months ago | Daniel Augustine
    java.lang.IllegalArgumentException: Could not create file system item Parent bower-local/bootstrap must be a folder
  3. 0

    I have upload a tar.gz file using curl (as specified in the setupMe section of repository) under path /MyFramework/1.1.0/myframework.tar.gz. The spec file appear under .specs folder in the repository. If I select the tar.gz file and I try to delete it, an error appears: _"Parent MyFramework/1.1.0 must be a folder"_ Follow the stacktrace: {code} 2016-08-16 17:48:22,994 [http-nio-8081-exec-255] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:48) - Could not create file system item Parent MyFramework/1.1.0 must be a folder java.lang.IllegalArgumentException: Could not create file system item Parent MyFramework/1.1.0 must be a folder at org.artifactory.storage.db.fs.model.DbFsItemProvider.getOrCreateMutableFsItem(DbFsItemProvider.java:160) ~[artifactory-storage-db-4.11.0.jar:na] at org.artifactory.storage.db.fs.model.DbFileProvider.getOrCreMutableFile(DbFileProvider.java:75) ~[artifactory-storage-db-4.11.0.jar:na] at org.artifactory.repo.db.DbStoringRepoMixin.createOrGetFile(DbStoringRepoMixin.java:654) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.db.DbLocalRepo.createOrGetFile(DbLocalRepo.java:227) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.getMutableVfsTargetFile(BaseRepoPathMover.java:533) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.copyFile(BaseRepoPathMover.java:391) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.mover.DefaultRepoPathCopier.operationOnFile(DefaultRepoPathCopier.java:62) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.moveFile(BaseRepoPathMover.java:507) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.handleFile(BaseRepoPathMover.java:365) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.moveCopyRecursive(BaseRepoPathMover.java:176) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.moveOrCopy(BaseRepoPathMover.java:116) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.mover.CopyRepoPathService.handleMoveOrCopy(CopyRepoPathService.java:46) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.mover.RepoPathMover.moveOrCopy(RepoPathMover.java:97) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.mover.CopyRepoPathService.executeOperation(CopyRepoPathService.java:38) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.mover.CopyRepoPathService$$FastClassBySpringCGLIB$$c096001b.invoke(<generated>) ~[spring-core-4.1.5.RELEASE.jar:na] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:649) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.repo.service.mover.CopyRepoPathService$$EnhancerBySpringCGLIB$$4e1bb80.executeOperation(<generated>) ~[spring-core-4.1.5.RELEASE.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.moveOrCopy(RepositoryServiceImpl.java:1256) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.copy(RepositoryServiceImpl.java:1222) ~[artifactory-core-4.11.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_101] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:78) ~[artifactory-storage-common-4.11.0.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy46.copy(Unknown Source) ~[na:na] at org.artifactory.repo.service.trash.TrashServiceImpl.trashAsSystem(TrashServiceImpl.java:137) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.trash.TrashServiceImpl.copyToTrash(TrashServiceImpl.java:125) ~[artifactory-core-4.11.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_101] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy82.copyToTrash(Unknown Source) ~[na:na] at org.artifactory.repo.interceptor.TrashInterceptor.beforeDelete(TrashInterceptor.java:53) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.interceptor.storage.StorageInterceptorsImpl.beforeDelete(StorageInterceptorsImpl.java:78) ~[artifactory-core-4.11.0.jar:na] at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_101] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy62.beforeDelete(Unknown Source) ~[na:na] at org.artifactory.storage.db.fs.model.DbMutableItem.fireBeforeDeleteEvent(DbMutableItem.java:291) ~[artifactory-storage-db-4.11.0.jar:na] at org.artifactory.storage.db.fs.model.DbMutableFile.delete(DbMutableFile.java:156) ~[artifactory-storage-db-4.11.0.jar:na] at org.artifactory.repo.db.DbStoringRepoMixin.undeploy(DbStoringRepoMixin.java:690) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.db.DbLocalRepo.undeploy(DbLocalRepo.java:188) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeployInTx(RepositoryServiceImpl.java:1440) ~[artifactory-core-4.11.0.jar:na] at sun.reflect.GeneratedMethodAccessor282.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_101] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76) ~[artifactory-storage-common-4.11.0.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy46.undeployInTx(Unknown Source) ~[na:na] at org.artifactory.repo.service.RepositoryServiceImpl.deleteSingleLeaf(RepositoryServiceImpl.java:1432) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploySingleItemTransactions(RepositoryServiceImpl.java:1401) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeployMultiTransaction(RepositoryServiceImpl.java:1385) ~[artifactory-core-4.11.0.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeployMultiTransaction(RepositoryServiceImpl.java:1) ~[artifactory-core-4.11.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_101] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:67) ~[artifactory-core-4.11.0.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy46.undeployMultiTransaction(Unknown Source) ~[na:na] at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.actions.DeleteArtifactService.deleteArtifact(DeleteArtifactService.java:79) ~[artifactory-rest-ui-4.11.0.jar:na] at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.actions.DeleteArtifactService.execute(DeleteArtifactService.java:53) ~[artifactory-rest-ui-4.11.0.jar:na] at org.artifactory.rest.common.service.ServiceExecutor.process(ServiceExecutor.java:38) ~[artifactory-rest-common-4.11.0.jar:na] at org.artifactory.rest.common.resource.BaseResource.runService(BaseResource.java:92) ~[artifactory-rest-common-4.11.0.jar:na] at org.artifactory.ui.rest.resource.artifacts.browse.treebrowser.actions.ArtifactActionsResource.deleteArtifact(ArtifactActionsResource.java:132) ~[artifactory-rest-ui-4.11.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_101] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.jar:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:200) [artifactory-web-application-4.11.0.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:91) [artifactory-web-application-4.11.0.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:381) [artifactory-web-application-4.11.0.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:203) [artifactory-web-application-4.11.0.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:157) [artifactory-web-application-4.11.0.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:61) [artifactory-web-application-4.11.0.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:111) [artifactory-web-application-4.11.0.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [catalina.jar:8.0.32] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.32] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) [catalina.jar:8.0.32] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) [tomcat-coyote.jar:8.0.32] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) [tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-coyote.jar:8.0.32] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_101] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.32] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101] Caused by: org.artifactory.api.repo.exception.RepoRejectException: Parent MyFramework/1.1.0 must be a folder at org.artifactory.storage.db.fs.model.DbFsItemProvider.createAncestors(DbFsItemProvider.java:173) ~[artifactory-storage-db-4.11.0.jar:na] at org.artifactory.storage.db.fs.model.DbFsItemProvider.getOrCreateMutableFsItem(DbFsItemProvider.java:138) ~[artifactory-storage-db-4.11.0.jar:na] ... 136 common frames omitted {code} It's also not possible delete repository!

    JFrog JIRA | 4 months ago | Nikolas Falco
    java.lang.IllegalArgumentException: Could not create file system item Parent MyFramework/1.1.0 must be a folder
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Steps to reproduce the issue: 1. setup include/exclude pattern on a npm-repo 2. publish an npm package outside of the filter 3. the client receives error 500 instead of 403/409 <request.log> 20160325021833|59|REQUEST|172.17.0.1|admin|PUT|/api/npm/npm-local/@jfrog%2fjfrogpkg|HTTP/1.1|500|1572 <artifactory.log> 2016-03-25 02:18:33,708 [http-nio-8081-exec-4] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:46) - Failed to save stream to npm-local:@jfrog/jfrogpkg/-/@jfrog/jfrogpkg-1.0.0.tgz java.lang.RuntimeException: Failed to save stream to npm-local:@jfrog/jfrogpkg/-/@jfrog/jfrogpkg-1.0.0.tgz at org.artifactory.addon.common.repomd.ArtifactoryService.write(ArtifactoryService.java:224) ~[artifactory-addons-common-4.6.1.jar:na] at org.jfrog.repomd.npm.rest.handler.NpmLocalRepoHandler.handleNpmUpload(NpmLocalRepoHandler.java:299) ~[npm-4.2.6.jar:na] at org.jfrog.repomd.npm.rest.handler.NpmLocalRepoHandler.putOrUpdatePackage(NpmLocalRepoHandler.java:118) ~[npm-4.2.6.jar:na] at org.jfrog.repomd.npm.rest.NpmSubResource.putOrUpdatePackage(NpmSubResource.java:94) ~[npm-4.2.6.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.jar:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:198) [artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:89) [artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:334) [artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:234) [artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:190) [artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:156) [artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:65) [artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:109) [artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [catalina.jar:8.0.32] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.32] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) [catalina.jar:8.0.32] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) [tomcat-coyote.jar:8.0.32] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) [tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-coyote.jar:8.0.32] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_71] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_71] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.32] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_71] Caused by: org.artifactory.api.repo.exception.RepoRejectException: The repository 'npm-local' rejected the artifact 'npm-local:@jfrog/jfrogpkg/-/@jfrog/jfrogpkg-1.0.0.tgz' due to its include/exclude pattern settings. at org.artifactory.repo.service.RepositoryServiceImpl.getResourceStreamHandle(RepositoryServiceImpl.java:1648) ~[artifactory-core-4.6.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy41.getResourceStreamHandle(Unknown Source) ~[na:na] at org.artifactory.addon.common.repomd.ArtifactoryService.read(ArtifactoryService.java:195) ~[artifactory-addons-common-4.6.1.jar:na] at org.jfrog.repomd.npm.NpmMetadataExtractor.read(NpmMetadataExtractor.java:88) ~[npm-4.2.6.jar:na] at org.jfrog.repomd.npm.NpmMetadataExtractor.extractAsSystem(NpmMetadataExtractor.java:48) ~[npm-4.2.6.jar:na] at org.jfrog.repomd.npm.NpmMetadataExtractor.extract(NpmMetadataExtractor.java:35) ~[npm-4.2.6.jar:na] at org.artifactory.addon.npm.NpmServiceImpl.getNpmMetadata(NpmServiceImpl.java:83) ~[artifactory-addon-npm-4.6.1.jar:na] at org.artifactory.addon.npm.NpmServiceImpl.addNpmPackage(NpmServiceImpl.java:94) ~[artifactory-addon-npm-4.6.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy82.addNpmPackage(Unknown Source) ~[na:na] at org.artifactory.addon.npm.NpmAddonImpl.addNpmPackage(NpmAddonImpl.java:45) ~[artifactory-addon-npm-4.6.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy134.addNpmPackage(Unknown Source) ~[na:na] at org.artifactory.repo.interceptor.NpmMetadataInterceptor.afterCreate(NpmMetadataInterceptor.java:49) ~[artifactory-core-4.6.1.jar:na] at org.artifactory.repo.interceptor.storage.StorageInterceptorsImpl.afterCreate(StorageInterceptorsImpl.java:62) ~[artifactory-core-4.6.1.jar:na] at sun.reflect.GeneratedMethodAccessor247.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy60.afterCreate(Unknown Source) ~[na:na] at org.artifactory.repo.db.DbStoringRepoMixin.invokeAfterCreateInterceptors(DbStoringRepoMixin.java:400) ~[artifactory-core-4.6.1.jar:na] at org.artifactory.repo.db.DbStoringRepoMixin.saveResource(DbStoringRepoMixin.java:226) ~[artifactory-core-4.6.1.jar:na] at org.artifactory.repo.db.DbLocalRepo.saveResource(DbLocalRepo.java:143) ~[artifactory-core-4.6.1.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.saveResourceInTransaction(RepositoryServiceImpl.java:1701) ~[artifactory-core-4.6.1.jar:na] at sun.reflect.GeneratedMethodAccessor285.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy41.saveResourceInTransaction(Unknown Source) ~[na:na] at org.artifactory.repo.service.RepositoryServiceImpl.saveResource(RepositoryServiceImpl.java:1669) ~[artifactory-core-4.6.1.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.saveFileInternal(RepositoryServiceImpl.java:677) ~[artifactory-core-4.6.1.jar:na] at sun.reflect.GeneratedMethodAccessor282.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy41.saveFileInternal(Unknown Source) ~[na:na] at org.artifactory.addon.common.repomd.ArtifactoryService.write(ArtifactoryService.java:222) ~[artifactory-addons-common-4.6.1.jar:na] ... 57 common frames omitted

    JFrog JIRA | 9 months ago | Joshua Han
    java.lang.RuntimeException: Failed to save stream to npm-local:@jfrog/jfrogpkg/-/@jfrog/jfrogpkg-1.0.0.tgz
  6. 0

    Steps to reproduce the issue: 1. setup include/exclude pattern on a npm-repo 2. publish an npm package outside of the filter 3. the client receives error 500 instead of 403/409 <request.log> 20160325021833|59|REQUEST|172.17.0.1|admin|PUT|/api/npm/npm-local/@jfrog%2fjfrogpkg|HTTP/1.1|500|1572 <artifactory.log> 2016-03-25 02:18:33,708 [http-nio-8081-exec-4] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:46) - Failed to save stream to npm-local:@jfrog/jfrogpkg/-/@jfrog/jfrogpkg-1.0.0.tgz java.lang.RuntimeException: Failed to save stream to npm-local:@jfrog/jfrogpkg/-/@jfrog/jfrogpkg-1.0.0.tgz at org.artifactory.addon.common.repomd.ArtifactoryService.write(ArtifactoryService.java:224) ~[artifactory-addons-common-4.6.1.jar:na] at org.jfrog.repomd.npm.rest.handler.NpmLocalRepoHandler.handleNpmUpload(NpmLocalRepoHandler.java:299) ~[npm-4.2.6.jar:na] at org.jfrog.repomd.npm.rest.handler.NpmLocalRepoHandler.putOrUpdatePackage(NpmLocalRepoHandler.java:118) ~[npm-4.2.6.jar:na] at org.jfrog.repomd.npm.rest.NpmSubResource.putOrUpdatePackage(NpmSubResource.java:94) ~[npm-4.2.6.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.jar:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:198) [artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:89) [artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:334) [artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:234) [artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:190) [artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:156) [artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:65) [artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:109) [artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [catalina.jar:8.0.32] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.32] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) [catalina.jar:8.0.32] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) [tomcat-coyote.jar:8.0.32] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) [tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-coyote.jar:8.0.32] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_71] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_71] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.32] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_71] Caused by: org.artifactory.api.repo.exception.RepoRejectException: The repository 'npm-local' rejected the artifact 'npm-local:@jfrog/jfrogpkg/-/@jfrog/jfrogpkg-1.0.0.tgz' due to its include/exclude pattern settings. at org.artifactory.repo.service.RepositoryServiceImpl.getResourceStreamHandle(RepositoryServiceImpl.java:1648) ~[artifactory-core-4.6.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy41.getResourceStreamHandle(Unknown Source) ~[na:na] at org.artifactory.addon.common.repomd.ArtifactoryService.read(ArtifactoryService.java:195) ~[artifactory-addons-common-4.6.1.jar:na] at org.jfrog.repomd.npm.NpmMetadataExtractor.read(NpmMetadataExtractor.java:88) ~[npm-4.2.6.jar:na] at org.jfrog.repomd.npm.NpmMetadataExtractor.extractAsSystem(NpmMetadataExtractor.java:48) ~[npm-4.2.6.jar:na] at org.jfrog.repomd.npm.NpmMetadataExtractor.extract(NpmMetadataExtractor.java:35) ~[npm-4.2.6.jar:na] at org.artifactory.addon.npm.NpmServiceImpl.getNpmMetadata(NpmServiceImpl.java:83) ~[artifactory-addon-npm-4.6.1.jar:na] at org.artifactory.addon.npm.NpmServiceImpl.addNpmPackage(NpmServiceImpl.java:94) ~[artifactory-addon-npm-4.6.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy82.addNpmPackage(Unknown Source) ~[na:na] at org.artifactory.addon.npm.NpmAddonImpl.addNpmPackage(NpmAddonImpl.java:45) ~[artifactory-addon-npm-4.6.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy134.addNpmPackage(Unknown Source) ~[na:na] at org.artifactory.repo.interceptor.NpmMetadataInterceptor.afterCreate(NpmMetadataInterceptor.java:49) ~[artifactory-core-4.6.1.jar:na] at org.artifactory.repo.interceptor.storage.StorageInterceptorsImpl.afterCreate(StorageInterceptorsImpl.java:62) ~[artifactory-core-4.6.1.jar:na] at sun.reflect.GeneratedMethodAccessor247.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy60.afterCreate(Unknown Source) ~[na:na] at org.artifactory.repo.db.DbStoringRepoMixin.invokeAfterCreateInterceptors(DbStoringRepoMixin.java:400) ~[artifactory-core-4.6.1.jar:na] at org.artifactory.repo.db.DbStoringRepoMixin.saveResource(DbStoringRepoMixin.java:226) ~[artifactory-core-4.6.1.jar:na] at org.artifactory.repo.db.DbLocalRepo.saveResource(DbLocalRepo.java:143) ~[artifactory-core-4.6.1.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.saveResourceInTransaction(RepositoryServiceImpl.java:1701) ~[artifactory-core-4.6.1.jar:na] at sun.reflect.GeneratedMethodAccessor285.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy41.saveResourceInTransaction(Unknown Source) ~[na:na] at org.artifactory.repo.service.RepositoryServiceImpl.saveResource(RepositoryServiceImpl.java:1669) ~[artifactory-core-4.6.1.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.saveFileInternal(RepositoryServiceImpl.java:677) ~[artifactory-core-4.6.1.jar:na] at sun.reflect.GeneratedMethodAccessor282.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy41.saveFileInternal(Unknown Source) ~[na:na] at org.artifactory.addon.common.repomd.ArtifactoryService.write(ArtifactoryService.java:222) ~[artifactory-addons-common-4.6.1.jar:na] ... 57 common frames omitted

    JFrog JIRA | 9 months ago | Joshua Han
    java.lang.RuntimeException: Failed to save stream to npm-local:@jfrog/jfrogpkg/-/@jfrog/jfrogpkg-1.0.0.tgz

    Root Cause Analysis

    1. org.artifactory.api.repo.exception.RepoRejectException

      Parent bower-local/bootstrap must be a folder

      at org.artifactory.storage.db.fs.model.DbFsItemProvider.createAncestors()
    2. org.artifactory.storage
      DbFileProvider.getOrCreMutableFile
      1. org.artifactory.storage.db.fs.model.DbFsItemProvider.createAncestors(DbFsItemProvider.java:171)[artifactory-storage-db-4.7.5.jar:na]
      2. org.artifactory.storage.db.fs.model.DbFsItemProvider.getOrCreateMutableFsItem(DbFsItemProvider.java:136)[artifactory-storage-db-4.7.5.jar:na]
      3. org.artifactory.storage.db.fs.model.DbFileProvider.getOrCreMutableFile(DbFileProvider.java:73)[artifactory-storage-db-4.7.5.jar:na]
      3 frames
    3. org.artifactory.repo
      CopyRepoPathService$$FastClassBySpringCGLIB$$c096001b.invoke
      1. org.artifactory.repo.db.DbStoringRepoMixin.createOrGetFile(DbStoringRepoMixin.java:652)[artifactory-core-4.7.5.jar:na]
      2. org.artifactory.repo.db.DbLocalRepo.createOrGetFile(DbLocalRepo.java:225)[artifactory-core-4.7.5.jar:na]
      3. org.artifactory.repo.service.mover.BaseRepoPathMover.getMutableVfsTargetFile(BaseRepoPathMover.java:554)[artifactory-core-4.7.5.jar:na]
      4. org.artifactory.repo.service.mover.BaseRepoPathMover.copyFile(BaseRepoPathMover.java:411)[artifactory-core-4.7.5.jar:na]
      5. org.artifactory.repo.service.mover.DefaultRepoPathCopier.operationOnFile(DefaultRepoPathCopier.java:42)[artifactory-core-4.7.5.jar:na]
      6. org.artifactory.repo.service.mover.BaseRepoPathMover.moveFile(BaseRepoPathMover.java:528)[artifactory-core-4.7.5.jar:na]
      7. org.artifactory.repo.service.mover.BaseRepoPathMover.handleFile(BaseRepoPathMover.java:385)[artifactory-core-4.7.5.jar:na]
      8. org.artifactory.repo.service.mover.BaseRepoPathMover.moveCopyRecursive(BaseRepoPathMover.java:188)[artifactory-core-4.7.5.jar:na]
      9. org.artifactory.repo.service.mover.BaseRepoPathMover.moveOrCopy(BaseRepoPathMover.java:126)[artifactory-core-4.7.5.jar:na]
      10. org.artifactory.repo.service.mover.CopyRepoPathService.handleMoveOrCopy(CopyRepoPathService.java:26)[artifactory-core-4.7.5.jar:na]
      11. org.artifactory.repo.service.mover.RepoPathMover.moveOrCopy(RepoPathMover.java:95)[artifactory-core-4.7.5.jar:na]
      12. org.artifactory.repo.service.mover.CopyRepoPathService.executeOperation(CopyRepoPathService.java:18)[artifactory-core-4.7.5.jar:na]
      13. org.artifactory.repo.service.mover.CopyRepoPathService$$FastClassBySpringCGLIB$$c096001b.invoke(<generated>)[spring-core-4.1.5.RELEASE.jar:na]
      13 frames
    4. Spring Core
      MethodProxy.invoke
      1. org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[spring-core-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      1 frame
    5. Spring AOP
      CglibAopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:649)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      1 frame
    6. org.artifactory.repo
      RepositoryServiceImpl.copy
      1. org.artifactory.repo.service.mover.CopyRepoPathService$$EnhancerBySpringCGLIB$$7f0a0aa9.executeOperation(<generated>)[spring-core-4.1.5.RELEASE.jar:na]
      2. org.artifactory.repo.service.RepositoryServiceImpl.moveOrCopy(RepositoryServiceImpl.java:1138)[artifactory-core-4.7.5.jar:na]
      3. org.artifactory.repo.service.RepositoryServiceImpl.copy(RepositoryServiceImpl.java:1110)[artifactory-core-4.7.5.jar:na]
      3 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_65]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_65]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_65]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_65]
      4 frames
    8. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      3 frames
    9. org.artifactory.storage
      LockingAdvice.invoke
      1. org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76)[artifactory-storage-common-4.7.5.jar:na]
      1 frame
    10. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2 frames
    11. com.sun.proxy
      $Proxy45.copy
      1. com.sun.proxy.$Proxy45.copy(Unknown Source)[na:na]
      1 frame
    12. org.artifactory.repo
      TrashServiceImpl.copyToTrash
      1. org.artifactory.repo.service.trash.TrashServiceImpl.trashAsSystem(TrashServiceImpl.java:96)[artifactory-core-4.7.5.jar:na]
      2. org.artifactory.repo.service.trash.TrashServiceImpl.copyToTrash(TrashServiceImpl.java:84)[artifactory-core-4.7.5.jar:na]
      2 frames
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_65]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_65]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_65]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_65]
      4 frames
    14. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2 frames
    15. com.sun.proxy
      $Proxy89.copyToTrash
      1. com.sun.proxy.$Proxy89.copyToTrash(Unknown Source)[na:na]
      1 frame
    16. org.artifactory.repo
      StorageInterceptorsImpl.beforeDelete
      1. org.artifactory.repo.interceptor.TrashInterceptor.beforeDelete(TrashInterceptor.java:51)[artifactory-core-4.7.5.jar:na]
      2. org.artifactory.repo.interceptor.storage.StorageInterceptorsImpl.beforeDelete(StorageInterceptorsImpl.java:76)[artifactory-core-4.7.5.jar:na]
      2 frames
    17. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_65]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_65]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_65]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_65]
      4 frames
    18. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2 frames
    19. com.sun.proxy
      $Proxy64.beforeDelete
      1. com.sun.proxy.$Proxy64.beforeDelete(Unknown Source)[na:na]
      1 frame
    20. org.artifactory.storage
      DbMutableFile.delete
      1. org.artifactory.storage.db.fs.model.DbMutableItem.fireBeforeDeleteEvent(DbMutableItem.java:283)[artifactory-storage-db-4.7.5.jar:na]
      2. org.artifactory.storage.db.fs.model.DbMutableFile.delete(DbMutableFile.java:154)[artifactory-storage-db-4.7.5.jar:na]
      2 frames
    21. org.artifactory.repo
      RepositoryServiceImpl.undeployInTx
      1. org.artifactory.repo.db.DbStoringRepoMixin.undeploy(DbStoringRepoMixin.java:688)[artifactory-core-4.7.5.jar:na]
      2. org.artifactory.repo.db.DbLocalRepo.undeploy(DbLocalRepo.java:186)[artifactory-core-4.7.5.jar:na]
      3. org.artifactory.repo.service.RepositoryServiceImpl.undeployInTx(RepositoryServiceImpl.java:1312)[artifactory-core-4.7.5.jar:na]
      3 frames
    22. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_65]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_65]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_65]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_65]
      4 frames
    23. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      3 frames
    24. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      3 frames
    25. org.artifactory.storage
      LockingAdvice.invoke
      1. org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)[artifactory-storage-common-4.7.5.jar:na]
      1 frame
    26. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2 frames
    27. com.sun.proxy
      $Proxy45.undeployInTx
      1. com.sun.proxy.$Proxy45.undeployInTx(Unknown Source)[na:na]
      1 frame
    28. org.artifactory.repo
      RepositoryServiceImpl.undeployMultiTransaction
      1. org.artifactory.repo.service.RepositoryServiceImpl.deleteSingleLeaf(RepositoryServiceImpl.java:1304)[artifactory-core-4.7.5.jar:na]
      2. org.artifactory.repo.service.RepositoryServiceImpl.undeploySingleItemTransactions(RepositoryServiceImpl.java:1273)[artifactory-core-4.7.5.jar:na]
      3. org.artifactory.repo.service.RepositoryServiceImpl.deleteFoldersLeafsBySingleTrx(RepositoryServiceImpl.java:1291)[artifactory-core-4.7.5.jar:na]
      4. org.artifactory.repo.service.RepositoryServiceImpl.undeploySingleItemTransactions(RepositoryServiceImpl.java:1275)[artifactory-core-4.7.5.jar:na]
      5. org.artifactory.repo.service.RepositoryServiceImpl.deleteFoldersLeafsBySingleTrx(RepositoryServiceImpl.java:1291)[artifactory-core-4.7.5.jar:na]
      6. org.artifactory.repo.service.RepositoryServiceImpl.undeploySingleItemTransactions(RepositoryServiceImpl.java:1275)[artifactory-core-4.7.5.jar:na]
      7. org.artifactory.repo.service.RepositoryServiceImpl.undeployMultiTransaction(RepositoryServiceImpl.java:1257)[artifactory-core-4.7.5.jar:na]
      8. org.artifactory.repo.service.RepositoryServiceImpl.undeployMultiTransaction(RepositoryServiceImpl.java:1)[artifactory-core-4.7.5.jar:na]
      8 frames
    29. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_65]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_65]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_65]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_65]
      4 frames
    30. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      3 frames
    31. org.artifactory.request
      RequestAdvice.invoke
      1. org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:65)[artifactory-core-4.7.5.jar:na]
      1 frame
    32. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2 frames
    33. com.sun.proxy
      $Proxy45.undeployMultiTransaction
      1. com.sun.proxy.$Proxy45.undeployMultiTransaction(Unknown Source)[na:na]
      1 frame
    34. org.artifactory.ui
      DeleteArtifactService.execute
      1. org.artifactory.ui.rest.service.artifacts.browse.treebrowser.actions.DeleteArtifactService.deleteArtifact(DeleteArtifactService.java:59)[artifactory-rest-ui-4.7.5.jar:na]
      2. org.artifactory.ui.rest.service.artifacts.browse.treebrowser.actions.DeleteArtifactService.execute(DeleteArtifactService.java:33)[artifactory-rest-ui-4.7.5.jar:na]
      2 frames
    35. org.artifactory.rest
      BaseResource.runService
      1. org.artifactory.rest.common.service.ServiceExecutor.process(ServiceExecutor.java:18)[artifactory-rest-common-4.7.5.jar:na]
      2. org.artifactory.rest.common.resource.BaseResource.runService(BaseResource.java:72)[artifactory-rest-common-4.7.5.jar:na]
      2 frames
    36. org.artifactory.ui
      ArtifactActionsResource.deleteArtifact
      1. org.artifactory.ui.rest.resource.artifacts.browse.treebrowser.actions.ArtifactActionsResource.deleteArtifact(ArtifactActionsResource.java:112)[artifactory-rest-ui-4.7.5.jar:na]
      1 frame
    37. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_65]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_65]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_65]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_65]
      4 frames
    38. Jersey
      WebApplicationImpl.handleRequest
      1. com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[jersey-server-1.19.jar:1.19]
      2. com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)[jersey-server-1.19.jar:1.19]
      3. com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[jersey-server-1.19.jar:1.19]
      4. com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)[jersey-server-1.19.jar:1.19]
      5. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-server-1.19.jar:1.19]
      6. com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[jersey-server-1.19.jar:1.19]
      7. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-server-1.19.jar:1.19]
      8. com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[jersey-server-1.19.jar:1.19]
      9. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)[jersey-server-1.19.jar:1.19]
      10. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)[jersey-server-1.19.jar:1.19]
      11. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)[jersey-server-1.19.jar:1.19]
      12. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)[jersey-server-1.19.jar:1.19]
      12 frames
    39. Jersey
      ServletContainer.service
      1. com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)[jersey-servlet-1.19.jar:1.19]
      2. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)[jersey-servlet-1.19.jar:1.19]
      3. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)[jersey-servlet-1.19.jar:1.19]
      3 frames
    40. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[servlet-api.jar:na]
      1 frame
    41. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)[catalina.jar:8.0.32]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.32]
      2 frames
    42. org.artifactory.webapp
      RepoFilter.doFilter
      1. org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:198)[artifactory-web-application-4.7.5.jar:na]
      2. org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:89)[artifactory-web-application-4.7.5.jar:na]
      2 frames
    43. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.32]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.32]
      2 frames
    44. org.artifactory.webapp
      AccessFilter.doFilter
      1. org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:351)[artifactory-web-application-4.7.5.jar:na]
      2. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:198)[artifactory-web-application-4.7.5.jar:na]
      3. org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:154)[artifactory-web-application-4.7.5.jar:na]
      3 frames
    45. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.32]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.32]
      2 frames
    46. org.artifactory.webapp
      RequestFilter.doFilter
      1. org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:65)[artifactory-web-application-4.7.5.jar:na]
      1 frame
    47. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.32]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.32]
      2 frames
    48. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:109)[artifactory-web-application-4.7.5.jar:na]
      1 frame
    49. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.32]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.32]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)[catalina.jar:8.0.32]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[catalina.jar:8.0.32]
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)[catalina.jar:8.0.32]
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.0.32]
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[catalina.jar:8.0.32]
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)[catalina.jar:8.0.32]
      8 frames
    50. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)[tomcat-coyote.jar:8.0.32]
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)[tomcat-coyote.jar:8.0.32]
      3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)[tomcat-coyote.jar:8.0.32]
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)[tomcat-coyote.jar:8.0.32]
      4 frames
    51. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_65]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_65]
      2 frames
    52. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.32]
      1 frame
    53. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_65]
      1 frame