Conversionissue - internal server error [500]. 2023-09-07t19:01:50.280z

33b34300-bd95-4d48-b707-4444c1608cb9

Originated From: https://products.aspose.app/cad/conversion/stl-to-svg/navigation/errorReportForm

Exception:

Title: Conversionissue - Internal Server Error [500]. 2023-09-07T19:01:50.280Z

Detail: {“FileName”:“”,“SessionId”:“33b34300-bd95-4d48-b707-4444c1608cb9”,“IsError”:true,“StatusCode”:500,“Message”:“Aspose.CAD.CadExceptions.ImageSaveException: Image export failed. Exception of type ‘System.OutOfMemoryException’ was thrown.\n —> System.OutOfMemoryException: Exception of type ‘System.OutOfMemoryException’ was thrown.\n at Aspose.Imaging.MemoryManagement.Buffers.BufferProxy1.OnBufferSizeChanged(Int64 oldValue, Int64 newValue)\n at Aspose.Imaging.MemoryManagement.MemMgr.SetInMemoryBufferSize(Int64 inMemoryBufferSize)\n at Aspose.Imaging.MemoryManagement.MemMgr.FlushBufferSizeHint(Int32 parentBufferSizeHint)\n at Aspose.Imaging.MemoryManagement.MemMgr.FlushBufferSizeHint(Int32 parentBufferSizeHint)\n at Aspose.Imaging.MemoryManagement.MemMgr.AllocateBufferImpl[T](BufferBuilder1 bufferBuilder)\n at Aspose.Imaging.FileFormats.Internal.CacheDataLoaderImpl.LoadPartialArgb32PixelsInternal(Rectangle rectangle, IPartialArgb32PixelLoader partialLoader)\n at Aspose.Imaging.FileFormats.Internal.CacheDataLoaderImpl.LoadPartialArgb32Pixels(Rectangle rectangle, IPartialArgb32PixelLoader partialLoader)\n at Aspose.Imaging.FileFormats.Internal.CacheDataLoaderImpl.PixelsProcessor.LoadPartialArgb32Pixels(Rectangle rectangle, IPartialArgb32PixelLoader partialPixelLoader)\n at Aspose.Imaging.PartialProcessor.ProcessWithBasePartialProcessor(IPartialProcessor partialProcessor, IList1 areas, IProgressEventHandler progressEventHandler)\n at Aspose.Imaging.PartialProcessor.Process(Rectangle areaToProcess, IPartialProcessor partialProcessor, ProcessingType processingType, Int32 fullWidth, Int32 fullHeight, IProgressEventHandler progressEventHandler)\n at Aspose.Imaging.FileFormats.Internal.CacheDataLoaderLicensed.LoadPartialArgb32Pixels(Rectangle rectangle, IPartialArgb32PixelLoader partialPixelLoader)\n at Aspose.Imaging.PartialProcessor.ProcessWithBasePartialProcessor(IPartialProcessor partialProcessor, IList1 areas, IProgressEventHandler progressEventHandler)\n at Aspose.Imaging.PartialProcessor.Process(Rectangle areaToProcess, IPartialProcessor partialProcessor, ProcessingType processingType, Int32 fullWidth, Int32 fullHeight, IProgressEventHandler progressEventHandler)\n at Aspose.Imaging.InternalRasterImageLoaderLicensed.LoadPartialArgb32Pixels(Rectangle rectangle, IPartialArgb32PixelLoader partialPixelLoader)\n at Aspose.Imaging.FileFormats.Png.Writers.PngWriter.WritePixelData(Stream stream, RasterImage image, PngFileSettings fileSettings, Rectangle destImageBounds, Boolean cacheAllDataBeforeFiltering)\n at Aspose.Imaging.FileFormats.Png.Writers.PngWriter.SavePng(Stream stream, RasterImage image, PngOptions pngOptions, Rectangle destImageBounds, Boolean cacheAllDataBeforeFiltering, String timeStamp)\n at Aspose.Imaging.FileFormats.Png.PngImage.SaveData(Stream stream)\n at Aspose.CAD.DataStreamSupporter.Save(Stream stream)\n at Aspose.CAD.DataStreamSupporter.SaveToSameLocationInPerformanceStrategy(Boolean overWrite)\n at Aspose.CAD.DataStreamSupporter.SaveToSameLocation(Boolean overWrite)\n at Aspose.CAD.DataStreamSupporter.Save()\n at Aspose.Imaging.Image.Save()\n at Aspose.Drawing.IntegrationHelpers.ImageFormatsProvider.SaveBitmap(Bitmap bitmap, ImageOptionsBase imageOptions)\n at Aspose.Drawing.IntegrationHelpers.ImageFormatsProvider.SaveBitmap(Bitmap bitmap, Stream stream, BitmapSaveParams bitmapSaveParams)\n at Skia.Core.Adapters.ImageCodecs.SaveBitmap(Bitmap bitmap, Stream stream, BitmapSaveParams bitmapSaveParams)\n at Aspose.Drawing.Bitmap.SaveInternal(StreamOrFilenameHolder target, ImageFormat format, EncoderParameters parameters)\n at Aspose.Drawing.Image.Save(Stream stream, ImageFormat format)\n at Aspose.Rendering.ThreeD.ApsScene3D.ToApsImage(DrMatrix transform, ImageFormat imageFormat)\n at Aspose.Svg.ApsReader.GetApsNode(ApsNode apsNode, Int32 tagLevel, RenderState renderState, SvgFontStyleRenderHelper fontStyleRenderHelper)\n at Aspose.Svg.ApsReader.GetApsNode(ApsNode apsNode, Int32 tagLevel, RenderState renderState, SvgFontStyleRenderHelper fontStyleRenderHelper)\n at Aspose.Svg.ApsReader.GetSvg(ApsPage apsPage, Boolean normalizeAps, Boolean textAsShapes)\n at Aspose.Svg.ApsReader.GetSvgContent(ApsPage& apsPage, ApsReaderOptions options, Boolean textAsShapes, CancellationToken intToken)\n at Aspose.CAD.Exporters.SvgExporter.SvgExporter.Render(Image image, ImageOptionsBase optionsBase, Stream stream, ApsPage pageToRender)\n at Aspose.CAD.Exporters.ImageExporterBase.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_method14(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 (83.5 KB)

@smdworks_at_outlook.com
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CADAPP-1377