java.lang.IllegalArgumentException: Not a valid artifact path in a Maven 2 repository, not enough directories: .indexer\nexus-maven-repository-index.zip*

archiva-users | Jeff | 5 years ago
  1. 0

    Re: 500 Internal server error getting artifact.

    archiva-users | 5 years ago | Jeff
    java.lang.IllegalArgumentException: Not a valid artifact path in a Maven 2 repository, not enough directories: .indexer\nexus-maven-repository-index.zip*
  2. 0

    500 Internal server error getting artifact.

    archiva-users | 5 years ago | Jeff
    java.lang.IllegalArgumentException: Not a valid artifact path in a Maven 2 repository, not enough directories: .indexer\nexus-maven-repository-index.zip*
  3. 0

    Error viewing Artifacts tab

    archiva-users | 2 years ago | Nerderman,Adam
    org.apache.cxf.interceptor.Fault: Not a valid artifact path in a Maven 2 repository, filename 'resolver-status.properties' doesn't start with artifact ID 'my-app-isat'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Error viewing Artifacts tab

    archiva-users | 2 years ago | Nerderman,Adam
    org.apache.cxf.interceptor.Fault: Not a valid artifact path in a Maven 2 repository, filename 'resolver-status.properties' doesn't start with artifact ID 'my-app-isat'
  6. 0

    If a non-unique artifact was already deployed to a repository , and then you change the repository Snapshot Version Behavior to UNIQUE When you try to redeploy that artifact again you get an error 500 and you get this in the log: 2009-03-16 10:40:42,109 [ERROR] (o.a.w.s.RepoFilter :72) - Sending HTTP error code 500: Not a valid maven unique snapshot version: deploy-war-1.0-SNAPSHOT.war java.lang.IllegalArgumentException: Not a valid maven unique snapshot version: deploy-war-1.0-SNAPSHOT.war at org.artifactory.api.maven.MavenNaming.getUniqueSnapshotVersionBuildNumber(MavenNaming.java:221) [artifactory-api-2.0.3.jar:na] at org.artifactory.engine.UploadServiceImpl.getSnapshotFile(UploadServiceImpl.java:356) [artifactory-core-2.0.3.jar:na] at org.artifactory.engine.UploadServiceImpl.getSnapshotFile(UploadServiceImpl.java:330) [artifactory-core-2.0.3.jar:na] at org.artifactory.engine.UploadServiceImpl.getSnapshotTimestamp(UploadServiceImpl.java:311) [artifactory-core-2.0.3.jar:na] at org.artifactory.engine.UploadServiceImpl.adjustNonUniqueSnapshotToUnique(UploadServiceImpl.java:222) [artifactory-core-2.0.3.jar:na] at org.artifactory.engine.UploadServiceImpl.adjustSnapshotPath(UploadServiceImpl.java:178) [artifactory-core-2.0.3.jar:na] at org.artifactory.engine.UploadServiceImpl.doProcess(UploadServiceImpl.java:128) [artifactory-core-2.0.3.jar:na] at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_12] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_12] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.5.jar:2.5.5] at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:79) [artifactory-core-2.0.3.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5] at $Proxy45.doProcess(Unknown Source) [na:na] at org.artifactory.engine.UploadServiceImpl.process(UploadServiceImpl.java:105) [artifactory-core-2.0.3.jar:na] at sun.reflect.GeneratedMethodAccessor142.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_12] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_12] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-2.5.5.jar:2.5.5] at $Proxy45.process(Unknown Source) [na:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:121) [RepoFilter.class:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:73) [RepoFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:190) [AccessFilter.class:na] at org.artifactory.webapp.servlet.AccessFilter.useAnonymousIfPossible(AccessFilter.java:178) [AccessFilter.class:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:118) [AccessFilter.class:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:90) [AccessFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:51) [ArtifactoryFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:na] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:na] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) [catalina.jar:na] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:na] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:na] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) [catalina.jar:na] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) [tomcat-coyote.jar:na] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [tomcat-coyote.jar:na] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) [tomcat-coyote.jar:na] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_12]

    JFrog JIRA | 8 years ago | Tal Abramson
    java.lang.IllegalArgumentException: Not a valid maven unique snapshot version: deploy-war-1.0-SNAPSHOT.war

    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. java.lang.IllegalArgumentException

      Not a valid artifact path in a Maven 2 repository, not enough directories: .indexer\nexus-maven-repository-index.zip*

      at org.apache.archiva.metadata.repository.storage.maven2.Maven2RepositoryPathTranslator.getArtifactForPath()
    2. org.apache.archiva
      ConsumerProcessFileClosure.execute
      1. org.apache.archiva.metadata.repository.storage.maven2.Maven2RepositoryPathTranslator.getArtifactForPath(Maven2RepositoryPathTranslator.java:169)
      2. org.apache.archiva.metadata.repository.storage.maven2.Maven2RepositoryStorage.readArtifactMetadataFromPath(Maven2RepositoryStorage.java:534)
      3. org.apache.archiva.consumers.metadata.ArchivaMetadataCreationConsumer.processFile(ArchivaMetadataCreationConsumer.java:154)
      4. org.apache.archiva.consumers.metadata.ArchivaMetadataCreationConsumer.processFile(ArchivaMetadataCreationConsumer.java:217)
      5. org.apache.archiva.repository.scanner.functors.ConsumerProcessFileClosure.execute(ConsumerProcessFileClosure.java:60)
      5 frames
    3. Commons Collections
      CollectionUtils.forAllDo
      1. org.apache.commons.collections.functors.IfClosure.execute(IfClosure.java:117)
      2. org.apache.commons.collections.CollectionUtils.forAllDo(CollectionUtils.java:388)
      2 frames
    4. org.apache.archiva
      RepositoryScannerInstance.directoryWalkStep
      1. org.apache.archiva.repository.scanner.RepositoryScannerInstance.directoryWalkStep(RepositoryScannerInstance.java:160)
      1 frame
    5. Plexus Common Utilities
      DirectoryWalker.scan
      1. org.codehaus.plexus.util.DirectoryWalker.fireStep(DirectoryWalker.java:174)
      2. org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:392)
      3. org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
      4. org.codehaus.plexus.util.DirectoryWalker.scan(DirectoryWalker.java:345)
      4 frames
    6. org.apache.archiva
      ArchivaRepositoryScanningTaskExecutor.executeTask
      1. org.apache.archiva.repository.scanner.DefaultRepositoryScanner.scan(DefaultRepositoryScanner.java:136)
      2. org.apache.archiva.repository.scanner.DefaultRepositoryScanner.scan(DefaultRepositoryScanner.java:71)
      3. org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:163)
      3 frames
    7. org.codehaus.plexus
      ThreadedTaskQueueExecutor$ExecutorRunnable$1.run
      1. org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:124)
      1 frame
    8. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:662)
      6 frames