Exception in template (Forms/Form\wasfeedback_form.cshtml): System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.effbeffbacbcff.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
   at RazorEngine.Templating.TemplateService.Run(ITemplate template, DynamicViewBag viewBag)
   at RazorEngine.Templating.TemplateService.Parse(String razorTemplate, Object model, DynamicViewBag viewBag, String cacheName)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, DynamicViewBag viewBag, String cacheName)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
@inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> @using Dynamicweb.Rendering @using Dynamicweb @using Dynamicweb.Modules @using System.Web @using Dynamicweb.Content.Items @{ //string customvalue = System.Web.HttpContext.Current.Request.QueryString["wcag"]; //string primaryDomain = GetGlobalValue("Global:Area.Primarydomain"); //string fullUrl = primaryDomain + customvalue; string Ref = System.Web.HttpContext.Current.Request.UrlReferrer.ToString(); } @GetValue("Form.FormStart") @GetValue("Form.SystemFields") <style> .form-group.required .control-label:after { content:" *"; color:red; } .btn-file { position: relative; overflow: hidden; } .btn-file input[type=file] { position: absolute; top: 0; right: 0; min-width: 100%; min-height: 100%; font-size: 100px; text-align: right; filter: alpha(opacity=0); opacity: 0; outline: none; background: white; cursor: inherit; display: block; } fieldset{ margin-bottom:35px; } .btn-submit{ margin-bottom: 35px; } </style> <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/validator.js"></script> <script> $(document).ready(function () { $('#dw-form-11').validator(); }); </script> <fieldset> <legend>Jeg oplever følgende...:</legend> @GetString("Form.Field.Formaal.Text") <div class="form-group has-feedback required"> <label for="Emne" class="col-form-label control-label">Emne</label> <input type="text" class="form-control" name="Emne" id="Emne" value="" placeholder="" required="" aria-required="True" data-error="Udfyld venligst emnet"> <div role="alert" class="help-block with-errors"aria-live="assertive"></div> </div> <div class="form-group has-feedback required"> <label for="Beskrivelse" class="col-form-label control-label">Beskrivelse</label> <p style="display:block;font-weight:normal;">@GetString("Form.Field.Beskrivelse.Description")</p> <textarea rows="0" class="form-control" id="Beskrivelse" name="Beskrivelse" required="" aria-required="True" data-error="Udfyld venligst beskrivelsen"></textarea> <div role="alert" class="help-block with-errors"aria-live="assertive"></div> </div> <div class="form-group has-feedback"> <input type="hidden" value="@Ref" id="skjult" name="skjult"> </div> </fieldset> <fieldset> <legend>Kontaktoplysninger:</legend> <p>@GetString("Form.Field.Kontaktmig.Text")</p> <div class="form-group has-feedback "> <label for="Fuldenavn" class="col-form-label control-label">Fulde navn</label> <input type="text" class="form-control" name="Fuldenavn" id="Fuldenavn" value="" placeholder=""> <div class="help-block with-errors" aria-live="assertive"></div> </div> <div class="form-group has-feedback"> <label for="Email" class="col-form-label control-label">E-mail</label> <input type="text" class="form-control" name="Email" id="Email" value="" placeholder="" pattern="^[a-zA-Z0-9._+-]+&#64;[a-zA-Z0-9.-]+\.[a-zA-Z]{2,9}$" data-error='Udfyld venligst feltet med en valid E-mail. Eksempelvis: navn@mail.dk' aria-label="Email"> <div role="alert" class="help-block with-errors" aria-live="assertive"></div> </div> <div class="form-group has-feedback"> <label for="Telefon" class="col-form-label control-label">Telefon</label> <input type="text" class="form-control" name="Telefon" id="Telefon" value="" placeholder="" pattern="(\+45|0045|\(45\))?\s?[2-9](\s?\d){7}" data-error='Udfyld venligst feltet med et valid telefonnummer. Eksempelvis: 12345678 eller +4512345678'> <div role="alert" class="help-block with-errors" aria-live="assertive"></div> </div> <p>@GetString("Form.Field.Disclaimer.Text")</p> </fieldset> <div class="form-group "> <input type="submit" class="btn btn-primary btn-submit col-xs-5 col-sm-3 pull-left " id="Send" name="Send" value="Send"> </div> @GetValue("Form.FormEnd")