java.lang.RuntimeException

Failed to index repository 'third-party'.

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via by Craig,
  • via by Craig,
  • Stack trace

    • java.lang.RuntimeException: Failed to index repository 'third-party'. at org.artifactory.repo.index.RepoIndexerData.createIndex(RepoIndexerData.java:133)[artifactory-core-1.3.0-beta-6.jar:na] at org.artifactory.repo.index.IndexerManagerImpl.findOrCreateIndex(IndexerManagerImpl.java:204)[artifactory-core-1.3.0-beta-6.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_0] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.6.0_0] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.6.0_0] at java.lang.reflect.Method.invoke(Method.java:616)[na:1.6.0_0] 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-1.3.0-beta-6.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 $Proxy16.findOrCreateIndex(Unknown Source)[na:na] at org.artifactory.repo.index.IndexerManagerImpl$FindOrCreateIndexJob.onExecute(IndexerManagerImpl.java:174)[artifactory-core-1.3.0-beta-6.jar:na] at org.artifactory.repo.index.IndexerManagerImpl$FindOrCreateIndexJob.onExecute(IndexerManagerImpl.java:166)[artifactory-core-1.3.0-beta-6.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43)[artifactory-core-1.3.0-beta-6.jar:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202)[quartz-1.6.2.jar:1.6.2] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[na:1.6.0_0] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[na:1.6.0_0] at java.lang.Thread.run(Thread.java:636)[na:1.6.0_0] Caused by: java.lang.RuntimeException: Indexing failed. at org.artifactory.repo.index.RepoIndexer.index(RepoIndexer.java:129)[artifactory-core-1.3.0-beta-6.jar:na] at org.artifactory.repo.index.RepoIndexerData.createIndex(RepoIndexerData.java:123)[artifactory-core-1.3.0-beta-6.jar:na] ... 20 more Caused by: java.lang.NullPointerException at org.sonatype.nexus.index.DefaultArtifactContextProducer.getArtifactContext(DefaultArtifactContextProducer.java:84)[nexus-indexer-1.0-beta-3.1.1.jar:na] at org.sonatype.nexus.index.scan.DefaultScanner.processFile(DefaultScanner.java:131)[nexus-indexer-1.0-beta-3.1.1.jar:na] at org.sonatype.nexus.index.scan.DefaultScanner.scanDirectory(DefaultScanner.java:113)[nexus-indexer-1.0-beta-3.1.1.jar:na] at org.sonatype.nexus.index.scan.DefaultScanner.scanDirectory(DefaultScanner.java:74)[nexus-indexer-1.0-beta-3.1.1.jar:na] at org.sonatype.nexus.index.scan.DefaultScanner.scanDirectory(DefaultScanner.java:74)[nexus-indexer-1.0-beta-3.1.1.jar:na] at org.sonatype.nexus.index.scan.DefaultScanner.scanDirectory(DefaultScanner.java:74)[nexus-indexer-1.0-beta-3.1.1.jar:na] at org.sonatype.nexus.index.scan.DefaultScanner.scanDirectory(DefaultScanner.java:74)[nexus-indexer-1.0-beta-3.1.1.jar:na] at org.sonatype.nexus.index.scan.DefaultScanner.scan(DefaultScanner.java:46)[nexus-indexer-1.0-beta-3.1.1.jar:na] at org.sonatype.nexus.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:261)[nexus-indexer-1.0-beta-3.1.1.jar:na] at org.sonatype.nexus.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:155)[nexus-indexer-1.0-beta-3.1.1.jar:na] at org.artifactory.repo.index.RepoIndexer.index(RepoIndexer.java:117)[artifactory-core-1.3.0-beta-6.jar:na] ... 21 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    No Bugmate found.