I am trying to make the OData query in my dev portal, here I m getting the following error. I did all the setting in entity list, not sure why getting this error, I restarted the portal as well but it didn’t work, wanted to check if it is related to MS update or something else.
Apricate your help in advance.
<m:error xmlns:m="schemas.microsoft.com/.../metadata"> <m:code/> <m:message xml:lang="en-US">An error has occurred.</m:message> <m:innererror> <m:message>Object reference not set to an instance of an object.</m:message> <m:type>System.NullReferenceException</m:type> <m:stacktrace> at Adxstudio.Xrm.Web.UI.EntityList.OData.EntityListODataFeedDataAdapter.GetEntityList(IEdmModel model, String entitySetName) in S:\Framework\Adxstudio.Xrm\Web\UI\EntityList\OData\EntityListODataFeedDataAdapter.cs:line 0 at Adxstudio.Xrm.Web.UI.EntityList.OData.EntityListODataFeedDataAdapter.GetPageSize(IEdmModel model, String entitySetName) in S:\Framework\Adxstudio.Xrm\Web\UI\EntityList\OData\EntityListODataFeedDataAdapter.cs:line 183 at Site.Areas.EntityList.Controllers.ODataEntitySetController.Get() in S:\Samples\MasterPortal\Areas\EntityList\Controllers\ODataEntitySetController.cs:line 31 at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()</m:stacktrace> </m:innererror> </m:error>