Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #8556

Closed
Open
Created 10 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Error 500

Closed

Error 500

Created by: Poil

Hi,

With Gitlab 7.6.2 I've got an error 500 when browsing a subfolder of a repository, there is nothing special in this directory

drwxrwxr-x 10 git git  4096 Oct 27 17:34 ./
drwxr-xr-x 13 git git  4096 Oct 27 17:34 ../
drwxrwxr-x  2 git git  4096 Oct 27 17:34 AWS-Audit/
drwxrwxr-x  2 git git  4096 Oct 27 17:34 aws-scheduler/
drwxrwxr-x  2 git git  4096 Oct 27 17:34 aws-scheduler-pprod/
drwxrwxr-x  2 git git  4096 Oct 27 17:34 check_backup/
-rwxrwxr-x  1 git git  4290 Oct 27 17:34 entratact_backup.py*
-rwxrwxr-x  1 git git 12490 Oct 27 17:34 entratact_trim_backup.py*
drwxrwxr-x  3 git git  4096 Oct 27 17:34 CLOUDWATCH/
drwxrwxr-x  2 git git  4096 Oct 27 17:34 DESCRIBE_AWS_SERVICE/
drwxrwxr-x  2 git git  4096 Oct 27 17:34 dns/
-rwxrwxr-x  1 git git  1876 Oct 27 17:34 pop_network.sh*
-rwxrwxr-x  1 git git  3006 Oct 27 17:34 tag_instance_from_reverse_lookup.py*
-rwxrwxr-x  1 git git  2690 Oct 27 17:34 tag_volume.py*
drwxrwxr-x  2 git git  4096 Oct 27 17:34 website/
==> production.log <==
Started GET "/build/cfn-entratact/tree/master/tools" for 127.0.0.1 at 2015-01-10 10:50:43 +0100
Processing by Projects::TreeController#show as HTML
  Parameters: {"project_id"=>"build/cfn-entratact", "id"=>"master/tools"}
Completed 500 Internal Server Error in 113ms

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__3078344663143695756_69989017211620'
  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___565237418053301959_69988919221660'
  app/views/projects/tree/show.html.haml:9:in `_app_views_projects_tree_show_html_haml__3362908899797241201_69988926032940'
  app/controllers/projects/tree_controller.rb:13:in `show'

Linked issues
...

    Related merge requests

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    0 Assignees
    Assign to
    Milestone
    No milestone
    None
    None
    Time tracking
    Due date
    None
    None
    0
    Labels
    None
    Assign labels
    • No matching results
    • Manage project labels
    Confidentiality
    Not confidential

    You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

    Lock issue
    Unlocked
    participants
    Reference:

    Menu

    Projects Groups Snippets
    Help