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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JFrog JIRA by Frederic Simon, 1 year ago
Failed to save index file for repo 'null'.
via JFrog JIRA by Frederic Simon, 1 year ago
Failed to save index file for repo 'null'.
java.lang.NullPointerException: null
at org.artifactory.repo.index.RepoIndexManager.saveIndexFiles(RepoIndexManager.java:186)
at org.artifactory.repo.index.IndexerServiceImpl.saveIndexFiles(IndexerServiceImpl.java:355)
at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)
at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:46)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExecute(IndexerServiceImpl.java:341)
at org.artifactory.repo.index.IndexerServiceImpl$SaveIndexFileJob.onExecute(IndexerServiceImpl.java:334)
at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:44)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:85)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.