Not Able to View the Subversion Commits in an Issue

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When clicking on the 'Subversion Commit' issue tab panel, nothing is displayed even though there is a commit message associated with the issue key. The following appears in the atlassian-jira.log:


...
2010-10-08 14:52:19,070 http-8080-2 ERROR abc 892x13x1 g3x8t0 192.168.12.126 /browse/TST-3 [web.action.issue.ViewIssue] Exception getting actions null
java.lang.NullPointerException
	at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.getLogEntriesByRepository(RevisionIndexer.java:532)
...

Cause

The Subversion plugin's index directory has been corrupted.

Resolution

Delete the $INDEXDIR/plugins/atlassian-subversion-revisions directory and restart JIRA.

Still having problems?

You must delete the whole directory and not just its contents. If you delete just the directory contents, you will likely see errors like the following:


com.atlassian.jira.InfrastructureException: Could not remove repository index
at com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManagerImpl.removeRepository(MultipleSubversionRepositoryManagerImpl.java:249)
at com.atlassian.jira.plugin.ext.subversion.action.DeleteSubversionRepositoryAction.doExecute(DeleteSubversionRepositoryAction.java:38)
at webwork.action.ActionSupport.execute(ActionSupport.java:165)
(...) ------- (...)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.atlassian.jira.issue.index.IndexException: Problem with path /data/jira/home/caches/indexes/plugins/atlassian-subversion-revisions: no segments* file found in org.apache.lucene.store.NIOFSDirectory@/data/jira/home/caches/indexes/plugins/atlassian-subversion-revisions: files:

The solution for this secondary problem is to delete the empty directory and restart.


Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.