java.lang.RuntimeException: Failed to execute JcrCallback.

JFrog JIRA | Frederic Simon | 10 years ago
  1. 0

    Trying to import the zip file of jade plugins 1.3.8 I got: 2007-06-01 18:27:19,278 [INFO ] artifactory.repo.JcrRepo - Importing directory 'org' into '3rdp-releases'... 2007-06-01 18:27:19,279 [INFO ] artifactory.repo.JcrRepo - Importing directory 'jfrog' into '3rdp-releases'... 2007-06-01 18:27:19,279 [INFO ] artifactory.repo.JcrRepo - Importing directory 'jade' into '3rdp-releases'... 2007-06-01 18:27:19,280 [INFO ] artifactory.repo.JcrRepo - Importing directory 'components' into '3rdp-releases'... 2007-06-01 18:27:19,280 [INFO ] artifactory.repo.JcrRepo - Importing directory 'jade-jxr' into '3rdp-releases'... 2007-06-01 18:27:19,281 [INFO ] artifactory.repo.JcrRepo - Importing directory '1.3.8' into '3rdp-releases'... 2007-06-01 18:27:19,281 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-jxr-1.3.8.pom.md5' into '3rdp-releases'... 2007-06-01 18:27:19,497 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-jxr-1.3.8.jar.md5' into '3rdp-releases'... 2007-06-01 18:27:19,595 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-jxr-1.3.8.pom' into '3rdp-releases'... 2007-06-01 18:27:20,277 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-jxr-1.3.8.jar.sha1' into '3rdp-releases'... 2007-06-01 18:27:20,292 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-jxr-1.3.8.jar' into '3rdp-releases'... 2007-06-01 18:27:20,310 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-jxr-1.3.8.pom.sha1' into '3rdp-releases'... 2007-06-01 18:27:20,359 [INFO ] artifactory.repo.JcrRepo - Importing directory 'jade-components-parent' into '3rdp-releases'... 2007-06-01 18:27:20,360 [INFO ] artifactory.repo.JcrRepo - Importing directory '1.3.8' into '3rdp-releases'... 2007-06-01 18:27:20,360 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-components-parent-1.3.8-site.xml' into '3rdp-releases'... 2007-06-01 18:27:20,448 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-components-parent-1.3.8.pom.sha1' into '3rdp-releases'... 2007-06-01 18:27:20,478 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-components-parent-1.3.8-site.xml.md5' into '3rdp-releases'... 2007-06-01 18:27:20,489 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-components-parent-1.3.8.pom' into '3rdp-releases'... 2007-06-01 18:27:20,496 [INFO ] wicket.importexport.BasicImportPanel - Failed to import '/work/tmp/repos' into '3rdp-releases': The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually. java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:191) at org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:429) at org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427) at org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427) at org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427) at org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427) at org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427) at org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427) at org.artifactory.repo.JcrRepo.importFromDir(JcrRepo.java:321) at org.artifactory.webapp.wicket.importexport.BasicImportPanel$1.onSubmit(BasicImportPanel.java:69) at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:647) at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:378) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:186) at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:975) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1048) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1127) at org.apache.wicket.RequestCycle.request(RequestCycle.java:489) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:248) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:87) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) 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:1089) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) 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:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) Caused by: org.artifactory.engine.RepoAccessException: The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually. at org.artifactory.jcr.JcrHelper.importStream(JcrHelper.java:359) at org.artifactory.jcr.JcrHelper.importFile(JcrHelper.java:248) at org.artifactory.jcr.JcrHelper.importFile(JcrHelper.java:241) at org.artifactory.repo.JcrRepo$11.doInJcr(JcrRepo.java:434) at org.artifactory.repo.JcrRepo$11.doInJcr(JcrRepo.java:430) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:187) ... 47 more It looks like the version (exist only in parent declaration) becomes null.

    JFrog JIRA | 10 years ago | Frederic Simon
    java.lang.RuntimeException: Failed to execute JcrCallback.
  2. 0

    Trying to import the zip file of jade plugins 1.3.8 I got: 2007-06-01 18:27:19,278 [INFO ] artifactory.repo.JcrRepo - Importing directory 'org' into '3rdp-releases'... 2007-06-01 18:27:19,279 [INFO ] artifactory.repo.JcrRepo - Importing directory 'jfrog' into '3rdp-releases'... 2007-06-01 18:27:19,279 [INFO ] artifactory.repo.JcrRepo - Importing directory 'jade' into '3rdp-releases'... 2007-06-01 18:27:19,280 [INFO ] artifactory.repo.JcrRepo - Importing directory 'components' into '3rdp-releases'... 2007-06-01 18:27:19,280 [INFO ] artifactory.repo.JcrRepo - Importing directory 'jade-jxr' into '3rdp-releases'... 2007-06-01 18:27:19,281 [INFO ] artifactory.repo.JcrRepo - Importing directory '1.3.8' into '3rdp-releases'... 2007-06-01 18:27:19,281 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-jxr-1.3.8.pom.md5' into '3rdp-releases'... 2007-06-01 18:27:19,497 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-jxr-1.3.8.jar.md5' into '3rdp-releases'... 2007-06-01 18:27:19,595 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-jxr-1.3.8.pom' into '3rdp-releases'... 2007-06-01 18:27:20,277 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-jxr-1.3.8.jar.sha1' into '3rdp-releases'... 2007-06-01 18:27:20,292 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-jxr-1.3.8.jar' into '3rdp-releases'... 2007-06-01 18:27:20,310 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-jxr-1.3.8.pom.sha1' into '3rdp-releases'... 2007-06-01 18:27:20,359 [INFO ] artifactory.repo.JcrRepo - Importing directory 'jade-components-parent' into '3rdp-releases'... 2007-06-01 18:27:20,360 [INFO ] artifactory.repo.JcrRepo - Importing directory '1.3.8' into '3rdp-releases'... 2007-06-01 18:27:20,360 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-components-parent-1.3.8-site.xml' into '3rdp-releases'... 2007-06-01 18:27:20,448 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-components-parent-1.3.8.pom.sha1' into '3rdp-releases'... 2007-06-01 18:27:20,478 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-components-parent-1.3.8-site.xml.md5' into '3rdp-releases'... 2007-06-01 18:27:20,489 [INFO ] artifactory.repo.JcrRepo - Importing file 'jade-components-parent-1.3.8.pom' into '3rdp-releases'... 2007-06-01 18:27:20,496 [INFO ] wicket.importexport.BasicImportPanel - Failed to import '/work/tmp/repos' into '3rdp-releases': The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually. java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:191) at org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:429) at org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427) at org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427) at org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427) at org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427) at org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427) at org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427) at org.artifactory.repo.JcrRepo.importFromDir(JcrRepo.java:321) at org.artifactory.webapp.wicket.importexport.BasicImportPanel$1.onSubmit(BasicImportPanel.java:69) at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:647) at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:378) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:186) at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:975) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1048) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1127) at org.apache.wicket.RequestCycle.request(RequestCycle.java:489) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:248) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:87) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) 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:1089) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) 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:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) Caused by: org.artifactory.engine.RepoAccessException: The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually. at org.artifactory.jcr.JcrHelper.importStream(JcrHelper.java:359) at org.artifactory.jcr.JcrHelper.importFile(JcrHelper.java:248) at org.artifactory.jcr.JcrHelper.importFile(JcrHelper.java:241) at org.artifactory.repo.JcrRepo$11.doInJcr(JcrRepo.java:434) at org.artifactory.repo.JcrRepo$11.doInJcr(JcrRepo.java:430) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:187) ... 47 more It looks like the version (exist only in parent declaration) becomes null.

    JFrog JIRA | 10 years ago | Frederic Simon
    java.lang.RuntimeException: Failed to execute JcrCallback.
  3. 0

    Deploying joined pom I get on the web: * Failed to deploy artifact 'org.jfrog.jade.components:jade-components-parent:pom:1.3.8'. Cause: Failed to deploy file '/tmp/artifactory-uploads/jade-components-parent-1.3.8.pom'. When actually the log says: 2007-06-01 18:50:41,008 [WARN ] wicket.deploy.ArtifactForm - Failed to deploy artifact 'org.jfrog.jade.components:jade-components-parent:pom:1.3.8'. org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy file '/tmp/artifactory-uploads/jade-components-parent-1.3.8.pom'. at org.artifactory.maven.Maven.deploy(Maven.java:158) at org.artifactory.webapp.wicket.deploy.ArtifactForm.onSubmit(ArtifactForm.java:263) at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:647) at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:378) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:186) at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:975) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1048) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1127) at org.apache.wicket.RequestCycle.request(RequestCycle.java:489) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:248) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:87) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) 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:1089) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) 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:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) Caused by: java.lang.RuntimeException: Failed to save resource '{plugins-releases:org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom}'. at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:374) at org.artifactory.maven.JcrWagon.put(JcrWagon.java:140) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:237) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:153) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80) at org.artifactory.maven.Maven.deploy(Maven.java:156) ... 39 more Caused by: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:191) at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:335) ... 44 more Caused by: javax.jcr.RepositoryException: Failed to import resource '{plugins-releases:org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom}'.: The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (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 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (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:358) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:337) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:187) ... 45 more Caused by: org.artifactory.engine.RepoAccessException: The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually. at org.artifactory.jcr.JcrHelper.importStream(JcrHelper.java:359) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:349) ... 47 more

    JFrog JIRA | 10 years ago | Frederic Simon
    org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy file '/tmp/artifactory-uploads/jade-components-parent-1.3.8.pom'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Deploying joined pom I get on the web: * Failed to deploy artifact 'org.jfrog.jade.components:jade-components-parent:pom:1.3.8'. Cause: Failed to deploy file '/tmp/artifactory-uploads/jade-components-parent-1.3.8.pom'. When actually the log says: 2007-06-01 18:50:41,008 [WARN ] wicket.deploy.ArtifactForm - Failed to deploy artifact 'org.jfrog.jade.components:jade-components-parent:pom:1.3.8'. org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy file '/tmp/artifactory-uploads/jade-components-parent-1.3.8.pom'. at org.artifactory.maven.Maven.deploy(Maven.java:158) at org.artifactory.webapp.wicket.deploy.ArtifactForm.onSubmit(ArtifactForm.java:263) at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:647) at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:378) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:186) at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:975) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1048) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1127) at org.apache.wicket.RequestCycle.request(RequestCycle.java:489) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:248) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:87) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) 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:1089) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) 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:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) Caused by: java.lang.RuntimeException: Failed to save resource '{plugins-releases:org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom}'. at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:374) at org.artifactory.maven.JcrWagon.put(JcrWagon.java:140) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:237) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:153) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80) at org.artifactory.maven.Maven.deploy(Maven.java:156) ... 39 more Caused by: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:191) at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:335) ... 44 more Caused by: javax.jcr.RepositoryException: Failed to import resource '{plugins-releases:org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom}'.: The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (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 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (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:358) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:337) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:187) ... 45 more Caused by: org.artifactory.engine.RepoAccessException: The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually. at org.artifactory.jcr.JcrHelper.importStream(JcrHelper.java:359) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:349) ... 47 more

    JFrog JIRA | 10 years ago | Frederic Simon
    org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy file '/tmp/artifactory-uploads/jade-components-parent-1.3.8.pom'.

    Root Cause Analysis

    1. org.artifactory.engine.RepoAccessException

      The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually.

      at org.artifactory.jcr.JcrHelper.importStream()
    2. org.artifactory.jcr
      JcrHelper.importFile
      1. org.artifactory.jcr.JcrHelper.importStream(JcrHelper.java:359)
      2. org.artifactory.jcr.JcrHelper.importFile(JcrHelper.java:248)
      3. org.artifactory.jcr.JcrHelper.importFile(JcrHelper.java:241)
      3 frames
    3. org.artifactory.repo
      JcrRepo$11.doInJcr
      1. org.artifactory.repo.JcrRepo$11.doInJcr(JcrRepo.java:434)
      2. org.artifactory.repo.JcrRepo$11.doInJcr(JcrRepo.java:430)
      2 frames
    4. org.artifactory.jcr
      JcrHelper.doInSession
      1. org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:187)
      1 frame
    5. org.artifactory.repo
      JcrRepo.importFromDir
      1. org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:429)
      2. org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427)
      3. org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427)
      4. org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427)
      5. org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427)
      6. org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427)
      7. org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:427)
      8. org.artifactory.repo.JcrRepo.importFromDir(JcrRepo.java:321)
      8 frames
    6. org.artifactory.webapp
      BasicImportPanel$1.onSubmit
      1. org.artifactory.webapp.wicket.importexport.BasicImportPanel$1.onSubmit(BasicImportPanel.java:69)
      1 frame
    7. Wicket Core
      Form.onFormSubmitted
      1. org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:647)
      2. org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:378)
      2 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    9. Wicket Core
      RequestListenerInterface.invoke
      1. org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:186)
      1 frame
    10. org.apache.wicket
      ListenerInterfaceRequestTarget.processEvents
      1. org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
      1 frame
    11. Wicket Request
      AbstractRequestCycleProcessor.processEvents
      1. org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90)
      1 frame
    12. Wicket Core
      WicketFilter.doFilter
      1. org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:975)
      2. org.apache.wicket.RequestCycle.step(RequestCycle.java:1048)
      3. org.apache.wicket.RequestCycle.steps(RequestCycle.java:1127)
      4. org.apache.wicket.RequestCycle.request(RequestCycle.java:489)
      5. org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:248)
      6. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122)
      6 frames
    13. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
      1 frame
    14. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:87)
      2. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89)
      2 frames
    15. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
      1 frame
    16. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:75)
      2. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89)
      2 frames
    17. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      10. org.mortbay.jetty.Server.handle(Server.java:285)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368)
      16 frames
    18. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
      1 frame