<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article CEF rendering exception - &amp;quot;Buffer cannot be Null&amp;quot; Error in NP report preview with Qlik Sense Connection in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/CEF-rendering-exception-quot-Buffer-cannot-be-Null-quot-Error-in/ta-p/1715223</link>
    <description>&lt;P&gt;&lt;BR /&gt;June 2018 version for NPrinting when adding image in NPrinting PowerPoint report, the error is thrown.:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;Failed generation of report 0c7c6575-d015-4703-a7e1-6a1d74bf4805 for user 3788bde1-f9db-47e8-8c16-112e5fabf2a4. ERROR: System.Exception: Object &amp;lt;objectid&amp;gt; of Sense app &amp;lt;senseAppID&amp;gt; failed to render. &lt;STRONG&gt;ERROR: Buffer cannot be null.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Restarting the NPrinting services corrects the issue periodically.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik NPrinting" id="qlikNPrinting"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;17 platform&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;Resolution:&lt;/H3&gt;
&lt;P class="qlik-migrated-tkb-headings"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Upgrade to at least November 2018.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A vast number of other CEF rendering exception variance have been resolved after the release of June 2020. For more details see&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/Advanced-troubleshooting-of-the-GRPC-and-or-CEF-Error-Issues/ta-p/1806741" target="_blank" rel="noopener"&gt;Advanced troubleshooting of the GRPC and or CEF Error Issues: &lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;The first thing to check is that the connection in NPrinting is pointing to the Qlik sense Default proxy.&lt;BR /&gt;Go to Qlik Sense QMC &amp;gt; Virtual Proxies. Is there a prefix for the default proxy?&lt;BR /&gt;If so, be sure that this has been added in the NPrinting connection. The "Proxy address" in the connection should look like&amp;nbsp;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;https://ServerName/Prefix&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;If the NPrinting connection is correct, the problem may be related to a known issue. Instead of restarting the NPrinting services in the event of a error being reported when adding an image perform the workaround below.&lt;/P&gt;
&lt;H3 data-unlink="true"&gt;&lt;BR /&gt;Workaround:&lt;/H3&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Find a failing task&lt;/LI&gt;
&lt;LI&gt;Disable the engine from Engine manager page and wait until it goes Offline&lt;/LI&gt;
&lt;LI&gt;Re-enable the engine and wait until it goes Online again&lt;/LI&gt;
&lt;LI&gt;Run the failing task again&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;If that works, then we have a setting&amp;nbsp;recommended to be entered in the &lt;FONT face="courier new,courier"&gt;scheduler.config&lt;/FONT&gt; file (&lt;FONT face="courier new,courier"&gt;ProgramFiles\NPrintingServer\NPrinting\Schedule&lt;/FONT&gt;r):&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.&amp;nbsp; Stop NPrinting Scheduler and NPrinting Engine(s) services&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2.&amp;nbsp; Open s&lt;FONT face="courier new,courier"&gt;cheduler.config&lt;/FONT&gt; (in scheduler installation folder) file&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.&amp;nbsp; Add the following line within the &lt;FONT face="courier new,courier"&gt;appSettings&lt;/FONT&gt; section (the line just before the closing &lt;FONT face="courier new,courier"&gt;&amp;lt;/appSettings&amp;gt;&lt;/FONT&gt; is ok):&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;&amp;nbsp;&amp;lt;add key="force-unused-resolvers-closure-policy" value="1" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;4.&amp;nbsp; Save the changes (pay attention that the file should be named &lt;FONT face="courier new,courier"&gt;scheduler.config&lt;/FONT&gt;, not &lt;FONT face="courier new,courier"&gt;scheduler.config.txt&lt;/FONT&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5. Restart the scheduler service and the engine service(s)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;What this key is for?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Per R&amp;amp;D, it essentially tells the scheduler to request a "close all Qv/Sense connectors (that we call resolvers)" to all NPrinting Engines when there are no more requests to resolve.&lt;BR /&gt;&lt;BR /&gt;This forces the engine to shutdown all connections to QlikView/Qlik Sense servers, usually freeing up some RAM on the NP engine machines but most importantly avoiding some session timeout related issues.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Items to be aware of:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Sessions are closed immediately when there are no more requests to resolve. If a user will ask for a preview immediately after this will force to start a newly created connector/resolver and this could take several seconds (usually more on Qvs connections than on Sense ones).&lt;BR /&gt;&lt;BR /&gt;The option is lost when an upgrade is performed&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Please NOTE :&lt;/STRONG&gt;&amp;nbsp; R&amp;amp;D recommends avoid using it on NPrinting + QlikView installations because it is very rarely needed and the impact on performance could be noticeable. On the contrary usually not a noticeable degrade with Sense (and if it happens it is due to a very high number of Sense apps in the Sense server and/or slow internet connection).&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;Cause:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Defect IDs:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;OP-7828&lt;/LI&gt;
&lt;LI&gt;OP-8010 /&amp;nbsp;OP-8316&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Tue, 11 May 2021 16:54:22 GMT</pubDate>
    <dc:creator>Juli_K</dc:creator>
    <dc:date>2021-05-11T16:54:22Z</dc:date>
    <item>
      <title>CEF rendering exception - "Buffer cannot be Null" Error in NP report preview with Qlik Sense Connection</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/CEF-rendering-exception-quot-Buffer-cannot-be-Null-quot-Error-in/ta-p/1715223</link>
      <description>&lt;P&gt;&lt;BR /&gt;June 2018 version for NPrinting when adding image in NPrinting PowerPoint report, the error is thrown.:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;Failed generation of report 0c7c6575-d015-4703-a7e1-6a1d74bf4805 for user 3788bde1-f9db-47e8-8c16-112e5fabf2a4. ERROR: System.Exception: Object &amp;lt;objectid&amp;gt; of Sense app &amp;lt;senseAppID&amp;gt; failed to render. &lt;STRONG&gt;ERROR: Buffer cannot be null.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Restarting the NPrinting services corrects the issue periodically.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik NPrinting" id="qlikNPrinting"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;17 platform&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;Resolution:&lt;/H3&gt;
&lt;P class="qlik-migrated-tkb-headings"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Upgrade to at least November 2018.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A vast number of other CEF rendering exception variance have been resolved after the release of June 2020. For more details see&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/Advanced-troubleshooting-of-the-GRPC-and-or-CEF-Error-Issues/ta-p/1806741" target="_blank" rel="noopener"&gt;Advanced troubleshooting of the GRPC and or CEF Error Issues: &lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;The first thing to check is that the connection in NPrinting is pointing to the Qlik sense Default proxy.&lt;BR /&gt;Go to Qlik Sense QMC &amp;gt; Virtual Proxies. Is there a prefix for the default proxy?&lt;BR /&gt;If so, be sure that this has been added in the NPrinting connection. The "Proxy address" in the connection should look like&amp;nbsp;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;https://ServerName/Prefix&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;If the NPrinting connection is correct, the problem may be related to a known issue. Instead of restarting the NPrinting services in the event of a error being reported when adding an image perform the workaround below.&lt;/P&gt;
&lt;H3 data-unlink="true"&gt;&lt;BR /&gt;Workaround:&lt;/H3&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Find a failing task&lt;/LI&gt;
&lt;LI&gt;Disable the engine from Engine manager page and wait until it goes Offline&lt;/LI&gt;
&lt;LI&gt;Re-enable the engine and wait until it goes Online again&lt;/LI&gt;
&lt;LI&gt;Run the failing task again&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;If that works, then we have a setting&amp;nbsp;recommended to be entered in the &lt;FONT face="courier new,courier"&gt;scheduler.config&lt;/FONT&gt; file (&lt;FONT face="courier new,courier"&gt;ProgramFiles\NPrintingServer\NPrinting\Schedule&lt;/FONT&gt;r):&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.&amp;nbsp; Stop NPrinting Scheduler and NPrinting Engine(s) services&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2.&amp;nbsp; Open s&lt;FONT face="courier new,courier"&gt;cheduler.config&lt;/FONT&gt; (in scheduler installation folder) file&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.&amp;nbsp; Add the following line within the &lt;FONT face="courier new,courier"&gt;appSettings&lt;/FONT&gt; section (the line just before the closing &lt;FONT face="courier new,courier"&gt;&amp;lt;/appSettings&amp;gt;&lt;/FONT&gt; is ok):&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;&amp;nbsp;&amp;lt;add key="force-unused-resolvers-closure-policy" value="1" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;4.&amp;nbsp; Save the changes (pay attention that the file should be named &lt;FONT face="courier new,courier"&gt;scheduler.config&lt;/FONT&gt;, not &lt;FONT face="courier new,courier"&gt;scheduler.config.txt&lt;/FONT&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5. Restart the scheduler service and the engine service(s)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;What this key is for?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Per R&amp;amp;D, it essentially tells the scheduler to request a "close all Qv/Sense connectors (that we call resolvers)" to all NPrinting Engines when there are no more requests to resolve.&lt;BR /&gt;&lt;BR /&gt;This forces the engine to shutdown all connections to QlikView/Qlik Sense servers, usually freeing up some RAM on the NP engine machines but most importantly avoiding some session timeout related issues.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Items to be aware of:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Sessions are closed immediately when there are no more requests to resolve. If a user will ask for a preview immediately after this will force to start a newly created connector/resolver and this could take several seconds (usually more on Qvs connections than on Sense ones).&lt;BR /&gt;&lt;BR /&gt;The option is lost when an upgrade is performed&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Please NOTE :&lt;/STRONG&gt;&amp;nbsp; R&amp;amp;D recommends avoid using it on NPrinting + QlikView installations because it is very rarely needed and the impact on performance could be noticeable. On the contrary usually not a noticeable degrade with Sense (and if it happens it is due to a very high number of Sense apps in the Sense server and/or slow internet connection).&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;Cause:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Defect IDs:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;OP-7828&lt;/LI&gt;
&lt;LI&gt;OP-8010 /&amp;nbsp;OP-8316&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 11 May 2021 16:54:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/CEF-rendering-exception-quot-Buffer-cannot-be-Null-quot-Error-in/ta-p/1715223</guid>
      <dc:creator>Juli_K</dc:creator>
      <dc:date>2021-05-11T16:54:22Z</dc:date>
    </item>
  </channel>
</rss>

