Internal Server Error when Listing Repositories in the Source Tab
Symptoms
When loading the source tab in JIRA, the following error appears on the screen:
Also, the following messages can appears in the atlassian-jira.log
:
2012-06-27 14:49:38,930 http-80-2 ERROR mmatthews 889x68761x2 1uy0pkt 192.168.70.86 /rest/tabs/1.0/com.atlassian.jirafisheyeplugin:crucible-issuepanel/TST-1 [jirafisheyeplugin.domain.crucible.ReviewManagerImpl] (CRU Text Search) Error encountered retrieving issue reviews from 'http://localhost:8060/' for 'TST-1'
java.io.IOException: Error in remote call to 'localhost' (http://localhost:8060) [AbstractRestCommand{path='rest-service/search-v1/reviews', params={term=TST-1}, methodType=GET}] : Received status code 500 (Internal Server Error)
at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:194)
at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:123)
.
.
.
Caused by: com.atlassian.sal.api.net.ResponseException: Received status code 500 (Internal Server Error)
at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl$FishEyeResponseHandler.handle(FishEyeRestApiManagerImpl.java:345)
at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl$FishEyeResponseHandler.handle(FishEyeRestApiManagerImpl.java:318)
at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor$1.handle(ApplicationLinkRequestAdaptor.java:88)
at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:163)
at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:307)
at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:158)
at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:85)
at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:172)
... 146 more
2012-07-05 10:49:08,156 http-8090-2 WARN admin 649x953x1 13zmz6s 127.0.0.1 /rest/tabs/1.0/com.atlassian.jirafisheyeplugin:fisheye-issuepanel/TST-1 [web.issuetabpanel.fisheye.FishEyeIssueTabPanel] Error getting reviews for changeset SVN:5
java.io.IOException: Error in remote call to 'ecrnt37' (http://localhost:8060) [AbstractRestCommand{path='api/rest/query', params={query=select revisions where csid = '5' return reviews, rep=GitHub}, methodType=POST}] : repository not in correct state: Repository is not running
at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:194)
at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:123)
.
.
.
Caused by: com.atlassian.sal.api.net.ResponseException: repository not in correct state: Repository is not running
at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl$FishEyeResponseHandler.extractDocumentFrom(FishEyeRestApiManagerImpl.java:383)
at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl$FishEyeResponseHandler.handle(FishEyeRestApiManagerImpl.java:361)
at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl$FishEyeResponseHandler.handle(FishEyeRestApiManagerImpl.java:318)
at com.atlassian.applinks.core.auth.oauth.OAuthApplinksResponseHandler.handle(OAuthApplinksResponseHandler.java:116)
at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor$1.handle(ApplicationLinkRequestAdaptor.java:88)
at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:163)
at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:307)
at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:158)
at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:85)
at com.atlassian.applinks.core.auth.oauth.OAuthRequest.execute(OAuthRequest.java:196)
at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:172)
... 153 more
Cause
The repository referred in the error message is not functional in the Fisheye application.
Resolution
There can be two different resolutions to this issue:
- Fix the repository in the Fisheye application and refresh the Repository List Cache in JIRA (Administration > Plugins > Fisheye Configuration)
or
- Delete the project link of the repository referred in the error message
Last modified on Jul 31, 2018
Powered by Confluence and Scroll Viewport.