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

JFrog JIRA | Frederic Simon | 7 years ago
  1. 0

    2010-04-07 11:21:13,173 [art-exec-11] [ERROR] (o.a.r.i.IndexerServiceImpl:343) - Saving index files failed. 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 common frames omitted

    JFrog JIRA | 7 years ago | Frederic Simon
    java.lang.RuntimeException: Failed to save index file for repo 'null'.
  2. 0

    2010-04-07 11:21:13,173 [art-exec-11] [ERROR] (o.a.r.i.IndexerServiceImpl:343) - Saving index files failed. 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 common frames omitted

    JFrog JIRA | 7 years ago | Frederic Simon
    java.lang.RuntimeException: Failed to save index file for repo 'null'.
  3. 0
    Elasticsearch 1.x and 2.x nodes are not compatible, make sure your setup contains nodes of the same major version.
    via GitHub by dakrone
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    It is a JDK bug, no workaround currently.
    via GitHub by jroper
  6. 0
    Some of the parametes ar enull

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at org.artifactory.repo.index.RepoIndexManager.saveIndexFiles()
    2. org.artifactory.repo
      IndexerServiceImpl.saveIndexFiles
      1. org.artifactory.repo.index.RepoIndexManager.saveIndexFiles(RepoIndexManager.java:186)[artifactory-core-2.2.x-SNAPSHOT.jar:na]
      2. org.artifactory.repo.index.IndexerServiceImpl.saveIndexFiles(IndexerServiceImpl.java:355)[artifactory-core-2.2.x-SNAPSHOT.jar:na]
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_18]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_18]
      3 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      3 frames
    5. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)[spring-tx-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      1 frame
    6. org.artifactory.jcr
      LockingAdvice.invoke
      1. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)[artifactory-core-2.2.x-SNAPSHOT.jar:na]
      2. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:46)[artifactory-core-2.2.x-SNAPSHOT.jar:na]
      2 frames
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      2 frames
    8. Unknown
      $Proxy35.saveIndexFiles
      1. $Proxy35.saveIndexFiles(Unknown Source)[na:na]
      1 frame
    9. org.artifactory.repo
      IndexerServiceImpl$SaveIndexFileJob.onExecute
      1. org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExecute(IndexerServiceImpl.java:341)[artifactory-core-2.2.x-SNAPSHOT.jar:na]
      2. org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExecute(IndexerServiceImpl.java:334)[artifactory-core-2.2.x-SNAPSHOT.jar:na]
      2 frames
    10. org.artifactory.schedule
      QuartzCommand.execute
      1. org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:44)[artifactory-core-2.2.x-SNAPSHOT.jar:na]
      1 frame
    11. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)[quartz-1.6.6.jar:1.6.6]
      1 frame
    12. org.artifactory.schedule
      ArtifactoryConcurrentExecutor$RunnableWrapper.run
      1. org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:85)[artifactory-core-2.2.x-SNAPSHOT.jar:na]
      1 frame
    13. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_18]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_18]
      3. java.lang.Thread.run(Thread.java:619)[na:1.6.0_18]
      3 frames