java.lang.RuntimeException

Failed to save index file for repo 'third-party-snapshots-local'.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web45548

  • via JFrog JIRA by Yoav Landman, 1 year ago
    Failed to save index file for repo 'third-party-snapshots-local'.
  • via JFrog JIRA by Yoav Landman, 10 months ago
    Failed to save index file for repo 'third-party-snapshots-local'.
  • via JFrog JIRA by Craig, 10 months ago
    Failed to index repository 'third-party'.
  • Stack trace

    • java.lang.RuntimeException: Failed to save index file for repo 'third-party-snapshots-local'. at org.artifactory.repo.index.RepoIndexerData.saveIndexFiles(RepoIndexerData.java:204)[artifactory-core-2.1.0.jar:na] at org.artifactory.repo.index.IndexerServiceImpl.saveIndexFiles(IndexerServiceImpl.java:351)[artifactory-core-2.1.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_12] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_12] 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:307)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)[spring-tx-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72)[artifactory-core-2.1.0.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)[artifactory-core-2.1.0.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-2.5.6.jar:2.5.6] at $Proxy22.saveIndexFiles(Unknown Source)[na:na] at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExecute(IndexerServiceImpl.java:334)[artifactory-core-2.1.0.jar:na] at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExecute(IndexerServiceImpl.java:327)[artifactory-core-2.1.0.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43)[artifactory-core-2.1.0.jar:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202)[quartz-1.6.3.jar:1.6.3] at org.artifactory.schedule.CachedThreadPoolTaskExecutor$RunnableWrapper.run(CachedThreadPoolTaskExecutor.java:65)[artifactory-core-2.1.0.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_12] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_12] at java.lang.Thread.run(Thread.java:619)[na:1.6.0_12] Caused by: java.lang.NullPointerException: null at org.artifactory.security.AuthenticationHelper.getRemoteAddress(AuthenticationHelper.java:43)[artifactory-common-2.1.0.jar:na] at org.artifactory.addon.watch.WatchRepoInterceptor.onCreate(WatchRepoInterceptor.java:56)[artifactory-addon-watch-1.0.0.jar:na] at org.artifactory.repo.interceptor.RepoInterceptorsImpl.onCreate(RepoInterceptorsImpl.java:40)[artifactory-core-2.1.0.jar:na] at sun.reflect.GeneratedMethodAccessor165.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:307)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)[spring-aop-2.5.6.jar:2.5.6] at $Proxy35.onCreate(Unknown Source)[na:na] at org.artifactory.jcr.fs.JcrFolder.mkdirs(JcrFolder.java:263)[artifactory-core-2.1.0.jar:na] at org.artifactory.repo.index.RepoIndexerData.saveIndexFiles(RepoIndexerData.java:190)[artifactory-core-2.1.0.jar:na] ... 22 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

    You’re the first here who have seen this exception.