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

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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.

*Except Fisheye and Crucible

Summary

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)

Environment

  • Fisheye 4.8.9

Diagnosis

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.

Cause

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 

Solution

  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

Last modified on Apr 13, 2022

Was this helpful?

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