title: Html ActionLink run time error: 'Value cannot be null or empty. but value is not null or empty
body: <p>I am trying to use an <code>@Html.ActionLink</code> for a clickable link in my view, however I get a run time exception:</p>
  
  <blockquote>
    <p>System.ArgumentException: 'Value cannot be null or empty.
    Parameter name: linkText</p>
  </blockquote>
  
  <p>The first param of <code>Html.ActionLink</code> is <code>linkText</code>, and as you can see from my code below, it is indeed not null or empty.</p>
  
  <pre><code>                    @foreach (var o in Model.Results)
                      {
                          &lt;tr&gt;
                              &lt;td&gt;@Html.ActionLink(o.Person.FirstName, "Detail", "Player", new { selectedPlayerID = o.Person.IDPerson, referringController = "ValidationHistory" }, null)&lt;/td&gt;
                              &lt;td&gt;@o.Person.FirstName&lt;/td&gt;
                              &lt;td&gt;@o.Person.LastName&lt;/td&gt;
                              &lt;td&gt;@o.Person.SocialSecurityNumber&lt;/td&gt;
  </code></pre>
  
  <p>Below is a screen shot of the page, at the top I embedded a @(string.IsNullOrWhiteSpace(o.Person.FirstName) ? "null/ws": o.Person.FirstName) 
  as you can see, it is indeed not null or empty.</p>
  
  <p><a href="https://i.stack.imgur.com/7yWOH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7yWOH.png" alt="enter image description here"></a></p>
  
  <p>Per request, below is the entire portion of the cshtml file that pertains to this issue.</p>
  
  <pre><code>&lt;div class="col-md-10 text-center"&gt;
      @if (Model.Results.Count == 0)
      {
          &lt;h3&gt;No Data to Display&lt;/h3&gt;
          &lt;h3&gt;Please Try Different Search Parameters&lt;/h3&gt;
      }
      else
      {
          &lt;div id="tablecontaner" class="col-md-10 text-left"&gt;
              &lt;table id="PVSearchReport" class="table table-striped table-bordered" style="width:100%;padding:10px"&gt;
                  &lt;thead&gt;
                      &lt;tr&gt;
  
                          &lt;th&gt;First Name&lt;/th&gt;
                          &lt;th&gt;Last Name&lt;/th&gt;
                          &lt;th&gt;SSN&lt;/th&gt;
                          &lt;th&gt;IRS / TIN&lt;/th&gt;
                          &lt;th&gt;DMF Details&lt;/th&gt;
                          &lt;th&gt;List Matches&lt;/th&gt;
                          &lt;th&gt;Executed At&lt;/th&gt;
                          &lt;th&gt;Executed By&lt;/th&gt;
                          &lt;th&gt;Club ID&lt;/th&gt;
                          &lt;th&gt;Lists&lt;/th&gt;
                      &lt;/tr&gt;
                  &lt;/thead&gt;
                  &lt;tbody&gt;
                      @foreach (var o in Model.Results)
                      {
                          &lt;tr&gt;
                              &lt;td&gt;@Html.ActionLink(o.Person.FirstName, "Detail", "Player", new { selectedPlayerID = o.Person.IDPerson, referringController = "ValidationHistory" }, null)&lt;/td&gt;
                              &lt;td&gt;@o.Person.FirstName&lt;/td&gt;
                              &lt;td&gt;@o.Person.LastName&lt;/td&gt;
                              &lt;td&gt;@o.Person.SocialSecurityNumber&lt;/td&gt;
  
                              &lt;td&gt;@o.Validation_Results.IRSOk&lt;/td&gt;&lt;!--IRS/TIN--&gt;
                              &lt;td&gt;@o.Validation_Results.DMFOk&lt;/td&gt;&lt;!--DMF Details--&gt;
                              &lt;td&gt;@o.Validation_Results.ListOk&lt;/td&gt;&lt;!--List Matches--&gt;
                              &lt;td&gt;@o.Validation_Results.ExecutedAt&lt;!--Executed At--&gt;
                              &lt;td&gt;@o.Validation_Results.ExecutedBy&lt;/td&gt;&lt;!--Executed By--&gt;
                              &lt;td&gt;@o.Person.ClubID&lt;/td&gt;
                              &lt;td&gt;@o.ListMatches&lt;/td&gt;
                          &lt;/tr&gt;
                      }
                  &lt;/tbody&gt;        
              &lt;/table&gt;
          &lt;/div&gt;
      }
  &lt;/div&gt;
  </code></pre>