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
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 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*
  2. 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*

    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