NoMethodError in Projects#show

Showing app/views/projects/show.erb where line #4 raised:

undefined method `name' for nil:NilClass

Extracted source (around line #4):

1: <div id="whygoodpop"><h3>Why it's good to share…</h3><p>You can influence how visible your portfolio is on Creative Times by sharing your projects via Twitter and Facebook. The projects that have been shared the most will automatically appear on the CT home page. Share and be seen, creative friends!</p>
2: 	</div>
3: 
4: <% @page_title = "#{@project.title} | #{@project.company.name}" %>
5: 
6: <div id="mainCol">
7: 

RAILS_ROOT: /store/ct/creative

Application Trace | Framework Trace | Full Trace
/store/ct/creative/app/views/projects/show.erb:4:in `_run_erb_app47views47projects47show46erb'

Request

Parameters:

{"company"=>"simon-morris-associates-exhibition-design",
 "project"=>"enough-headaches-–-the-well-being-factor-of-lighting-design"}

Show session dump

Response

Headers:

{"Content-Type"=>"",
 "Cache-Control"=>"no-cache"}