500 Error in tree_controller.rb
Created by: lahdekorpi
When trying to load one directory under a project, I get this. Other work just fine and I don't see anything unusual about this particular directory. It just contains three folders with no special characters and a .htaccess-file.
cat /home/git/gitlab/VERSION 7.4.3 (Just pulled the latest codes from git 7-4-stable branch, 85a9feab)
Started GET "/lygon-software/secret/tree/master/vendor" for 127.0.0.1 at 2014-11-13 14:35:11 +0200
Processing by Projects::TreeController#show as HTML
Parameters: {"project_id"=>"lygon-software/secret", "id"=>"master/vendor"}
Completed 500 Internal Server Error in 49ms
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
1: - tree, commit = submodule_links(submodule_item)
2: %tr{ class: "tree-item" }
3: %td.tree-item-file-name
4: %i.fa.fa-archive
app/models/repository.rb:162:in `method_missing'
app/models/repository.rb:228:in `submodule_url_for'
app/helpers/submodule_helper.rb:6:in `submodule_links'
app/views/projects/tree/_submodule_item.html.haml:1:in `_app_views_projects_tree__submodule_item_html_haml___3443920098639008414_70188242143820'
app/helpers/tree_helper.rb:19:in `render_tree'
app/views/projects/tree/_tree.html.haml:42:in `_app_views_projects_tree__tree_html_haml___3852518911604255446_70188244014680'
app/views/projects/tree/show.html.haml:9:in `_app_views_projects_tree_show_html_haml___3170785774790579373_70188245253540'
app/controllers/projects/tree_controller.rb:13:in `show'