The object reference is not set to an instance of an object.



[ad_1]


The object reference is not set to an instance of an object.



The object reference is not set to an instance of an object.



The description: An unhandled exception occurred while running the current web request. Check the stack trace for more information on the error and its origin in the code.

Exceptional details: System.NullReferenceException: The reference to an object is not defined on an instance of an object.

Source error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the following stack trace exceptions.

Trace of the pile:


[NullReferenceException: Object reference not set to an instance of an object.]
   
   
   
   Arby21mob.Controllers.NewsController.Details (ID Int32) +410
lambda_method (Closure, ControllerBase, Object[] ) +140
System.Web.Mvc.ReflectedActionDescriptor.Execute (ControllerContext controllerContext, IDictionary`2 Parameters) +279
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod (ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +34
System.Web.Mvc.Async. <> C__DisplayClbad42.b__41 () +32
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod (IAsyncResult asyncResult) +41
System.Web.Mvc.Async. <> C__DisplayClbad39.b__33 () +79
System.Web.Mvc.Async. <> C__DisplayClbad4f.b__49 () +387
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters (IAsyncResult asyncResult) +42
System.Web.Mvc.Async. <> C__DisplayClbad2a.b__20 () +32
System.Web.Mvc.Async. <> C__DisplayClbad25.b__22 (IAsyncResult asyncResult) +187
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction (IAsyncResult asyncResult) +38
System.Web.Mvc. <> C__DisplayClbad1d.b__18 (IAsyncResult asyncResult) +27
System.Web.Mvc.Async. <> C__DisplayClbad4.b__3 (IAsyncResult ar) +25
System.Web.Mvc.Controller.EndExecuteCore (IAsyncResult asyncResult) +52
System.Web.Mvc.Async. <> C__DisplayClbad4.b__3 (IAsyncResult ar) +25
System.Web.Mvc.Controller.EndExecute (IAsyncResult asyncResult) +38
System.Web.Mvc. <> C__DisplayClbad8.b__3 (IAsyncResult asyncResult) +41
System.Web.Mvc.Async. <> C__DisplayClbad4.b__3 (IAsyncResult ar) +25
System.Web.Mvc.MvcHandler.EndProcessRequest (IAsyncResult asyncResult) +38
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute () +602
System.Web.HttpApplication.ExecuteStepImpl (IExecutionStep step) +195
System.Web.HttpApplication.ExecuteStep (step IExecutionStep, Boolean & completedSynchronously) +128


Version Information: Microsoft .NET Framework Version: 4.0.30319; ASP.NET Version: 4.7.3429.0

[ad_2]
Source link