Free Support Forum - aspose.app

Issue - internalerror 2021-05-04t06:54:12.674z

e135050b-a561-4035-a6d5-5d559dcbdce5

Originated From: https://products.aspose.app/cad/conversion/ifc-to-dxf/navigation/errorReportForm/errorReportSuccess/errorReportForm

Exception: InternalError

{“Files”:null,“DownloadFileLink”:null,“StatusCode”:500,“FileName”:“out.dxf”,“FolderName”:“e135050b-a561-4035-a6d5-5d559dcbdce5”,“Status”:“500 One or more errors occurred.”,“Text”:null,“FileProcessingErrorCode”:0,“FileCount”:0,“IsSuccess”:false,“idError”:“InternalError”,“Message”:“System.AggregateException: One or more errors occurred. —> System.NullReferenceException: Object reference not set to an instance of an object.\r\n at Aspose.App.Helpers.PageSizeHelper.SetupPageSize(DrawingInfo doc, CadRasterizationOptions rasterizationOptions) in C:\Code\ASP\aspose.cad.apps\Aspose.App\src\Aspose.App.API\Helpers\PageSizeHelper.cs:line 16\r\n at Aspose.App.Controllers.CAD.ControllerBase.SaveDrawing(DrawingInfo doc, String filename, ExportingOptions saveOptions, CancellationToken cancellationToken) in C:\Code\ASP\aspose.cad.apps\Aspose.App\src\Aspose.App.API\Controllers\CAD\ControllerBase.cs:line 377\r\n at Aspose.App.Controllers.CAD.ControllerBase.SaveDrawing(DrawingInfo doc, String outPath, String zipOutFolder, ExportingOptions saveOptions, CancellationToken cancellationToken) in C:\Code\ASP\aspose.cad.apps\Aspose.App\src\Aspose.App.API\Controllers\CAD\ControllerBase.cs:line 342\r\n at Aspose.App.Controllers.CAD.ConversionController.<>c__DisplayClass0_3.b__6() in C:\Code\ASP\aspose.cad.apps\Aspose.App\src\Aspose.App.API\Controllers\CAD\ConversionController.cs:line 64\r\n at System.Threading.Tasks.Task.Execute()\r\n — End of inner exception stack trace —\r\n at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n at Aspose.App.Controllers.CAD.ConversionController.<>c__DisplayClass0_1.b__4(String inFilePath, String outPath, String zipOutFolder) in C:\Code\ASP\aspose.cad.apps\Aspose.App\src\Aspose.App.API\Controllers\CAD\ConversionController.cs:line 67\r\n at Aspose.App.Controllers.CAD.ControllerBase.d__12.MoveNext() in C:\Code\ASP\aspose.cad.apps\Aspose.App\src\Aspose.App.API\Controllers\CAD\ControllerBase.cs:line 180\r\n—> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.\r\n at Aspose.App.Helpers.PageSizeHelper.SetupPageSize(DrawingInfo doc, CadRasterizationOptions rasterizationOptions) in C:\Code\ASP\aspose.cad.apps\Aspose.App\src\Aspose.App.API\Helpers\PageSizeHelper.cs:line 16\r\n at Aspose.App.Controllers.CAD.ControllerBase.SaveDrawing(DrawingInfo doc, String filename, ExportingOptions saveOptions, CancellationToken cancellationToken) in C:\Code\ASP\aspose.cad.apps\Aspose.App\src\Aspose.App.API\Controllers\CAD\ControllerBase.cs:line 377\r\n at Aspose.App.Controllers.CAD.ControllerBase.SaveDrawing(DrawingInfo doc, String outPath, String zipOutFolder, ExportingOptions saveOptions, CancellationToken cancellationToken) in C:\Code\ASP\aspose.cad.apps\Aspose.App\src\Aspose.App.API\Controllers\CAD\ControllerBase.cs:line 342\r\n at Aspose.App.Controllers.CAD.ConversionController.<>c__DisplayClass0_3.b__6() in C:\Code\ASP\aspose.cad.apps\Aspose.App\src\Aspose.App.API\Controllers\CAD\ConversionController.cs:line 64\r\n at System.Threading.Tasks.Task.Execute()<—\r\n”}
undefined

Error on zipping file System.IO.DirectoryNotFoundException: Could not find a part of the path ‘D:\webapp\Aspose.CAD\Temp\Source\e135050b-a561-4035-a6d5-5d559dcbdce5’.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator1.CommonInit() at System.IO.FileSystemEnumerableIterator1…ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler1 resultHandler, Boolean checkHost) at System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption) at System.IO.Compression.ZipFile.DoCreateFromDirectory(String sourceDirectoryName, String destinationArchiveFileName, Nullable1 compressionLevel, Boolean includeBaseDirectory, Encoding entryNameEncoding)
at Aspose.App.Services.PathProcessor.GetSourceZipped() in C:\Code\ASP\aspose.cad.apps\Aspose.App\src\Aspose.App.API\Services\PathProcessor.cs:line 181
at Aspose.App.Services.Error2Forum.Error2ForumService.d__4.MoveNext() in C:\Code\ASP\aspose.cad.apps\Aspose.App\src\Aspose.App.API\Services\Error2Forum\Error2ForumService.cs:line 103

This query is answered here.