以下のコードでExcelにデータをエクスポートする際:
local export results as "${LOG_PATH}\results-${system:now}.xlsx" format xlsx include headers
次のエラーメッセージが表示されます:
Error itgenclr000: Invantive Data Hubの外部エラー。
オブジェクト参照がオブジェクトインスタンスに設定されていません。
10:33:47.172 質問 itgencun002: 詳細を表示しますか?質問? [y/N]
y
10:35:29.336 System.NullReferenceException
ValidationException
at OfficeOpenXml.Style.HeaderFooterTextFormat.ExcelHeaderFooterTextCollection.ReadHeaderFooterFormat(String hfText)
at OfficeOpenXml.ExcelHeaderFooterText.set_RightAlignedText(String value)
at Invantive.Data.ExcelExport.WriteToExcelPackage(GlobalState owner, ExecutionOptions executionOptions, IProviderManager manager, ExcelPackage package, ExportSettings exportSettings, List`1 resultSets, String url, String generatedByApplicationName, String generatedByApplicationVersion, String subject)
at Invantive.Data.ExcelExport.ExportToExcel(GlobalState owner, ExecutionOptions executionOptions, IProviderManager manager, ExportSettings exportSettings, List`1 resultSets, String url, St...utionOptions executionOptions, SparseArrayPool sparseArrayPool, String statement, ResultSet& resultSet, Action`3 fetchMoreRows, Action`9 executeStatement, Boolean isInInteractiveMode, ScriptingLanguageNextStepSpecification& nextStepSpecification) in c:\smoke\ws-26.0\Invantive.Data.Hub\src\Invantive.Producer.Data.Hub\QueryEngine.cs:line 2076
at Invantive.Producer.Data.Hub.QueryEngine.ProcessStatements(GlobalState owner, ExecutionOptions executionOptions, SparseArrayPool sparseArrayPool, Action`3 fetchMoreRows, Action`9 executeStatement, IEnumerable`1 statements, String sourceFileName, ScriptingLanguageNextStepSpecification& exitSpecification) in c:\smoke\ws-26.0\Invantive.Data.Hub\src\Invantive.Producer.Data.Hub\QueryEngine.cs:line 1604
INVANTIVE>