java.lang.RuntimeException: Failed to save index file for repo 'repo'.

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 2009-10-06 20:48:02,233 [pool-1-thread-82] [ERROR] (o.a.r.i.IndexerServiceImpl:288) - Saving index files failed. java.lang.RuntimeException: Failed to save index file for repo 'plugins-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 common frames omitted 2009-10-06 20:48:02,257 [pool-1-thread-82] [ERROR] (o.a.r.i.IndexerServiceImpl:288) - Saving index files failed. 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 common frames omitted 2009-10-06 20:48:02,275 [pool-1-thread-73] [ERROR] (o.a.r.i.IndexerServiceImpl:288) - Could not merge virtual repository indexes. java.lang.RuntimeException: Failed to save index file for repo 'repo'. 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 org.artifactory.repo.index.IndexerServiceImpl.mergeVirtualReposIndexes(IndexerServiceImpl.java:238) [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.mergeVirtualReposIndexes(Unknown Source) [na:na] at org.artifactory.repo.index.IndexerServiceImpl.index(IndexerServiceImpl.java:165) [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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-2.5.6.jar:2.5.6] at $Proxy22.index(Unknown Source) [na:na] at org.artifactory.repo.index.IndexerJob.onExecute(IndexerJob.java:50) [artifactory-core-2.1.0.jar:na] at org.artifactory.repo.index.IndexerJob.onExecute(IndexerJob.java:34) [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] ... 31 common frames omitted
    via by Yoav Landman,
  • 2009-10-06 20:48:02,233 [pool-1-thread-82] [ERROR] (o.a.r.i.IndexerServiceImpl:288) - Saving index files failed. java.lang.RuntimeException: Failed to save index file for repo 'plugins-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 common frames omitted 2009-10-06 20:48:02,257 [pool-1-thread-82] [ERROR] (o.a.r.i.IndexerServiceImpl:288) - Saving index files failed. 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 common frames omitted 2009-10-06 20:48:02,275 [pool-1-thread-73] [ERROR] (o.a.r.i.IndexerServiceImpl:288) - Could not merge virtual repository indexes. java.lang.RuntimeException: Failed to save index file for repo 'repo'. 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 org.artifactory.repo.index.IndexerServiceImpl.mergeVirtualReposIndexes(IndexerServiceImpl.java:238) [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.mergeVirtualReposIndexes(Unknown Source) [na:na] at org.artifactory.repo.index.IndexerServiceImpl.index(IndexerServiceImpl.java:165) [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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-2.5.6.jar:2.5.6] at $Proxy22.index(Unknown Source) [na:na] at org.artifactory.repo.index.IndexerJob.onExecute(IndexerJob.java:50) [artifactory-core-2.1.0.jar:na] at org.artifactory.repo.index.IndexerJob.onExecute(IndexerJob.java:34) [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] ... 31 common frames omitted
    via by Yoav Landman,
    • java.lang.RuntimeException: Failed to save index file for repo 'repo'. 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 org.artifactory.repo.index.IndexerServiceImpl.mergeVirtualReposIndexes(IndexerServiceImpl.java:238)[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.mergeVirtualReposIndexes(Unknown Source)[na:na] at org.artifactory.repo.index.IndexerServiceImpl.index(IndexerServiceImpl.java:165)[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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)[spring-aop-2.5.6.jar:2.5.6] at $Proxy22.index(Unknown Source)[na:na] at org.artifactory.repo.index.IndexerJob.onExecute(IndexerJob.java:50)[artifactory-core-2.1.0.jar:na] at org.artifactory.repo.index.IndexerJob.onExecute(IndexerJob.java:34)[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] ... 31 more
    No Bugmate found.