We have an existing application using the HTML To PDF function ConvertAsync as well as a new application under development and both began returning this exception about 3 days ago. We have confirmed the exception occurs with previously successful input files and there have been no changes to the existing application so we believe this is a problem on the API side.
We’d like to know if this API ConvertAsync method is broken and if there is an estimated time we should be able to use it again.
Thanks
Stack trace
System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
—> System.NullReferenceException: Object reference not set to an instance of an object.
at Aspose.HTML.Cloud.Sdk.Services.StorageService.<>c__DisplayClass21_0.<b__0>d.MoveNext()
— End of stack trace from previous location —
at Aspose.HTML.Cloud.Sdk.Services.StorageService.UploadFileAsync(String file, String remoteFileUri, String storageName)
at Aspose.HTML.Cloud.Sdk.StorageApi.UploadFileAsync(String file, String remoteFileUri, String storageName)
at Aspose.HTML.Cloud.Sdk.Services.ConversionService.UploadAsync(String folder, String basePath, String[] files)
at Aspose.HTML.Cloud.Sdk.Services.ConversionService.PrepareRequestBodyAsync(ConverterBuilder builder)
at Aspose.HTML.Cloud.Sdk.Services.ConversionService.<>c__DisplayClass12_0.<b__0>d.MoveNext()
— End of stack trace from previous location —
at Aspose.HTML.Cloud.Sdk.Services.ConversionService.ExecuteConversionAsync(ConverterBuilder builder, IObserver1 observer) at Aspose.HTML.Cloud.Sdk.Services.ConversionService.ConvertAsync(ConverterBuilder builder, IObserver
1 observer)
at Aspose.HTML.Cloud.Sdk.ConvertApi.ConvertAsync(ConverterBuilder builder, IObserver1 observer) at Aspose.HTML.Cloud.Sdk.ConvertApi.ConvertAsync(String inputFilePath, IList
1 resources, String outputFilePath, ConversionOptions options, IObserver1 observer) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at EIT_ArchiveTeamsConversations.Helpers.AsposeCloud.CreatePDFFromHtml(String inputFileName, String outputFileName, String subject, String htmlContent) in C:\development\envisionit\EUM_V6\EIT_ArchiveTeamsConversations\Helpers\AsposeCloud.cs:line 48
at EIT_ArchiveTeamsConversations.Helpers.CsvHelpers.GatherArchiveChannelMessages() in C:\development\envisionit\EUM_V6\EIT_ArchiveTeamsConversations\Helpers\CsvHelpers.cs:line 269