|
From: Thorsten H. <th...@gm...> - 2007-03-14 17:11:45
|
Hello again, > The repository actually looks > like: > ... > + repo1-cache > | ... > | +- xerces > | +- xercesImpl > | | \- 2.0.0 > | | > | +- xmlParserAPIs > | \- 2.0.0 > > I can right-click as often as I want on "xerces" under "repo1-cache" and > select "Remove" from the popup menu, but nothing happens. Artifactory only > once removed the files under that groupId, but not the group itself. Doing > the same under "local-repo" removes the group... Today I accidentially managed to import some files directly under <repositories>/apache-m2-snapshots-cache which proxies (as the name suggests) the snapshot repository at http://people.apache.org/repo/m2-snapshot-repository -- I just forgot that I have to create the necessary subdirectory structure in the directory from which I want to import the files. Anyway. Actually the repo looks like + apache-m2-snapshots-cache +-- maven-default-skin-1.1-20061114.072151-2-sources.jar +-- maven-default-skin-1.1-20061114.072151-2.jar +-- maven-default-skin-1.1-20061114.072151-2.pom +-- org +-- ... (the files were meant to be put under <apache-m2-snapshots-cache>/org/apache/maven/skins/maven-default-skin/1.1-SNAPSHOT/) Unfortunately I'm not able to purge these files from the repo; the "Remove" entry in the context menu is grayed out. I can only view one of these files or trigger "Zap cache". Trying to view one of these three files results in an error message: 2007-03-14 18:06:14,203 [WARN ] artifactory.resource.ArtifactResource - Failed to build a ArtifactResource from 'maven-default-skin-1.1-20061114.072151-2.pom'. The groupId, artifactId and version are unreadable.. 2007-03-14 18:06:14,203 [ERROR] wicket.RequestCycle - Failed to execute JcrCallback. java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:139) at org.artifactory.webapp.wicket.browse.BrowseRepoPanel$3.respond(BrowseRepoPanel.java:279) at wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:220) at wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:97) at wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:89) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:968) at wicket.RequestCycle.step(RequestCycle.java:1041) at wicket.RequestCycle.steps(RequestCycle.java:1115) at wicket.RequestCycle.request(RequestCycle.java:456) at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:254) at wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:124) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:77) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:59) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(Unknown Source) at org.artifactory.resource.SimpleRepoResource.getRelDirPath(SimpleRepoResource.java:47) at org.artifactory.repo.JcrRepo.getPomContent(JcrRepo.java:339) at org.artifactory.webapp.wicket.window.WindowPanel.getArtifactMetadataContent(WindowPanel.java:63) at org.artifactory.webapp.wicket.browse.BrowseRepoPanel.access$400(BrowseRepoPanel.java:48) at org.artifactory.webapp.wicket.browse.BrowseRepoPanel$3$1.doInJcr(BrowseRepoPanel.java:285) at org.artifactory.webapp.wicket.browse.BrowseRepoPanel$3$1.doInJcr(BrowseRepoPanel.java:279) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:135) ... 32 more 2007-03-14 18:06:17,156 [WARN ] artifactory.resource.ArtifactResource - Failed to build a ArtifactResource from 'maven-default-skin-1.1-20061114.072151-2-sources.jar'. The groupId, artifactId and version are unreadable.. 2007-03-14 18:06:17,156 [WARN ] artifactory.resource.ArtifactResource - Failed to build a ArtifactResource from 'maven-default-skin-1.1-20061114.072151-2.jar'. The groupId, artifactId and version are unreadable.. 2007-03-14 18:06:17,156 [WARN ] artifactory.resource.ArtifactResource - Failed to build a ArtifactResource from 'maven-default-skin-1.1-20061114.072151-2.pom'. The groupId, artifactId and version are unreadable.. Is this a subsequent error or something different? Cheers Thorsten |