Conversionissue - internal server error [500]. 2023-09-10t07:22:41.065z

b58295b4-ecaa-449b-94e8-f866f839c0b7

Originated From: https://products.aspose.app/cad/conversion/igs/navigation/errorReportForm

Exception:

Title: Conversionissue - Internal Server Error [500]. 2023-09-10T07:22:41.065Z

Detail: {“FileName”:“”,“SessionId”:“b58295b4-ecaa-449b-94e8-f866f839c0b7”,“IsError”:true,“StatusCode”:500,“Message”:“Aspose.CAD.CadExceptions.ImageSaveException: Image export failed. Unable to cast object of type ‘System.Int16’ to type ‘System.Boolean’.\n —> System.InvalidCastException: Unable to cast object of type ‘System.Int16’ to type ‘System.Boolean’.\n at Aspose.CAD.FileFormats.Cad.CadParameters.CadParameter1.Init(Object value)\n at Aspose.CAD.FileFormats.Cad.DwgImage.AddHeaderItem(CadHeaderAttribute headerAttribute, Dictionary2 data)\n at Aspose.CAD.FileFormats.Cad.DwgImage.InitHeaderSection()\n at Aspose.CAD.FileFormats.Cad.DwgImage.Init1032()\n at Aspose.CAD.FileFormats.Dwg.DwgImageBuilder…ctor()\n at Aspose.CAD.Exporters.DwgExporter.ExportPage(ApsPage apsPage, ImageOptionsBase optionsBase, Rectangle boundsRectangle)\n at Aspose.CAD.Exporters.VectorExporterBase.Export(Image image, Stream stream, ImageOptionsBase optionsBase, Rectangle boundsRectangle)\n at Aspose.CAD.Image.<>c__DisplayClass64_0.b__0(CancellationToken ctx)\n at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)\n— End of stack trace from previous location —\n at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)\n— End of stack trace from previous location —\n at Aspose.CAD.Image.SaveInternal(Stream stream, ImageOptionsBase optionsBase, Boolean syncExecute)\n — End of inner exception stack trace —\n at Aspose.CAD.Image.SaveInternal(Stream stream, ImageOptionsBase optionsBase, Boolean syncExecute)\n at Aspose.CAD.Image.SaveAsync(Stream stream, ImageOptionsBase optionsBase)\n at Aspose.App.Services.ConversionService.ProcessAsync(ImageContext imageCtx, ConversionContext ctx, CancellationToken cancellationToken) in /app/src/Aspose.App.API/Services/ConversionService.cs:line 46\n at Aspose.App.Controllers.CAD.CadControllerBase.<>c__DisplayClass10_0.<b__0>d.MoveNext() in /app/src/Aspose.App.API/Controllers/CAD/CadControllerBase.cs:line 85\n— End of stack trace from previous location —\n at Aspose.App.Controllers.CAD.CadControllerBase.WithTimeoutAsync[T](Func2 executor, CancellationToken requestCancellationToken) in /app/src/Aspose.App.API/Controllers/CAD/CadControllerBase.cs:line 137\n at Aspose.App.Controllers.CAD.ConversionController.Convert(ConversionRequest request, CancellationToken cancellationToken) in /app/src/Aspose.App.API/Controllers/CAD/ConversionController.cs:line 53\n at lambda_method26(Closure , Object )\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)”,“IdError”:“InternalError”}
undefined

files.zip (1.26 MB)

Could you please also specify the output file format as well? To what format you are trying to convert the provided source file?