title: Create action causing NullReferenceException
body: <p>Suddenly my Create action/view started causing NullReferenceException. Actually it started after migrating to bootstrap twitter 3.</p>
  
  <p>This is the first line that is causing the exception:</p>
  
  <pre><code>@Html.LabelFor(model =&gt; model.Name, new { @class = "col-lg-2 control-label" })
  </code></pre>
  
  <p>Here is my controller code:</p>
  
  <pre><code>        //
          // GET: /Panel/Partners/Create/
          [Authorize]
          public ActionResult Create()
          {
              ViewData["Logo"] = "";
  
              return View();
          }
  </code></pre>
  
  <p>Partial view (form):</p>
  
  <pre><code>@model MyApp.Entities.Partner
  
  &lt;fieldset data-listurl="@Url.Action("Index", "Partners", new { Area = "Panel" })" data-removelogo="@Url.Action("RemoveLogo", "Partners", new { Area = "Panel" })"&gt;
      &lt;legend&gt;Partners&lt;/legend&gt;
  
  
      &lt;div class="form-group"&gt;
          @Html.LabelFor(model =&gt; model.Name, new { @class = "col-lg-2 control-label" })
          &lt;div class="col-lg-10"&gt;
              &lt;div class="col-lg-7"&gt;
                  &lt;input type="text" id="Name" name="Name" value="@Model.Name" class="form-control" /&gt;
                  @Html.ValidationMessageFor(model =&gt; model.Name)
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;div class="form-group"&gt;
          @Html.LabelFor(model =&gt; model.Logo, new { @class = "col-lg-2 control-label" })
          &lt;div class="col-lg-10"&gt;
              &lt;div id="file-upload"&gt;
                  &lt;div class="col-lg-9"&gt;
                      &lt;span class=""&gt;@(ViewData["Logo"] == null || String.IsNullOrWhiteSpace(ViewData["Logo"].ToString()) ? "No file" : ViewData["Logo"].ToString()) &lt;/span&gt;
  
                      &lt;a href="#" class="btn btn-primary select-button"&gt;Choose&lt;/a&gt;
                  &lt;/div&gt;
                  &lt;input type="file" name="fileUpload" id="fileUpload" style="left: 0; top: -5000px; position: absolute;" /&gt;
              &lt;/div&gt;@Html.HiddenFor(model =&gt; model.Logo)
              &lt;div class="col-lg-9"&gt;
                  @if (ViewData["Logo"] != null &amp;&amp; !String.IsNullOrWhiteSpace(ViewData["Logo"].ToString()))
                  {
                      &lt;p&gt;&lt;img src="@String.Concat("http://remotepark.blob.core.windows.net/pictures/", ViewData["Logo"])" id="logoView" class="img-thumbnail" style="max-height: 150px" /&gt;&lt;/p&gt;
                      &lt;p&gt;&lt;a href="#" class="btn btn-default remove-button"&gt;Remove&lt;/a&gt;&lt;/p&gt;
                  }
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;div class="row form-actions"&gt;
          &lt;div class="col-lg-12"&gt;
              &lt;input type="submit" id="btnSubmit" class="btn btn-primary" value="Save" /&gt;
              &lt;input type="button" class="btn" id="btnCancelar" value="Cancel" /&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/fieldset&gt;
  </code></pre>
  
  <p>Create.cshtml</p>
  
  <pre><code>@model MyApp.Entities.Partner
  
  &lt;div class="panel-middle-top"&gt;
      &lt;div class="middle-top-left"&gt;&lt;/div&gt;
      &lt;div class="middle-top-center"&gt;
          &lt;ul class="breadcrumb" style="background-color: transparent;"&gt;
              &lt;li&gt;&lt;a href="@Url.Action("Index", "Home", new { Area = "Panel" })"&gt;Home&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="@Url.Action("Index", "Partners", new { Area = "Panel" })"&gt;Partners&lt;/a&gt;&lt;/li&gt;
              &lt;li class="active"&gt;New&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
      &lt;div class="middle-top-right"&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="panel-middle-content"&gt;
      @Html.Partial("/Areas/Panel/Views/Shared/_Alerts.cshtml")
  
      @using (Html.BeginForm("Create", "Partners", 
          FormMethod.Post, 
          new { 
              enctype = "multipart/form-data", 
              id = "partnersForm",
              @class="form-horizontal", 
              rule="form"
          }))
      {
          @Html.Partial("_PartnersForm")
      }
  &lt;/div&gt;
  </code></pre>
  
  <p>Model class</p>
  
  <pre><code>public partial class Partner
      {
          #region Primitive Properties
  
          public int ID { get; set; }
  
          public string Name { get; set; }
  
          public string Logo { get; set; }
  
          /// &lt;summary&gt;
          /// Indicater whether this partner is associated to the current parking lot
          /// &lt;/summary&gt;
          public bool Associated { get; set; }
  
          #endregion
  
          #region Navigation Properties
  
          public ICollection&lt;ParkingLot&gt; ParkingLots
          {
              get
              {
                  if (_parkingLots == null)
                  {
                      var newCollection = new FixupCollection&lt;ParkingLot&gt;();
                      newCollection.CollectionChanged += FixupParkingLots;
                      _parkingLots = newCollection;
                  }
                  return _parkingLots;
              }
              set
              {
                  if (!ReferenceEquals(_parkingLots, value))
                  {
                      var previousValue = _parkingLots as FixupCollection&lt;ParkingLot&gt;;
                      if (previousValue != null)
                      {
                          previousValue.CollectionChanged -= FixupParkingLots;
                      }
                      _parkingLots = value;
                      var newValue = value as FixupCollection&lt;ParkingLot&gt;;
                      if (newValue != null)
                      {
                          newValue.CollectionChanged += FixupParkingLots;
                      }
                  }
              }
          }
          private ICollection&lt;ParkingLot&gt; _parkingLots;
  
          #endregion
  
          #region Association Fixup
  
          private void FixupParkingLots(object sender, NotifyCollectionChangedEventArgs e)
          {
              if (e.NewItems != null)
              {
                  foreach (ParkingLot item in e.NewItems)
                  {
                      if (!item.Partners.Contains(this))
                      {
                          item.Partners.Add(this);
                      }
                  }
              }
  
              if (e.OldItems != null)
              {
                  foreach (ParkingLot item in e.OldItems)
                  {
                      if (item.Partners.Contains(this))
                      {
                          item.Partners.Remove(this);
                      }
                  }
              }
          }
  
          #endregion
  
      }
  </code></pre>
  
  <p>Am I missing something?</p>