Mon Sep 09, 2024 7:58 am
This is Exception details:
{
"type": "https://httpstatuses.io/500",
"title": "GL_INTERNAL_SERVER_ERROR_E",
"status": 500,
"detail": "Cannot found font installed on the system.",
"exceptionDetails": [
{
"message": "Cannot found font installed on the system.",
"type": "System.InvalidOperationException",
"raw": "System.InvalidOperationException: Cannot found font installed on the system.\n at spr㷃.蕮(String A_0, FontStyle A_1, String A_2)\n at spr䈧.廼(String A_0, Single A_1, FontStyle A_2, String A_3, FontStyle A_4)\n at spr䈧.廼(String A_0, Single A_1, FontStyle A_2, String A_3)\n at spr䈧.廼(String A_0, Single A_1, FontStyle A_2)\n at sprꝓ.廼(String A_0, Single A_1, FontStyle A_2)\n at sprꝓ.廼(String A_0, Single A_1)\n at spr흍..ctor()\n at sprꩌ..ctor()\n at Spire.Doc.Layout.Fields.FieldOptions..ctor()\n at Spire.Doc.Document.get_FieldOptions()\n at spr䛲.愮(sprꂔ A_0)\n at spr䛲.扇(sprꂔ A_0)\n at spr䛲.欏(spr㽃 A_0)\n at spr䛲.湚(spr㽃 A_0)\n at spr䛲.熥(spr㽃 A_0)\n at spr䛲.怕(spr䁜 A_0)\n at spr䛲.廼(spr䨽 A_0, spr䨽 A_1)\n at spr䛲.廼(DocumentObject A_0, spr䛲 A_1)\n at spr䛲.愮(DocumentObject A_0)\n at Spire.Doc.Document.愮()\n at Spire.Doc.Document.廼(Stream A_0, ToPdfParameterList A_1, FileFormat A_2)\n at Spire.Doc.Document.摹(Stream A_0, ToPdfParameterList A_1)\n at Spire.Doc.Document.SaveToStream(Stream stream, ToPdfParameterList paramList)\n at FC.Pdf.PdfCreator.CreatePdf(Stream docWordTemplate, Byte[] jsonSource, Action`1 wordFiller) in C:\\Projects\\NFK\\src\\dotnet\\FC.Pdf\\PdfCreator.cs:line 40\n at FC.StructuredDocuments.Service.Services.ApplicationFormDocumentService.TransformToPdf(PdfRequest request) in C:\\Projects\\NFK\\src\\dotnet\\FC.StructuredDocuments.Service\\Services\\ApplicationFormDocumentService.cs:line 67\n at FC.StructuredDocuments.Service.Controllers.DocumentsController.TransformToPdfAsync(PdfRequest request) in C:\\Projects\\NFK\\src\\dotnet\\FC.StructuredDocuments.Service\\Controllers\\DocumentsController.cs:line 106\n at lambda_method5(Closure, Object, Object[])\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()\n--- End of stack trace from previous location ---\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.InvokeInnerFilterAsync()\n--- End of stack trace from previous location ---\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)\n at Prometheus.HttpMetrics.HttpRequestDurationMiddleware.Invoke(HttpContext context)\n at Prometheus.HttpMetrics.HttpRequestCountMiddleware.Invoke(HttpContext context)\n at Prometheus.HttpMetrics.HttpInProgressMiddleware.Invoke(HttpContext context)\n at Hellang.Middleware.ProblemDetails.ProblemDetailsMiddleware.Invoke(HttpContext context)",
"stackFrames": [
{
"function": "spr㷃.蕮(string A_0, FontStyle A_1, string A_2)"
},
{
"function": "spr䈧.廼(string A_0, float A_1, FontStyle A_2, string A_3, FontStyle A_4)"
},
{
"function": "spr䈧.廼(string A_0, float A_1, FontStyle A_2, string A_3)"
},
{
"function": "spr䈧.廼(string A_0, float A_1, FontStyle A_2)"
},
{
"function": "sprꝓ.廼(string A_0, float A_1, FontStyle A_2)"
},
{
"function": "sprꝓ.廼(string A_0, float A_1)"
},
{
"function": "spr흍..ctor()"
},
{
"function": "sprꩌ..ctor()"
},
{
"function": "Spire.Doc.Layout.Fields.FieldOptions..ctor()"
},
{
"function": "Spire.Doc.Document.get_FieldOptions()"
},
{
"function": "spr䛲.愮(sprꂔ A_0)"
},
{
"function": "spr䛲.扇(sprꂔ A_0)"
},
{
"function": "spr䛲.欏(spr㽃 A_0)"
},
{
"function": "spr䛲.湚(spr㽃 A_0)"
},
{
"function": "spr䛲.熥(spr㽃 A_0)"
},
{
"function": "spr䛲.怕(spr䁜 A_0)"
},
{
"function": "spr䛲.廼(spr䨽 A_0, spr䨽 A_1)"
},
{
"function": "spr䛲.廼(DocumentObject A_0, spr䛲 A_1)"
},
{
"function": "spr䛲.愮(DocumentObject A_0)"
},
{
"function": "Spire.Doc.Document.愮()"
},
{
"function": "Spire.Doc.Document.廼(Stream A_0, ToPdfParameterList A_1, FileFormat A_2)"
},
{
"function": "Spire.Doc.Document.摹(Stream A_0, ToPdfParameterList A_1)"
},
{
"function": "Spire.Doc.Document.SaveToStream(Stream stream, ToPdfParameterList paramList)"
},
{
"filePath": "C:\\Projects\\NFK\\src\\dotnet\\FC.Pdf\\PdfCreator.cs",
"fileName": "C:\\Projects\\NFK\\src\\dotnet\\FC.Pdf\\PdfCreator.cs",
"function": "FC.Pdf.PdfCreator.CreatePdf(Stream docWordTemplate, byte[] jsonSource, Action<Document> wordFiller)",
"line": 40
},
{
"filePath": "C:\\Projects\\NFK\\src\\dotnet\\FC.StructuredDocuments.Service\\Services\\ApplicationFormDocumentService.cs",
"fileName": "C:\\Projects\\NFK\\src\\dotnet\\FC.StructuredDocuments.Service\\Services\\ApplicationFormDocumentService.cs",
"function": "FC.StructuredDocuments.Service.Services.ApplicationFormDocumentService.TransformToPdf(PdfRequest request)",
"line": 67
},
{
"filePath": "C:\\Projects\\NFK\\src\\dotnet\\FC.StructuredDocuments.Service\\Controllers\\DocumentsController.cs",
"fileName": "C:\\Projects\\NFK\\src\\dotnet\\FC.StructuredDocuments.Service\\Controllers\\DocumentsController.cs",
"function": "FC.StructuredDocuments.Service.Controllers.DocumentsController.TransformToPdfAsync(PdfRequest request)",
"line": 106
},
{
"function": "lambda_method5(Closure , object , object[] )"
},
{
"function": "Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor+SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, object controller, object[] arguments)"
},
{
"function": "Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()"
},
{
"function": "Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)"
},
{
"function": "Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()"
},
{
"function": "Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)"
},
{
"function": "Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)"
},
{
"function": "Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()"
},
{
"function": "Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted)"
},
{
"function": "Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)"
},
{
"function": "Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)"
},
{
"function": "Prometheus.HttpMetrics.HttpRequestDurationMiddleware.Invoke(HttpContext context)"
},
{
"function": "Prometheus.HttpMetrics.HttpRequestCountMiddleware.Invoke(HttpContext context)"
},
{
"function": "Prometheus.HttpMetrics.HttpInProgressMiddleware.Invoke(HttpContext context)"
},
{
"function": "Hellang.Middleware.ProblemDetails.ProblemDetailsMiddleware.Invoke(HttpContext context)"
}
]
}
],
"traceId": "00-3798749fcb268fd5d63aa0d0f96823a3-94f63dfbe1d01a1b-00"
}