尝试在 GitLab 中查看 .java(和其他)文件时出现以下错误:
500:很抱歉,但出了点问题。
/home/git/gitlab/log/production.log:
Started GET "/xbjoernx/Project1/blob/master/src/de/xbjoernx/project1/NotificationRedirect.java" for at 2013-07-02 12:00:44 +0200
Processing by BlobController#show as HTML
Parameters: {"project_id"=>"xbjoernx/Project1", "id"=>"master/src/de/xbjoernx/project1/NotificationRedirect.java"}
Rendered shared/_ref_switcher.html.haml (2.2ms)
Rendered blob/_actions.html.haml (457.1ms)
Rendered blob/_text.html.haml (482.3ms)
Rendered blob/_blob.html.haml (972.0ms)
Rendered blob/show.html.haml within layouts/project_resource (990.9ms)
Completed 500 Internal Server Error in 1020ms
ActionView::Template::Error (EPIPE):
9: .file_content.code
10: - unless blob.empty?
11: %div{class: user_color_scheme_class}
12: = raw blob.colorize(formatter: :gitlab)
13: - else
14: %p.nothing_here_message Empty file
app/views/blob/_text.html.haml:12:in `_app_views_blob__text_html_haml__85795113__642493118'
app/views/blob/_blob.html.haml:28:in `_app_views_blob__blob_html_haml__678936362__642626818'
app/views/blob/show.html.haml:4:in `_app_views_blob_show_html_haml___279560956__642657458'