Subversion Plugin Displays 'An unknown error occurred - actions == null' Due to SVN Authentication

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

When you add a subversion repository using the Subversion Plugin 0.10.5.4_01, the repository is added successfully and even performs the indexing of the repository for JIRA. However, when you go to browse issues, in the Subversion tab, you get the error:

An unknown error occurred - actions == null”. Please see logs for more details.

If you go to the Subversion settings at the Administration you see a message Authentication required for ... and you have to Activate the repository again. This happens in a loop, so every time you go to the Subversion tab, the above error is displayed and the repository gets inactive for JIRA.

The atlassian-jira.log displays the following stack trace:

2010-11-04 17:08:51,893 http-8080-5 ERROR username 1028x58x1 1fvtuqg 10.0.0.1 /browse/XXX-nnnnn [web.action.issue.ViewIssue] Exception getting actions org.tmatesoft.svn.core.SVNAuthenticationException: svn: Authentication required for '<http://repo_url:nnnn>'
com.atlassian.jira.InfrastructureException: org.tmatesoft.svn.core.SVNAuthenticationException: svn: Authentication required for '<http://repo_url:nnnn>'
	at com.atlassian.jira.plugin.ext.subversion.SubversionManagerImpl.getLogEntry(SubversionManagerImpl.java:183)
	at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.getLogEntriesByRepository(RevisionIndexer.java:532)
	at com.atlassian.jira.plugin.ext.subversion.issuetabpanels.changes.SubversionRevisionsTabPanel.getActions(SubversionRevisionsTabPanel.java:66)
	at com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptor.getActions(IssueTabPanelModuleDescriptor.java:96)
	at com.atlassian.jira.web.action.issue.ViewIssue.getActions(ViewIssue.java:438)
Caused by: org.tmatesoft.svn.core.SVNAuthenticationException: svn: Authentication required for '<http://repo_url:nnnn>'
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62)

回避策

 
  1. Insert the following JVM Property:

    -Dsvnkit.http.methods=Basic,Digest,Negotiate,NTLM
    

    See Setting Properties and Options on Startup.

  2. Jira を再起動します。

     

     

     

     

     

     

     

     

     

     

     

最終更新日 2016 年 3 月 30 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.