Loading the repositories list in the Administration panel fails with 500 Server Error

お困りですか?

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

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

要約

After upgrading Fisheye to 4.8.9, attempting to load repositories list in the administration panel results in the following 500 Server Error:

Administration.png

In addition, the application log reports the following error:

2022-04-12 11:00:37,455 ERROR [qtp123456789-32327 url: /cru/home, /cru/home.do, /WEB-INF/jsp/crucible/home/dashboard.jsp; user: test_user ] fisheye DefaultSCMModuleManager-getRepositories - problem getting repositories for SCMModule FileSystem [LightSCM]
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.RuntimeException: Error reading configuration: [B@409c4eb3
	at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149) [atlassian-util-concurrent-3.0.0.jar:?]
	... (truncated)
Caused by: java.lang.RuntimeException: Error reading configuration: [B@409c4eb3
	at com.atlassian.fisheye.plugins.scm.utils.ConfigurableSCMModule.getConfiguration(ConfigurableSCMModule.java:59) [?:?]
	... (truncated)
Caused by: com.thoughtworks.xstream.converters.ConversionException: 
    ---- Debugging information ----
	... (truncated)
Caused by: com.thoughtworks.xstream.security.ForbiddenClassException: com.atlassian.crucible.plugins.scm.filesystem.FileSystemRepositoryConfiguration
	at com.thoughtworks.xstream.security.NoTypePermission.allows(NoTypePermission.java:26) [xstream-1.4.18.jar:1.4.18]
	... (truncated)

環境

  • Fisheye 4.8.9

診断

The error in the logs indicates there is at least one repository configured via the legacy Light SCM plugin, which has been configured by following these steps:

  1. Going to Administration > Repositories
  2. Clicking the Plugins tab
  3. Clicking in Configure Plugin... under the FileSystem [LightSCM] tab
  4. Clicking in Add a repository
  5. Entering anything for the Name and Base Path values
  6. Clicking Save
  7. Reloading the repositories list in the Administration panel after following these steps will lead to this error.

原因

This is a confirmed bug in 4.8.9 that was introduced by a recent upgrade of the XStream library, and it will be fixed in 4.8.10 

ソリューション

  1. Open FISHEYE_INST\var\plugins\config\com.atlassian.crucible.plugins.crucible-filesystem-scm-plugin_scmprovider.config with a text editor
  2. Clear out all the entries found in this file in order to remove all repositories configured via Light SCM. The only remaining lines in that file should be:

    <list>
    </list>  
    
  3. Save the changes to the file
  4. Restart the Fisheye service

最終更新日 2022 年 4 月 13 日

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

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