Skip to content

GitLab

  • Menu
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
  • #5405

Closed
Open
Created Oct 22, 2013 by Administrator@rootOwner

[6.2] Error 500 on "Files" page

Created by: dfyx

I only get the following for one of my projects:

Started GET "/groupname/reponame/tree/master" for 127.0.0.1 at 2013-10-21 06:01:39 +0200
Processing by Projects::TreeController#show as HTML
  Parameters: {"project_id"=>"groupname/reponame", "id"=>"master"}
Completed 500 Internal Server Error in 360ms

NoMethodError (undefined method `id' for nil:NilClass):
  app/models/tree.rb:7:in `initialize'
  lib/extracts_path.rb:120:in `new'
  lib/extracts_path.rb:120:in `tree'
  app/controllers/projects/tree_controller.rb:11:in `show'
  app/controllers/application_controller.rb:54:in `set_current_user_for_thread'

I assume it is because that project has two submodules on the root level. Other projects that have submodules deeper in the hierarchy or no submodules at all work fine.

Assignee
Assign to
Time tracking