Cannot Login to JIRA after Upgrade due to Null Pointer Exception

お困りですか?

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

コミュニティに質問

症状

At the 96% mark of an otherwise successful upgrade, the upgrade is interrupted and the following is seen in the browser:

A system error has occurred.

If this problem persists, please contact your JIRA administrators.

Otherwise, please create a support issue on our support system at http://support.atlassian.com with the following information:

    a description of your problem
    cut & paste the error and system information found below 

Cause:
java.lang.NullPointerException

Stack Trace: [hide]

java.lang.NullPointerException
	at com.atlassian.crowd.embedded.core.CrowdDirectoryServiceImpl.storeLdapConnectionPoolConfiguration(CrowdDirectoryServiceImpl.java:308)
	at com.atlassian.crowd.embedded.core.CrowdDirectoryServiceImpl.initialiseConnectionPoolSystemProperties(CrowdDirectoryServiceImpl.java:291)
	at com.atlassian.crowd.embedded.core.CrowdDirectoryServiceImpl.getApplication(CrowdDirectoryServiceImpl.java:263)
	at com.atlassian.crowd.embedded.core.CrowdDirectoryServiceImpl.findAllDirectories(CrowdDirectoryServiceImpl.java:81)
	at com.atlassian.jira.user.util.DefaultUserManager.getWritableDirectories(DefaultUserManager.java:261)
	at com.atlassian.jira.user.util.DefaultUserManager.hasPasswordWritableDirectory(DefaultUserManager.java:277)

診断

This is seen when the restore includes the osuser.xml file, but the External User Management flag is not set to True.

原因

This is caused by the absence of an Internal directory configuration in the osuser.xml file.

ソリューション

  1. Remove the osuser.xml file.

  2. Jira を再起動します。
Last modified on Mar 30, 2016

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

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