Repository Settings Page Fails With "500 The call failed on the server"

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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

Symptoms

When accessing the repositories page under Administration, the following message is displayed on screen:

1 2 3 An error has occurred Error Error calling server:com.google.gwt.user.client.rpc.StatusCodeException: 500 The call failed on the server; see server log for details Unknown.p6b(Unknown Source) Unknown.$8b(Unknown Source) Unknown.Xyb(Unknown Source) Unknown.zzb(Unknown Source) Unknown.<anonymous>(Unknown Source) Unknown.etb(Unknown Source) Unknown.htb(Unknown Source)

A similar error is seen on UI:

(Auto-migrated image: description temporarily unavailable)

Diagnosis

Diagnosis #1

The logs report:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 2012-08-15 17:27:17,491 ERROR - Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.atlassian.fecru.gwt.admin.shared.repositories.FullRepositoryInfo com.atlassian.fecru.gwt.admin.client.RepositoryAdminRpcService.getFullRepositoryInfo(java.lang.String) throws com.atlassian.fecru.gwt.admin.shared.AuthorizationException,com.atlassian.fecru.gwt.admin.shared.OperationFailureException,com.atlassian.fecru.gwt.admin.shared.NoSuchRepositoryException' threw an unexpected exception: java.lang.IllegalArgumentException: 'https://jira.test.tes/test/${0} ' is invalid. at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588) at com.atlassian.fecru.gwt.servlet.GwtRPCRoutingServlet.invokeRequest(GwtRPCRoutingServlet.java:73) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451) ... Caused by: java.lang.IllegalArgumentException: 'https://jira.test.tes/test//${0} ' is invalid. at com.atlassian.fisheye.spi.admin.data.SimpleLinker.setHref(SimpleLinker.java:59) at com.atlassian.fisheye.spi.admin.data.SimpleLinker.<init>(SimpleLinker.java:24) ... 77 more 2012-08-15 17:27:17,552 ERROR - Error calling server:com.google.gwt.user.client.rpc.StatusCodeException: 500 The call failed on the server; see server log for details Unknown.p6b(Unknown Source) ...

Diagnosis #2

The logs report:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2022-01-14 02:32:47,17 WARN [qtp2073640036-70529 ] org.eclipse.jetty.server.handler.ContextHandler.ROOT ContextHandler$Context-log - Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.atlassian.fecru.gwt.admin.shared.repositories.RepositoriesSummary com.atlassian.fecru.gwt.admin.client.RepositoryAdminRpcService.getRepositoriesSummary() throws com.atlassian.fecru.gwt.admin.shared.AuthorizationException' threw an unexpected exception: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.RuntimeException: Error reading configuration: [C@6b730b28 ... Caused by: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.RuntimeException: Error reading configuration: [C@6b730b28 ... Caused by: com.thoughtworks.xstream.converters.ConversionException: ---- Debugging information ---- cause-exception : com.thoughtworks.xstream.security.ForbiddenClassException cause-message : com.atlassian.crucible.plugins.scm.git.GitConfiguration class : java.util.ArrayList required-type : java.util.ArrayList converter-type : com.thoughtworks.xstream.converters.collections.CollectionConverter path : /list/com.atlassian.crucible.plugins.scm.git.GitConfiguration line number : 7 version : not available

Cause

The problem can be caused by a few reasons:

Cause #1

The config.xml file has been corrupted by either a manual edit or another operation. Eg: Deleting a repository.

Most commonly it is caused by a wrong linker definition under the repository defaults resulting in the following error:

1 Caused by: java.lang.IllegalArgumentException: 'https://jira.test.tes/test/${0} ' is invalid.

In this case, there is an extra space before the quote:

1 'https://jira.test.tes/test/${0} '

Cause #2

The issue is with the Git LightSCM configuration:

(Auto-migrated image: description temporarily unavailable)

In Fisheye 4.8.9 the repos added under the Git Light SCM are not being loaded and are throwing the error in the UI. When loading the Administration page the default page that loads up is the Repository settings > Repositories and that's where the configuration for the Git Light SCM is found and hence the error.

Solution

Resolution

Cause #1

  1. Stop Fisheye/Crucible.

  2. Edit FISHEYE_INST/config.xml and identify the "corrupted" section. If it's related to the linker section, locate:

    1 2 3 <linker> <simple regex="[a-zA-Z]{2,}-\d+" href="https://jira.test.test/test/${0} " description="Jira"/> </linker> 

    And remove the extra space before the double quote.

  3. Save the changes and restart Fisheye/Crucible

Due to the complexity of the config.xml file structure, when not able to identify the "corrupted" part, please raise a support ticket at http://support.atlassian.com .

Cause #2

  1. Delete the file com.atlassian.crucible.plugins.crucible-git-scm-plugin_scmprovider.config under $FISHEYE_INST/var/plugins/config directory

  2. Then restart the Fisheye.

The error would no longer show up and you would be able to access the <$Fisheye_URL/admin/admin.do> URL without any issues. You may attempt to perform this procedure in a test environment first.

Updated on April 16, 2025

Still need help?

The Atlassian Community is here for you.