Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"Message": "An error has occurred.",
"ExceptionMessage": "Expression expected",
"ExceptionType": "System.Linq.Dynamic.ParseException",
"StackTrace": " at System.Linq.Dynamic.ExpressionParser.ParsePrimaryStart() in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\Dynamic.cs:line 1109\r\n at System.Linq.Dynamic.ExpressionParser.ParsePrimary() in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\Dynamic.cs:line 1067\r\n at System.Linq.Dynamic.ExpressionParser.ParseUnary() in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\Dynamic.cs:line 1062\r\n at System.Linq.Dynamic.ExpressionParser.ParseMultiplicative() in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\Dynamic.cs:line 1007\r\n at System.Linq.Dynamic.ExpressionParser.ParseAdditive() in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\Dynamic.cs:line 975\r\n at System.Linq.Dynamic.ExpressionParser.ParseComparison() in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\Dynamic.cs:line 857\r\n at System.Linq.Dynamic.ExpressionParser.ParseLogicalAnd() in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\Dynamic.cs:line 842\r\n at System.Linq.Dynamic.ExpressionParser.ParseLogicalOr() in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\Dynamic.cs:line 827\r\n at System.Linq.Dynamic.ExpressionParser.ParseExpression() in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\Dynamic.cs:line 811\r\n at System.Linq.Dynamic.ExpressionParser.Parse(Type resultType) in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\Dynamic.cs:line 771\r\n at System.Linq.Dynamic.DynamicExpression.ParseLambda(ParameterExpression[] parameters, Type resultType, String expression, Object[] values) in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\Dynamic.cs:line 199\r\n at System.Linq.Dynamic.DynamicExpression.ParseLambda(Type itType, Type resultType, String expression, Object[] values) in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\Dynamic.cs:line 193\r\n at System.Linq.Dynamic.DynamicQueryable.Where(IQueryable source, String predicate, Object[] values) in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\Dynamic.cs:line 25\r\n at System.Linq.Dynamic.DynamicQueryable.Where[T](IQueryable`1 source, String predicate, Object[] values) in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\Dynamic.cs:line 18\r\n at Facilit.BLL.ListOptionsExtensions.SelectByCriteriaFilter[T](IQueryable`1 query, IEnumerable`1 criteria) in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\ListOptionsExtensions.cs:line 114\r\n at Facilit.BLL.ListOptionsExtensions.SetFilters[T](IQueryable`1 query, ListOptions listOptions) in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Filtering\\ListOptionsExtensions.cs:line 34\r\n at Facilit.BLL.FmEntity.List(ListOptions options, String connectionString) in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.BLL\\Generated\\FmEntity.cs:line 1004\r\n at Facilit.WebAPI.Controllers.FmEntityController.Search(FmEntitySearchFilterModel filterModel) in C:\\Program Files (x86)\\Jenkins\\workspace\\Facilit.WebAPI\\Facilit.WebApi\\Facilit.WebAPI\\Controllers\\FmEntityController.cs:line 168\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment