java.lang.RuntimeException

Failed to save index file for repo 'null'.

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web2

  • via Unknown by Frederic Simon,
  • via Unknown by Frederic Simon,
  • Stack trace

    • java.lang.RuntimeException: Failed to save index file for repo 'null'. at org.artifactory.repo.index.RepoIndexManager.saveIndexFiles(RepoIndexManager.java:215)[artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.index.IndexerServiceImpl.saveIndexFiles(IndexerServiceImpl.java:355)[artifactory-core-2.2.x-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_18] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_18] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)[spring-tx-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)[artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:46)[artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy35.saveIndexFiles(Unknown Source)[na:na] at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExecute(IndexerServiceImpl.java:341)[artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExecute(IndexerServiceImpl.java:334)[artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:44)[artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202)[quartz-1.6.6.jar:1.6.6] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:85)[artifactory-core-2.2.x-SNAPSHOT.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_18] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_18] at java.lang.Thread.run(Thread.java:619)[na:1.6.0_18] Caused by: java.lang.NullPointerException: null at org.artifactory.repo.index.RepoIndexManager.saveIndexFiles(RepoIndexManager.java:186)[artifactory-core-2.2.x-SNAPSHOT.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.

    Users with the same issue

    We couldn't find other users who have seen this exception.