Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
MartW
Partner - Specialist
Partner - Specialist

Nprinting Error: CEF_ON_JS_ERROR_MESSAGE_RECEIVED

Hello,

we have some Nprinting reports running and once in a while for one of the Nprinting reports Errors and the logfiles show this error.

WARN: error during report generation: Object Keppk from Sense app [APPID] had problems while rendering. ERROR: CEF rendering exception. Error 'CEF_ON_JS_ERROR_MESSAGE_RECEIVED'. Image failed to render due to a JavaScript error. For further details, check '[LOGID]' in nprinting_engine_cef.log.

 

I found a post on the community talking about this error but the answer isn't what i'm looking for.

https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-error-CEF-rendering-exception-while-generatin... 

the situation is as follows, this report generates every day and once in a while this error pops-up.

I have recreated the app in MYwork deleted the app in the stream and published the My work app to that stream again. 

unfortunately after a few days the same error poped up. the object ID, appID and the LogID are different but the error still is the same.

can somebody explain;

1.  Explain in detail what this error means

2. How does this error get created

3. A way to solve this issue permanently

 

QLIKSENSE
Qlik Sense August 2021 Patch 1
qliksenseserver:14.28.5
-------------------------------------
N-PRINTING:
Qlik Nprinting May 2021 SR1
version: 21.14.4.0 

 

 

Labels (2)
3 Solutions

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi, 

I hate to state obvious - but you are running unsupported configuration: https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/DeployingQVNprinting/System-requirem...

Lech_Miszkiewicz_0-1679483257454.png

 

First you need to sort this out and then we can get back to the error (if it is still there)...

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.

View solution in original post

MartW
Partner - Specialist
Partner - Specialist
Author

Hi @Lech_Miszkiewicz,

thx for the response. I'll see if I can upgrade to the supported versions.

but for my other questions. what does this error mean? how does it work.

N-printing takes a snapshot of the object and then it crashes? or how does this work exactly?

View solution in original post

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Well - This is Qlik IP (intellectual property) and is not open source. I can only assume based on what needs to happen that nprinting webrenderer (nprinting web browser) tries to export image and since version of Qlik Sense is not supported as it is newer than the NPrinting it is not able to export that image with API call.

Also you have reference in this error to look at nprinting_engine_cef.log - what did you see there?

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.

View solution in original post

7 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi, 

I hate to state obvious - but you are running unsupported configuration: https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/DeployingQVNprinting/System-requirem...

Lech_Miszkiewicz_0-1679483257454.png

 

First you need to sort this out and then we can get back to the error (if it is still there)...

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
MartW
Partner - Specialist
Partner - Specialist
Author

Hi @Lech_Miszkiewicz,

thx for the response. I'll see if I can upgrade to the supported versions.

but for my other questions. what does this error mean? how does it work.

N-printing takes a snapshot of the object and then it crashes? or how does this work exactly?

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Well - This is Qlik IP (intellectual property) and is not open source. I can only assume based on what needs to happen that nprinting webrenderer (nprinting web browser) tries to export image and since version of Qlik Sense is not supported as it is newer than the NPrinting it is not able to export that image with API call.

Also you have reference in this error to look at nprinting_engine_cef.log - what did you see there?

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
jonas_viklund
Contributor III
Contributor III

We have the same issue here but is not related to unsupported version. We are using Qlik NPrinting May 2022 SR4 with Qlik Sense February 2023 Patch 1. How can we solve this?

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

HI @jonas_viklund 

When you run connection verification and metadata reload do you get all validation checks green?

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
jonas_viklund
Contributor III
Contributor III

Yes, we have reloaded metadata and verified the connections, all green. We use four different connections for our report and all are checked.

Frank_S
Support
Support

Hi @jonas_viklund 

Please check the following article as many image issue can be solve with this.

https://community.qlik.com/t5/Official-Support-Articles/NPrinting-Qlik-Sense-Images-Fail-to-Render-E...

 

It is critical that you use the Qlik NPrinting scheduler service to perform the Local Intranet settings mentioned therein.

If this doesn't help you, please start a support request.

Kind regards,

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!