41
Views
5
Comments
[Ultimate PDF Management] An error occurred while generating the pdf reactive
ultimate-pdf-management
Reactive icon
Forge asset by Leonardo Fernandes
Application Type
Reactive

Hellos, can you helpe?

i have this problem in devenviroment


An error occurred while generating the pdf
   at ssUltimatePDF.Actions.ActionPrintToPDF_Internal(HeContext heContext, String inParamURL, STUserEnvironmentStructure inParamEnvironment, String inParamPaperSize, String inParamMarginSize, Boolean inParamFromPublicService, Byte[]& outParamPDF)
   at ssUltimatePDF.Actions.ActionPrintToPDF_Advanced(HeContext heContext, String inParamURL, STUserEnvironmentStructure inParamEnvironment, String inParamPaperSize, String inParamMarginSize, Byte[]& outParamPDF) 


and

An error occurred while generating the pdf
   at ssUltimatePDF.Actions.ActionPrintToPDF_Advanced(HeContext heContext, String inParamURL, STUserEnvironmentStructure inParamEnvironment, String inParamPaperSize, String inParamMarginSize, Byte[]& outParamPDF)
   at ssXXXXXXXX_BL.RsseSpaceUltimatePDF.MssPrintToPDF_Advanced(HeContext heContext, String inParamURL, IRecord inParamEnvironment, String inParamPaperSize, String inParamMarginSize, Byte[]& outParamPDF) 


More details

An error occurred while generating the pdf for https://XXXXX-dev.outsystemsenterprise.com/XXXXX_Request_Form_EU/ApproversFlowLimited?FormId=178&RequestId=2620147&LocaleValue=es-ES&StartIndex=0: Waiting for selector `.active-screen` failed: Protocol error(Runtime.callFunctionOn): Target closed. (NetworkManager failed to process Network.requestWillBeSent. Method not found: 'Boolean System.Text.Json.Utf8JsonReader.get_ValueIsEscaped()'..    at PuppeteerSharp.Helpers.Json.LowSurrogateConverter.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader)
   at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader)
   at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable`1 ac 

And

Waiting for selector `.active-screen` failed: Protocol error(Runtime.callFunctionOn): Target closed. (NetworkManager failed to process Network.requestWillBeSent. Method not found: 'Boolean System.Text.Json.Utf8JsonReader.get_ValueIsEscaped()'..    at PuppeteerSharp.Helpers.Json.LowSurrogateConverter.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader)
   at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader)
   at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable`1 actualByteCount)
   at System.Text.Json.JsonSerializer.ReadUsingMetadata[TValue](JsonElement element, JsonTypeInfo jsonTypeInfo)
   at System.Text.Json.JsonSerializer.Deserialize[TValue](JsonElement element, 

What File i can give you??

Regards


UserImage.jpg
Pedro Magalhães

Hello Luis, I also have this problem.

Did you get a fix on this?

Regards

2025-07-22 10-30-27
Mandar Deshpande

Hi @Luis Andrés Jara Vásquez 

This error seems to be coming from Ultimate PDF Management’s internal engine while rendering your screen to PDF. It means that Dev environment runtime is incompatible with the PDF engine version.

If you recently upgraded Outsystems, you must upgrade Ultimate PDF.

2023-10-16 05-50-48
Shingo Lam

I have never get stuck by this, but wanna follow it for further implementation later

UserImage.jpg
Pedro Magalhães

Eventually I managed to solve this problem by updating Ultimate PDF component.

2025-12-01 07-09-12
Jayaprakash

I have worked on Ultimate PDF for many times, but I didn't stuck with this error 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.