Azure cosmosdb Azure CosmosDB SDK运行时异常:方法';任何';不支持

Azure cosmosdb Azure CosmosDB SDK运行时异常:方法';任何';不支持,azure-cosmosdb,Azure Cosmosdb,我得到一个stacktrace运行时异常,如下所示。它似乎没有在我们的应用程序代码中包含任何关于它发生在哪里的信息。有什么想法可以导致这个异常吗?我们在应用程序代码中不使用“Any” 让我知道还有什么信息可以帮助我解决这个问题 { "Exception": { "Type": "Microsoft.Azure.Documents.Linq.DocumentQueryException", "Message": "Method 'Any' is not supported.,

我得到一个stacktrace运行时异常,如下所示。它似乎没有在我们的应用程序代码中包含任何关于它发生在哪里的信息。有什么想法可以导致这个异常吗?我们在应用程序代码中不使用“Any”

让我知道还有什么信息可以帮助我解决这个问题

{
  "Exception": {
    "Type": "Microsoft.Azure.Documents.Linq.DocumentQueryException",
    "Message": "Method 'Any' is not supported., Windows/10.0.14393 documentdb-netcore-sdk/2.1.3",
    "StackTrace": "
   at Microsoft.Azure.Documents.Linq.ArrayBuiltinFunctions.Visit(MethodCallExpression methodCallExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.BuiltinFunctionVisitor.VisitBuiltinFunctionCall(MethodCallExpression methodCallExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitMethodCallScalar(MethodCallExpression methodCallExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitScalarExpression(Expression inputExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitUnary(UnaryExpression inputExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitScalarExpression(Expression inputExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitBinary(BinaryExpression inputExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitScalarExpression(Expression inputExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitBinary(BinaryExpression inputExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitScalarExpression(Expression inputExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitBinary(BinaryExpression inputExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitScalarExpression(Expression inputExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitBinary(BinaryExpression inputExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitScalarExpression(Expression inputExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitScalarLambda(Expression inputExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitWhere(ReadOnlyCollection`1 arguments, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitMethodCall(MethodCallExpression inputExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.Translate(Expression inputExpression, TranslationContext context)\r\n
   at Microsoft.Azure.Documents.Linq.ExpressionToSql.TranslateQuery(Expression inputExpression)\r\n
   at Microsoft.Azure.Documents.Linq.SqlTranslator.TranslateQuery(Expression inputExpression)\r\n
   at Microsoft.Azure.Documents.Linq.DocumentQueryEvaluator.HandleMethodCallExpression(MethodCallExpression expression)\r\n
   at Microsoft.Azure.Documents.Linq.DocumentQueryEvaluator.Evaluate(Expression expression)\r\n
   at Microsoft.Azure.Documents.Query.DefaultDocumentQueryExecutionContext.<CreateRequestAsync>d__12.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n
   at Microsoft.Azure.Documents.Query.DefaultDocumentQueryExecutionContext.<ExecuteOnceAsync>d__10.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n
   at Microsoft.Azure.Documents.Query.DefaultDocumentQueryExecutionContext.<>c__DisplayClass9_0.<<ExecuteInternalAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<>c__DisplayClass1_0.<<ExecuteAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n
   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)\r\n
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteAsync>d__1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n
   at Microsoft.Azure.Documents.Query.DefaultDocumentQueryExecutionContext.<ExecuteInternalAsync>d__9.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n
   at Microsoft.Azure.Documents.Query.DocumentQueryExecutionContextBase.<ExecuteNextAsync>d__42.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n
   at Microsoft.Azure.Documents.Query.ProxyDocumentQueryExecutionContext.<ExecuteNextAsync>d__15.MoveNext()",
    "InnerExceptions": []
  }
}
{
“例外情况”:{
“类型”:“Microsoft.Azure.Documents.Linq.DocumentQueryException”,
“消息”:“不支持任何方法,Windows/10.0.14393 documentdb netcore sdk/2.1.3”,
“StackTrace”:
在Microsoft.Azure.Documents.Linq.ArrayBuiltinFunctions.Visite(MethodCallExpression MethodCallExpression,TranslationContext上下文)\r\n
位于Microsoft.Azure.Documents.Linq.BuiltinFunctionVisitor.VisitBuiltinFunctionCall(MethodCallExpression MethodCallExpression,TranslationContext上下文)\r\n
位于Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitMethodCallScalar(MethodCallExpression MethodCallExpression,TranslationContext上下文)\r\n
在Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitScalRexpression(Expression inputExpression,TranslationContext上下文)\r\n
位于Microsoft.Azure.Documents.Linq.ExpressionToSql.Visiturary(UniaryExpression inputExpression,TranslationContext上下文)\r\n
在Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitScalRexpression(Expression inputExpression,TranslationContext上下文)\r\n
在Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitBinary(二进制表达式inputExpression,TranslationContext上下文)\r\n
在Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitScalRexpression(Expression inputExpression,TranslationContext上下文)\r\n
在Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitBinary(二进制表达式inputExpression,TranslationContext上下文)\r\n
在Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitScalRexpression(Expression inputExpression,TranslationContext上下文)\r\n
在Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitBinary(二进制表达式inputExpression,TranslationContext上下文)\r\n
在Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitScalRexpression(Expression inputExpression,TranslationContext上下文)\r\n
在Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitBinary(二进制表达式inputExpression,TranslationContext上下文)\r\n
在Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitScalRexpression(Expression inputExpression,TranslationContext上下文)\r\n
位于Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitScalarLambda(Expression inputExpression,TranslationContext上下文)\r\n
位于Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitWhere(ReadOnlyCollection`1参数,TranslationContext上下文)\r\n
位于Microsoft.Azure.Documents.Linq.ExpressionToSql.VisitMethodCall(MethodCallExpression inputExpression,TranslationContext上下文)\r\n
位于Microsoft.Azure.Documents.Linq.ExpressionToSql.Translate(表达式inputExpression,TranslationContext上下文)\r\n
位于Microsoft.Azure.Documents.Linq.ExpressionToSql.TranslateQuery(表达式inputExpression)\r\n
位于Microsoft.Azure.Documents.Linq.SqlTranslator.TranslateQuery(表达式inputExpression)\r\n
位于Microsoft.Azure.Documents.Linq.DocumentQueryEvaluator.HandleMethodCallExpression(MethodCallExpression表达式)\r\n
位于Microsoft.Azure.Documents.Linq.DocumentQueryEvaluator.Evaluate(表达式)\r\n
在Microsoft.Azure.Documents.Query.DefaultDocumentQueryExecutionContext.d\u 12.MoveNext()\r\n--引发异常的上一个位置的堆栈结束跟踪---\r\n
在System.Runtime.CompilerServices.TaskWaiter.ThrowForNonSuccess(任务任务)时\r\n
在System.Runtime.CompilerServices.TaskWaiter.HandleNonSuccessAndDebuggerNotification(任务任务)中\r\n
在Microsoft.Azure.Documents.Query.DefaultDocumentQueryExecutionContext.d\u 10.MoveNext()\r\n---引发异常的上一个位置的堆栈结束跟踪---\r\n
在System.Runtime.CompilerServices.TaskWaiter.ThrowForNonSuccess(任务任务)时\r\n
在System.Runtime.CompilerServices.TaskWaiter.HandleNonSuccessAndDebuggerNotification(任务任务)中\r\n
在Microsoft.Azure.Documents.Query.DefaultDocumentQueryExecutionContext.c\u DisplayClass9\u 0.d.MoveNext()\r\n---引发异常的上一个位置的堆栈结束跟踪---\r\n
在System.Runtime.CompilerServices.TaskWaiter.ThrowForNonSuccess(任务任务)时\r\n
在System.Runtime.CompilerServices.TaskWaiter.HandleNonSuccessAndDebuggerNotification(任务任务)中\r\n
在Microsoft.Azure.Documents.BackoffRetryUtility`1.c\u DisplayClass1\u 0.d.MoveNext()\r\n--引发异常的上一个位置的堆栈结束跟踪---\r\n
在System.Runtime.CompilerServices.TaskWaiter.ThrowForNonSuccess(任务任务)时\r\n
在System.Runtime.CompilerServices.TaskWaiter.HandleNonSuccessAndDebuggerNotification(任务任务)中\r\n
在Microsoft.Azure.Documents.BackoffRetryUtility`1.d\u 5.MoveNext()\r\n--从引发异常的上一个位置开始的堆栈结束跟踪---\r\n
位于Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(DispatchInfo capturedException除外)\r\n
在Microsoft.Azure.Documents.BackoffRetryUtility`1.d\u 5.MoveNext()\r\n--从引发异常的上一个位置开始的堆栈结束跟踪---\r\n
在System.Runtime.CompilerServices.TaskWaiter.ThrowForNonSuccess(任务任务)时\r\n
在System.Runtime.CompilerServices.TaskWaiter.HandleNonSuccessAndDebuggerNotification(任务任务)中\r\n
在Microsoft.Azure.Documents.BackoffRetryUtility`1.d\u\u 1.MoveNext()\r\n--从引发异常的上一个位置开始的堆栈结束跟踪---\r\n
在System.Runtime.CompilerServices.TaskWaiter.ThrowForNonSuccess(任务任务)时\r\n
在System.Runtime.CompilerServices.TaskWaiter.HandleNonSuccessAndDebuggerNotification(任务任务)中\r\n
在Microsoft.Azure.Documents.Query.DefaultDocumentQueryExecutionContext.d\u 9.MoveNext()\r\n---堆栈结束跟踪f