java.lang.IllegalArgumentException

Could not create file system item Parent bower-local/bootstrap must be a folder

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web22912

  • via JFrog JIRA by Daniel Augustine, 10 months ago
    Could not create file system item Parent bower-local/bootstrap must be a folder
  • via JFrog JIRA by Daniel Augustine, 1 year ago
    Could not create file system item Parent bower-local/bootstrap must be a folder
  • via JFrog JIRA by Mor Iluz, 7 months ago
    Could not create file system item Parent libs-release-local/test must be a folder
  • Stack trace

    • 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 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.