org.artifactory.sapi.common.RepositoryRuntimeException: Could not move '/repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2]' to '/trash/816352/1392217353/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2]'.

JFrog JIRA | David Koudela | 5 years ago
  1. 0

    Artifactory had created directories with the same name appended by suffix like [2] . Such directories and its child elements cannot be accessed via HTTP (square brackets are not allowed without encoding) and cannot be deleted by WebApp. Artifactory log: ########################################################### ### Artifactory successfully started (8 seconds) ### ########################################################### 2012-02-15 11:04:26,131 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-63c73c701c55bbee4d572365b591736f148d7a67[2] does not have a valid name 2011.2.0.119.0-63c73c701c55bbee4d572365b591736f148d7a67 2012-02-15 11:04:26,133 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-63c73c701c55bbee4d572365b591736f148d7a67[3] does not have a valid name 2011.2.0.119.0-63c73c701c55bbee4d572365b591736f148d7a67 2012-02-15 11:04:26,134 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-065030c76b68f69401381438448eeab28717e4b5[2] does not have a valid name 2011.2.0.119.0-065030c76b68f69401381438448eeab28717e4b5 2012-02-15 11:04:26,147 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-89e3dadff5a3d4d72694e01cd2af38b9f0bafd93[2] does not have a valid name 2011.2.0.119.0-89e3dadff5a3d4d72694e01cd2af38b9f0bafd93 2012-02-15 11:04:26,149 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-89e3dadff5a3d4d72694e01cd2af38b9f0bafd93[3] does not have a valid name 2011.2.0.119.0-89e3dadff5a3d4d72694e01cd2af38b9f0bafd93 2012-02-15 11:04:26,150 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-89e3dadff5a3d4d72694e01cd2af38b9f0bafd93[4] does not have a valid name 2011.2.0.119.0-89e3dadff5a3d4d72694e01cd2af38b9f0bafd93 2012-02-15 11:04:26,151 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.1-9a75a6219a5927c7dc12cce3d3991a0cf9883304[2] does not have a valid name 2011.2.0.119.1-9a75a6219a5927c7dc12cce3d3991a0cf9883304 2012-02-15 11:04:26,153 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-bdc93589f77a25e2ea6fc50299d5f7536e8de862[2] does not have a valid name 2011.2.0.119.0-bdc93589f77a25e2ea6fc50299d5f7536e8de862 2012-02-15 11:04:26,156 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-949649cf1b5a4e22bb51fba3cd7c329d8e92d57a[2] does not have a valid name 2011.2.0.119.0-949649cf1b5a4e22bb51fba3cd7c329d8e92d57a 2012-02-15 11:04:26,158 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-669fcd9fe270ca4eb4aac057362058791f0cb178[2] does not have a valid name 2011.2.0.119.0-669fcd9fe270ca4eb4aac057362058791f0cb178 2012-02-15 11:04:26,159 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.1-3a5579b9e0e1537f3a7dcd670bd7903ea6dbb869[2] does not have a valid name 2011.2.0.119.1-3a5579b9e0e1537f3a7dcd670bd7903ea6dbb869 2012-02-15 11:04:26,161 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-e6add6ba6a790a822e2e93ce0d016c8cbaf453f6[2] does not have a valid name 2011.2.0.119.0-e6add6ba6a790a822e2e93ce0d016c8cbaf453f6 2012-02-15 11:04:26,162 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-3669aa1d33da6941aa449a456df0a9405c8e0173[2] does not have a valid name 2011.2.0.119.0-3669aa1d33da6941aa449a456df0a9405c8e0173 2012-02-15 11:04:26,166 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.1-73d28ee19ec273937bf255d91e8febcb5d7ed680[2] does not have a valid name 2011.2.0.119.1-73d28ee19ec273937bf255d91e8febcb5d7ed680 2012-02-15 11:04:26,167 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-fdc1e13fbe129b7c9f27b798737955e9317a9a89[2] does not have a valid name 2011.2.0.119.0-fdc1e13fbe129b7c9f27b798737955e9317a9a89 2012-02-15 11:04:26,168 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.1-46df85e2c8b571a55385c49fc7c09b153e7a981b[2] does not have a valid name 2011.2.0.119.1-46df85e2c8b571a55385c49fc7c09b153e7a981b 2012-02-15 11:04:26,170 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.1-00d625b7e0839c8fb23a9ddf1cd8e4847dd9ccf0[2] does not have a valid name 2011.2.0.119.1-00d625b7e0839c8fb23a9ddf1cd8e4847dd9ccf0 2012-02-15 11:04:26,171 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.1-00d625b7e0839c8fb23a9ddf1cd8e4847dd9ccf0[3] does not have a valid name 2011.2.0.119.1-00d625b7e0839c8fb23a9ddf1cd8e4847dd9ccf0 2012-02-15 11:04:26,172 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-26b626e27cc184304527b72c7d8da2689a9cb4c5[2] does not have a valid name 2011.2.0.119.0-26b626e27cc184304527b72c7d8da2689a9cb4c5 2012-02-15 11:04:26,175 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-9049483c7a0183790a43ed448411b12eef4fca0b[2] does not have a valid name 2011.2.0.119.0-9049483c7a0183790a43ed448411b12eef4fca0b 2012-02-15 11:04:26,176 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2] does not have a valid name 2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e 2012-02-15 11:04:33,866 ["ajp-bio-8019"-exec-9] [ERROR] (o.a.j.JcrServiceImpl:531) - Could not move items to trash. org.artifactory.sapi.common.RepositoryRuntimeException: Could not move '/repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2]' to '/trash/816352/1392217353/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2]'. at org.artifactory.jcr.JcrSession.move(JcrSession.java:185) [artifactory-jcr-storage-2.5.0.jar:na] at org.artifactory.jcr.trash.Trashman.addPathsToTrash(Trashman.java:97) [artifactory-jcr-storage-2.5.0.jar:na] at org.artifactory.jcr.trash.Trashman.addItemsToTrash(Trashman.java:81) [artifactory-jcr-storage-2.5.0.jar:na] at org.artifactory.jcr.JcrServiceImpl.trash(JcrServiceImpl.java:529) [artifactory-jcr-storage-2.5.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_29] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_29] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_29] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_29] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at $Proxy22.trash(Unknown Source) [na:na] at org.artifactory.repo.jcr.StoringRepoMixin.undeploy(StoringRepoMixin.java:540) [artifactory-core-2.5.0.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.undeploy(JcrRepoBase.java:404) [artifactory-core-2.5.0.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploy(RepositoryServiceImpl.java:1161) [artifactory-core-2.5.0.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploy(RepositoryServiceImpl.java:1147) [artifactory-core-2.5.0.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploy(RepositoryServiceImpl.java:1176) [artifactory-core-2.5.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_29] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_29] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_29] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_29] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:68) [artifactory-core-2.5.0.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121) [artifactory-jcr-storage-2.5.0.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:49) [artifactory-jcr-storage-2.5.0.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at $Proxy34.undeploy(Unknown Source) [na:na] at org.artifactory.webapp.actionable.action.DeleteAction.callUndeploy(DeleteAction.java:79) [artifactory-web-application-2.5.0.jar:na] at org.artifactory.webapp.actionable.action.DeleteAction.deleteItem(DeleteAction.java:65) [artifactory-web-application-2.5.0.jar:na] at org.artifactory.webapp.actionable.action.DeleteAction$1.onConfirm(DeleteAction.java:57) [artifactory-web-application-2.5.0.jar:na] at org.artifactory.common.wicket.component.confirm.AjaxConfirm$ConfirmAjaxBehavior.onEvent(AjaxConfirm.java:60) [artifactory-web-common-2.5.0.jar:na] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:166) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:316) [wicket-core-1.5.3.jar:1.5.3] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_29] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_29] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_29] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_29] at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:260) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:255) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:750) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) [wicket-request-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:252) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:209) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:280) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218) [wicket-core-1.5.3.jar:1.5.3] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.14] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:148) [artifactory-web-application-2.5.0.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85) [artifactory-web-application-2.5.0.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.14] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:276) [artifactory-web-application-2.5.0.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:185) [artifactory-web-application-2.5.0.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:147) [artifactory-web-application-2.5.0.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.14] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:55) [artifactory-web-application-2.5.0.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.14] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:68) [artifactory-web-application-2.5.0.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.14] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) [catalina.jar:7.0.14] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) [catalina.jar:7.0.14] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) [catalina.jar:7.0.14] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) [catalina.jar:7.0.14] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) [catalina.jar:7.0.14] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.14] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399) [catalina.jar:7.0.14] at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:303) [tomcat-coyote.jar:7.0.14] at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:183) [tomcat-coyote.jar:7.0.14] at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:169) [tomcat-coyote.jar:7.0.14] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:311) [tomcat-coyote.jar:7.0.14] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_29] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_29] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_29] Caused by: javax.jcr.RepositoryException: /trash/816352/1392217353/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2]: invalid destination path (subscript in name element is not allowed) at org.apache.jackrabbit.core.SessionMoveOperation.<init>(SessionMoveOperation.java:64) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.apache.jackrabbit.core.SessionImpl.move(SessionImpl.java:814) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.artifactory.jcr.JcrSession.move(JcrSession.java:172) [artifactory-jcr-storage-2.5.0.jar:na] ... 82 common frames omitted 2012-02-15 11:06:22,037 ["ajp-bio-8019"-exec-6] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2] does not have a valid name 2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e This happens when several scripts download the same artifact at the same time. Then the artifact and its directory becomes duplicated. If I delete the parent directory, the artifact directory no.2 replaces the parent artifact directory. If there are more than two artifact directories, then their index is decreased by one. Additionally, after the parent directory has been deleted, there is an internal server error displayed on the web page.

    JFrog JIRA | 5 years ago | David Koudela
    org.artifactory.sapi.common.RepositoryRuntimeException: Could not move '/repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2]' to '/trash/816352/1392217353/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2]'.
  2. 0

    Artifactory had created directories with the same name appended by suffix like [2] . Such directories and its child elements cannot be accessed via HTTP (square brackets are not allowed without encoding) and cannot be deleted by WebApp. Artifactory log: ########################################################### ### Artifactory successfully started (8 seconds) ### ########################################################### 2012-02-15 11:04:26,131 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-63c73c701c55bbee4d572365b591736f148d7a67[2] does not have a valid name 2011.2.0.119.0-63c73c701c55bbee4d572365b591736f148d7a67 2012-02-15 11:04:26,133 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-63c73c701c55bbee4d572365b591736f148d7a67[3] does not have a valid name 2011.2.0.119.0-63c73c701c55bbee4d572365b591736f148d7a67 2012-02-15 11:04:26,134 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-065030c76b68f69401381438448eeab28717e4b5[2] does not have a valid name 2011.2.0.119.0-065030c76b68f69401381438448eeab28717e4b5 2012-02-15 11:04:26,147 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-89e3dadff5a3d4d72694e01cd2af38b9f0bafd93[2] does not have a valid name 2011.2.0.119.0-89e3dadff5a3d4d72694e01cd2af38b9f0bafd93 2012-02-15 11:04:26,149 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-89e3dadff5a3d4d72694e01cd2af38b9f0bafd93[3] does not have a valid name 2011.2.0.119.0-89e3dadff5a3d4d72694e01cd2af38b9f0bafd93 2012-02-15 11:04:26,150 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-89e3dadff5a3d4d72694e01cd2af38b9f0bafd93[4] does not have a valid name 2011.2.0.119.0-89e3dadff5a3d4d72694e01cd2af38b9f0bafd93 2012-02-15 11:04:26,151 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.1-9a75a6219a5927c7dc12cce3d3991a0cf9883304[2] does not have a valid name 2011.2.0.119.1-9a75a6219a5927c7dc12cce3d3991a0cf9883304 2012-02-15 11:04:26,153 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-bdc93589f77a25e2ea6fc50299d5f7536e8de862[2] does not have a valid name 2011.2.0.119.0-bdc93589f77a25e2ea6fc50299d5f7536e8de862 2012-02-15 11:04:26,156 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-949649cf1b5a4e22bb51fba3cd7c329d8e92d57a[2] does not have a valid name 2011.2.0.119.0-949649cf1b5a4e22bb51fba3cd7c329d8e92d57a 2012-02-15 11:04:26,158 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-669fcd9fe270ca4eb4aac057362058791f0cb178[2] does not have a valid name 2011.2.0.119.0-669fcd9fe270ca4eb4aac057362058791f0cb178 2012-02-15 11:04:26,159 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.1-3a5579b9e0e1537f3a7dcd670bd7903ea6dbb869[2] does not have a valid name 2011.2.0.119.1-3a5579b9e0e1537f3a7dcd670bd7903ea6dbb869 2012-02-15 11:04:26,161 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-e6add6ba6a790a822e2e93ce0d016c8cbaf453f6[2] does not have a valid name 2011.2.0.119.0-e6add6ba6a790a822e2e93ce0d016c8cbaf453f6 2012-02-15 11:04:26,162 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-3669aa1d33da6941aa449a456df0a9405c8e0173[2] does not have a valid name 2011.2.0.119.0-3669aa1d33da6941aa449a456df0a9405c8e0173 2012-02-15 11:04:26,166 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.1-73d28ee19ec273937bf255d91e8febcb5d7ed680[2] does not have a valid name 2011.2.0.119.1-73d28ee19ec273937bf255d91e8febcb5d7ed680 2012-02-15 11:04:26,167 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-fdc1e13fbe129b7c9f27b798737955e9317a9a89[2] does not have a valid name 2011.2.0.119.0-fdc1e13fbe129b7c9f27b798737955e9317a9a89 2012-02-15 11:04:26,168 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.1-46df85e2c8b571a55385c49fc7c09b153e7a981b[2] does not have a valid name 2011.2.0.119.1-46df85e2c8b571a55385c49fc7c09b153e7a981b 2012-02-15 11:04:26,170 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.1-00d625b7e0839c8fb23a9ddf1cd8e4847dd9ccf0[2] does not have a valid name 2011.2.0.119.1-00d625b7e0839c8fb23a9ddf1cd8e4847dd9ccf0 2012-02-15 11:04:26,171 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.1-00d625b7e0839c8fb23a9ddf1cd8e4847dd9ccf0[3] does not have a valid name 2011.2.0.119.1-00d625b7e0839c8fb23a9ddf1cd8e4847dd9ccf0 2012-02-15 11:04:26,172 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-26b626e27cc184304527b72c7d8da2689a9cb4c5[2] does not have a valid name 2011.2.0.119.0-26b626e27cc184304527b72c7d8da2689a9cb4c5 2012-02-15 11:04:26,175 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.119.0-9049483c7a0183790a43ed448411b12eef4fca0b[2] does not have a valid name 2011.2.0.119.0-9049483c7a0183790a43ed448411b12eef4fca0b 2012-02-15 11:04:26,176 ["ajp-bio-8019"-exec-1] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2] does not have a valid name 2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e 2012-02-15 11:04:33,866 ["ajp-bio-8019"-exec-9] [ERROR] (o.a.j.JcrServiceImpl:531) - Could not move items to trash. org.artifactory.sapi.common.RepositoryRuntimeException: Could not move '/repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2]' to '/trash/816352/1392217353/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2]'. at org.artifactory.jcr.JcrSession.move(JcrSession.java:185) [artifactory-jcr-storage-2.5.0.jar:na] at org.artifactory.jcr.trash.Trashman.addPathsToTrash(Trashman.java:97) [artifactory-jcr-storage-2.5.0.jar:na] at org.artifactory.jcr.trash.Trashman.addItemsToTrash(Trashman.java:81) [artifactory-jcr-storage-2.5.0.jar:na] at org.artifactory.jcr.JcrServiceImpl.trash(JcrServiceImpl.java:529) [artifactory-jcr-storage-2.5.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_29] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_29] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_29] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_29] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at $Proxy22.trash(Unknown Source) [na:na] at org.artifactory.repo.jcr.StoringRepoMixin.undeploy(StoringRepoMixin.java:540) [artifactory-core-2.5.0.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.undeploy(JcrRepoBase.java:404) [artifactory-core-2.5.0.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploy(RepositoryServiceImpl.java:1161) [artifactory-core-2.5.0.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploy(RepositoryServiceImpl.java:1147) [artifactory-core-2.5.0.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploy(RepositoryServiceImpl.java:1176) [artifactory-core-2.5.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_29] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_29] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_29] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_29] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:68) [artifactory-core-2.5.0.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121) [artifactory-jcr-storage-2.5.0.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:49) [artifactory-jcr-storage-2.5.0.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE] at $Proxy34.undeploy(Unknown Source) [na:na] at org.artifactory.webapp.actionable.action.DeleteAction.callUndeploy(DeleteAction.java:79) [artifactory-web-application-2.5.0.jar:na] at org.artifactory.webapp.actionable.action.DeleteAction.deleteItem(DeleteAction.java:65) [artifactory-web-application-2.5.0.jar:na] at org.artifactory.webapp.actionable.action.DeleteAction$1.onConfirm(DeleteAction.java:57) [artifactory-web-application-2.5.0.jar:na] at org.artifactory.common.wicket.component.confirm.AjaxConfirm$ConfirmAjaxBehavior.onEvent(AjaxConfirm.java:60) [artifactory-web-common-2.5.0.jar:na] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:166) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:316) [wicket-core-1.5.3.jar:1.5.3] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_29] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_29] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_29] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_29] at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:260) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:255) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:750) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) [wicket-request-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:252) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:209) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:280) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218) [wicket-core-1.5.3.jar:1.5.3] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.14] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:148) [artifactory-web-application-2.5.0.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85) [artifactory-web-application-2.5.0.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.14] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:276) [artifactory-web-application-2.5.0.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:185) [artifactory-web-application-2.5.0.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:147) [artifactory-web-application-2.5.0.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.14] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:55) [artifactory-web-application-2.5.0.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.14] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:68) [artifactory-web-application-2.5.0.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.14] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) [catalina.jar:7.0.14] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) [catalina.jar:7.0.14] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) [catalina.jar:7.0.14] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) [catalina.jar:7.0.14] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) [catalina.jar:7.0.14] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.14] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399) [catalina.jar:7.0.14] at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:303) [tomcat-coyote.jar:7.0.14] at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:183) [tomcat-coyote.jar:7.0.14] at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:169) [tomcat-coyote.jar:7.0.14] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:311) [tomcat-coyote.jar:7.0.14] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_29] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_29] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_29] Caused by: javax.jcr.RepositoryException: /trash/816352/1392217353/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2]: invalid destination path (subscript in name element is not allowed) at org.apache.jackrabbit.core.SessionMoveOperation.<init>(SessionMoveOperation.java:64) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.apache.jackrabbit.core.SessionImpl.move(SessionImpl.java:814) [jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b] at org.artifactory.jcr.JcrSession.move(JcrSession.java:172) [artifactory-jcr-storage-2.5.0.jar:na] ... 82 common frames omitted 2012-02-15 11:06:22,037 ["ajp-bio-8019"-exec-6] [ERROR] (o.a.j.u.JcrHelper :182) - Item /repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2] does not have a valid name 2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e This happens when several scripts download the same artifact at the same time. Then the artifact and its directory becomes duplicated. If I delete the parent directory, the artifact directory no.2 replaces the parent artifact directory. If there are more than two artifact directories, then their index is decreased by one. Additionally, after the parent directory has been deleted, there is an internal server error displayed on the web page.

    JFrog JIRA | 5 years ago | David Koudela
    org.artifactory.sapi.common.RepositoryRuntimeException: Could not move '/repositories/master-proxy-cache/com/netsuite/dbdump/current-snapshot/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2]' to '/trash/816352/1392217353/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2]'.
  3. 0

    jcr.RepositoryException at a node with special characters

    GitHub | 5 months ago | akiranmutnuru
    javax.jcr.RepositoryException: Invalid last path element for adding node feature[2] relative to node /content/abcd /masterdata/products/2PLAY_COMFORT120/features
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Consistent stack track on copy, "Invalid last path element for adding node event[2] relative to node"

    GitHub | 1 year ago | fortman
    javax.jcr.RepositoryException: Invalid last path element for adding node event[2] relative to node /content/(OBFUSCATED_PATH)/jcr:content
  6. 0

    We have a multi-module build. The master POM, which also defines the modules, has the version defined as a property: {code:xml} <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.foo.bar</groupId> <artifactId>foo-master</artifactId> <version>${pomVersion}</version> <description>Foo</description> <packaging>pom</packaging> ... <modules> <module>foo-child</module> </modules> ... <properties> <pomVersion>1.0</pomVersion> </properties> </project> {code} The module POMs look like this: {code:xml} <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.foo.bar</groupId> <artifactId>foo-master</artifactId> <version>${pomVersion}</version> </parent> <artifactId>foo-child</artifactId> ... </project> {code} It is not possible to deploy these artifacts to Artifactory. {noformat} 2007-12-03 11:34:48,261 [ERROR] webapp.servlet.RepoFilter - Upload request failed java.lang.RuntimeException: Failed to save resource '{foo-repo:com/foo/bar/foo-master/1.0/foo-master-1.0.pom}'. at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:407) at org.artifactory.engine.UploadEngine.process(UploadEngine.java:158) at org.artifactory.webapp.servlet.RepoFilter.handleUploadRequest(RepoFilter.java:104) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:75) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:75) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) Caused by: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:190) at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:360) ... 25 more Caused by: javax.jcr.RepositoryException: Failed to import resource '{foo-repo:com/foo/bar/foo-master/1.0/foo-master-1.0.pom}': The target deployment path 'com/foo/bar/foo-master/1.0/foo-master-1.0.pom' does not match the POM's expected path prefix 'com/foo/bar/foo-master/${pomVersion}' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually.: The target deployment path 'com/foo/bar/foo-master/1.0/foo-master-1.0.pom' does not match the POM's expected path prefix 'com/foo/bar/foo-master/${pomVersion}' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually. at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:383) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:362) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:186) ... 26 more Caused by: javax.jcr.RepositoryException: The target deployment path 'com/foo/bar/foo-master/1.0/foo-master-1.0.pom' does not match the POM's expected path prefix 'com/foo/bar/foo-master/${pomVersion}' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually. at org.artifactory.maven.MavenUtils.validatePomTargetPath(MavenUtils.java:145) at org.artifactory.jcr.JcrHelper.importStream(JcrHelper.java:362) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:374) ... 28 more {noformat}

    JFrog JIRA | 9 years ago | Reinhard Naegele
    java.lang.RuntimeException: Failed to save resource '{foo-repo:com/foo/bar/foo-master/1.0/foo-master-1.0.pom}'.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.jcr.RepositoryException

      /trash/816352/1392217353/2011.2.0.102.0-0c1a5cd095a27422bce75bf768385a73b7036f6e[2]: invalid destination path (subscript in name element is not allowed)

      at org.apache.jackrabbit.core.SessionMoveOperation.<init>()
    2. Jackrabbit Core
      SessionImpl.move
      1. org.apache.jackrabbit.core.SessionMoveOperation.<init>(SessionMoveOperation.java:64)[jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b]
      2. org.apache.jackrabbit.core.SessionImpl.move(SessionImpl.java:814)[jackrabbit-core-jfrog-2.2.8b.jar:2.2.8b]
      2 frames
    3. org.artifactory.jcr
      JcrServiceImpl.trash
      1. org.artifactory.jcr.JcrSession.move(JcrSession.java:172)[artifactory-jcr-storage-2.5.0.jar:na]
      2. org.artifactory.jcr.trash.Trashman.addPathsToTrash(Trashman.java:97)[artifactory-jcr-storage-2.5.0.jar:na]
      3. org.artifactory.jcr.trash.Trashman.addItemsToTrash(Trashman.java:81)[artifactory-jcr-storage-2.5.0.jar:na]
      4. org.artifactory.jcr.JcrServiceImpl.trash(JcrServiceImpl.java:529)[artifactory-jcr-storage-2.5.0.jar:na]
      4 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_29]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_29]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_29]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_29]
      4 frames
    5. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      2 frames
    6. Unknown
      $Proxy22.trash
      1. $Proxy22.trash(Unknown Source)[na:na]
      1 frame
    7. org.artifactory.repo
      RepositoryServiceImpl.undeploy
      1. org.artifactory.repo.jcr.StoringRepoMixin.undeploy(StoringRepoMixin.java:540)[artifactory-core-2.5.0.jar:na]
      2. org.artifactory.repo.jcr.JcrRepoBase.undeploy(JcrRepoBase.java:404)[artifactory-core-2.5.0.jar:na]
      3. org.artifactory.repo.service.RepositoryServiceImpl.undeploy(RepositoryServiceImpl.java:1161)[artifactory-core-2.5.0.jar:na]
      4. org.artifactory.repo.service.RepositoryServiceImpl.undeploy(RepositoryServiceImpl.java:1147)[artifactory-core-2.5.0.jar:na]
      5. org.artifactory.repo.service.RepositoryServiceImpl.undeploy(RepositoryServiceImpl.java:1176)[artifactory-core-2.5.0.jar:na]
      5 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_29]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_29]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_29]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_29]
      4 frames
    9. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      3 frames
    10. org.artifactory.request
      RequestAdvice.invoke
      1. org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:68)[artifactory-core-2.5.0.jar:na]
      1 frame
    11. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      1 frame
    12. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      1 frame
    13. org.artifactory.jcr
      LockingAdvice.invoke
      1. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121)[artifactory-jcr-storage-2.5.0.jar:na]
      2. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:49)[artifactory-jcr-storage-2.5.0.jar:na]
      2 frames
    14. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      2 frames
    15. Unknown
      $Proxy34.undeploy
      1. $Proxy34.undeploy(Unknown Source)[na:na]
      1 frame
    16. org.artifactory.webapp
      DeleteAction$1.onConfirm
      1. org.artifactory.webapp.actionable.action.DeleteAction.callUndeploy(DeleteAction.java:79)[artifactory-web-application-2.5.0.jar:na]
      2. org.artifactory.webapp.actionable.action.DeleteAction.deleteItem(DeleteAction.java:65)[artifactory-web-application-2.5.0.jar:na]
      3. org.artifactory.webapp.actionable.action.DeleteAction$1.onConfirm(DeleteAction.java:57)[artifactory-web-application-2.5.0.jar:na]
      3 frames
    17. org.artifactory.common
      AjaxConfirm$ConfirmAjaxBehavior.onEvent
      1. org.artifactory.common.wicket.component.confirm.AjaxConfirm$ConfirmAjaxBehavior.onEvent(AjaxConfirm.java:60)[artifactory-web-common-2.5.0.jar:na]
      1 frame
    18. Wicket Core
      AbstractDefaultAjaxBehavior.onRequest
      1. org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:166)[wicket-core-1.5.3.jar:1.5.3]
      2. org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:316)[wicket-core-1.5.3.jar:1.5.3]
      2 frames
    19. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_29]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_29]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_29]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_29]
      4 frames
    20. Wicket Core
      RequestListenerInterface.invoke
      1. org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:260)[wicket-core-1.5.3.jar:1.5.3]
      2. org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)[wicket-core-1.5.3.jar:1.5.3]
      2 frames
    21. Wicket Request
      ListenerInterfaceRequestHandler.respond
      1. org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:255)[wicket-core-1.5.3.jar:1.5.3]
      2. org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234)[wicket-core-1.5.3.jar:1.5.3]
      2 frames
    22. Wicket Core
      RequestCycle$HandlerExecutor.respond
      1. org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:750)[wicket-core-1.5.3.jar:1.5.3]
      1 frame
    23. Wicket Request
      RequestHandlerStack.execute
      1. org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)[wicket-request-1.5.3.jar:1.5.3]
      1 frame
    24. Wicket Core
      WicketFilter.doFilter
      1. org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:252)[wicket-core-1.5.3.jar:1.5.3]
      2. org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:209)[wicket-core-1.5.3.jar:1.5.3]
      3. org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:280)[wicket-core-1.5.3.jar:1.5.3]
      4. org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)[wicket-core-1.5.3.jar:1.5.3]
      5. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)[wicket-core-1.5.3.jar:1.5.3]
      5 frames
    25. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)[catalina.jar:7.0.14]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)[catalina.jar:7.0.14]
      2 frames
    26. org.artifactory.webapp
      RepoFilter.doFilter
      1. org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:148)[artifactory-web-application-2.5.0.jar:na]
      2. org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85)[artifactory-web-application-2.5.0.jar:na]
      2 frames
    27. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)[catalina.jar:7.0.14]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)[catalina.jar:7.0.14]
      2 frames
    28. org.artifactory.webapp
      AccessFilter.doFilter
      1. org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:276)[artifactory-web-application-2.5.0.jar:na]
      2. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:185)[artifactory-web-application-2.5.0.jar:na]
      3. org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:147)[artifactory-web-application-2.5.0.jar:na]
      3 frames
    29. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)[catalina.jar:7.0.14]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)[catalina.jar:7.0.14]
      2 frames
    30. org.artifactory.webapp
      RequestFilter.doFilter
      1. org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:55)[artifactory-web-application-2.5.0.jar:na]
      1 frame
    31. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)[catalina.jar:7.0.14]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)[catalina.jar:7.0.14]
      2 frames
    32. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:68)[artifactory-web-application-2.5.0.jar:na]
      1 frame
    33. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)[catalina.jar:7.0.14]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)[catalina.jar:7.0.14]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)[catalina.jar:7.0.14]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)[catalina.jar:7.0.14]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)[catalina.jar:7.0.14]
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)[catalina.jar:7.0.14]
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)[catalina.jar:7.0.14]
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)[catalina.jar:7.0.14]
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)[catalina.jar:7.0.14]
      9 frames
    34. org.apache.coyote
      AjpProtocol$AjpConnectionHandler.process
      1. org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:303)[tomcat-coyote.jar:7.0.14]
      2. org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:183)[tomcat-coyote.jar:7.0.14]
      3. org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:169)[tomcat-coyote.jar:7.0.14]
      3 frames
    35. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:311)[tomcat-coyote.jar:7.0.14]
      1 frame
    36. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_29]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_29]
      3. java.lang.Thread.run(Thread.java:662)[na:1.6.0_29]
      3 frames