看了日志,也看不懂,能不能设计器报错的时候,能报错误出来呀
2024-08-20 17:15:32.573+08:00 [ERR] 0HN5SVBRN1G6V:000006C9 GrapeCity.Enterprise.Dashboards.Plugin.Controllers.PivotController Failed to process pivot tasks in AnalysisService.
GrapeCity.Enterprise.Server.AnalysisModel.Analyzer.ModelX.ModelXAnalyzerException: Failed to generate SQL against execution engine.
---> GrapeCity.Enterprise.Analysis.Modeling.Query.Abstractions.DirectQueryException: Execution engine occurs an exception.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at GrapeCity.Enterprise.Analysis.Modeling.Query.DataAnalysisModelAdapter.EntityPathManager.GetEntityFullPath(IEntity baseEntity, IEntity targetEntity)
at GrapeCity.Enterprise.Analysis.Modeling.Query.DataAnalysisModelAdapter.EntityPathManager.GetPath(String baseEntityName, String targetEntityName)
at GrapeCity.Enterprise.Analysis.Modeling.Query.DataModel.Abstractions.ModelContextExtension.HasConsistentPath(IModelContext model, String baseEntityName, String targetEntityName)
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.FilterManager.GetUseSecurityEnities(IReadOnlyList`1 QueryTreeEntities)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryStatementBuilder.GetQueryTreeInfor(HashSet`1 queryEntitys, String baseTableName, Boolean useOneToManyCalculateResult)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.QueryTableColumns(QueryTable table, String baseEntity, EngineSettings settings)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.BuildTable(QueryTable table, String baseEntity, EngineSettings settings)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.<>c__DisplayClass8_0.<Build>b__0(QueryTable table)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.QueryCTEColumns(QueryTable table, IEnumerable`1 keyColumns, IEnumerable`1 columns, Boolean bDistinct, String baseEntity, EngineSettings settings)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.BuildTable(QueryTable table, String baseEntity, EngineSettings settings)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.<>c__DisplayClass8_0.<Build>b__0(QueryTable table)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.EvaluateMeasureGroup(MeasureGroup measure, EngineSettings settings, QueryEntity& newQueryEntity)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.QueryMeasureGroup(MeasureGroup measureGroup, EngineSettings settings)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.BuildTable(QueryTable table, String baseEntity, EngineSettings settings)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.<>c__DisplayClass8_0.<Build>b__0(QueryTable table)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.QueryCTEColumns(QueryTable table, IEnumerable`1 keyColumns, IEnumerable`1 columns, Boolean bDistinct, String baseEntity, EngineSettings settings)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.BuildTable(QueryTable table, String baseEntity, EngineSettings settings)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.<>c__DisplayClass8_0.<Build>b__0(QueryTable table)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.EvaluateMeasureGroup(MeasureGroup measure, EngineSettings settings, QueryEntity& newQueryEntity)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.QueryMeasureGroup(MeasureGroup measureGroup, EngineSettings settings)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.BuildTable(QueryTable table, String baseEntity, EngineSettings settings)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.<>c__DisplayClass8_0.<Build>b__0(QueryTable table)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.QueryCTEColumns(QueryTable table, IEnumerable`1 keyColumns, IEnumerable`1 columns, Boolean bDistinct, String baseEntity, EngineSettings settings)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.BuildTable(QueryTable table, String baseEntity, EngineSettings settings)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryResultBuilder.<>c__DisplayClass8_0.<Build>b__0(QueryTable table)
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryModelActuator.BuildQueryModel(QueryTable table, EngineSettings settings)
--- End of inner exception stack trace ---
at GrapeCity.Enterprise.Analysis.Modeling.Query.ExecutionEngine.QueryModelActuator.BuildQueryModel(QueryTable table, EngineSettings settings)
at GrapeCity.Enterprise.Server.AnalysisModel.Analyzer.ModelX.GeneralModelAnalyzer.ModelDAnalyzer.<>c__DisplayClass20_0.<BuildWithDAXEngine>b__0(ITable x)
at System.Linq.Enumerable.SelectListIterator`2.Fill(ReadOnlySpan`1 source, Span`1 destination, Func`2 func)
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at GrapeCity.Enterprise.Server.AnalysisModel.Analyzer.ModelX.GeneralModelAnalyzer.ModelDAnalyzer.BuildWithDAXEngine(IDataAnalysisModel patchedModel, AggregationModel originalQueryModel, IReadOnlyDictionary`2 originalExtensiveConfigs, String providerName)
at GrapeCity.Enterprise.Server.AnalysisModel.Analyzer.ModelX.GeneralModelAnalyzer.ModelDAnalyzer.<>c__DisplayClass12_0`1.<<CreateAnalysisTask>b__0>d.MoveNext()
--- End of inner exception stack trace ---
at GrapeCity.Enterprise.Server.AnalysisModel.Analyzer.Shared.AnalysisResultPart.FaultedAnalysisResultData.get_ColumnCount()
at GrapeCity.Enterprise.Dashboards.Plugin.Controllers.PivotController.Pivot(String datasetId, String dashboardId, String sessionId, String pivotRequest, PermissionHelper permissionHelper, IConfiguration configuration, ICorrelationContextAccessor correlationContextAccessor, IAuditLogService auditLogService, IExecuteSession executeSession)
2024-08-20 17:15:32.574+08:00 [INF] 0HN5SVBRN1G6V:000006C9 Serilog.AspNetCore.RequestLoggingMiddleware Request finished HTTP/2 POST /api/pivot - 200 application/json; charset=utf-8 275.4435 ms
2024-08-20 17:15:32.589+08:00 [INF] 0HN5SVBRN1G6V:000006C5 Serilog.AspNetCore.RequestLoggingMiddleware Request finished HTTP/2 POST /api/pivot - 200 application/json; charset=utf-8 298.9803 ms |