<?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 NPrinting Preview Error Object reference not set to an instance of an object in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/NPrinting-Preview-Error-Object-reference-not-set-to-an-instance/ta-p/1797712</link>
    <description>&lt;P&gt;When previewing a report, the error with message &lt;FONT face="courier new,courier"&gt;Object reference not set to an instance of an object&lt;/FONT&gt;&amp;nbsp; is displayed to the user.&lt;/P&gt;
&lt;P&gt;Example 1:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/52584iC53E39125615DFFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error.PNG" alt="Error.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Example 2:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Error... CEF rendering exeption. GRPC rendering request failed... Object referenced not set to an instance of an object&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="79773_CEF_error_object reference.png" style="width: 692px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54744i994BFB0B99A19F90/image-size/large?v=v2&amp;amp;px=999" role="button" title="79773_CEF_error_object reference.png" alt="79773_CEF_error_object reference.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example 3:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="errortaskwarn.png" style="width: 578px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92151i3F35FD9F177BB5D7/image-dimensions/578x39?v=v2" width="578" height="39" role="button" title="errortaskwarn.png" alt="errortaskwarn.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H4&gt;Environment&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;NPrinting November 2020 and earlier versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;Cause:&lt;/H3&gt;
&lt;P&gt;Two causes are listed here, there may be other ones documented on different resources.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;1. When you have two or more NPrinting connections using the same source QVW or QVF and BOTH connections are contained within the SAME NPrinting 'App', the error is generated when attempting to preview an NPrinting report in the NPrinting Designer.&lt;/LI&gt;
&lt;LI&gt;The "&lt;STRONG&gt;&lt;EM&gt;two or more connections in the same NP App&lt;/EM&gt;&lt;/STRONG&gt; "was not supported option in earlier versions of NPrinting as per the stated connection rules for both QlikView and Qlik Sense. Doing so in earlier versions results in the error shown above.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For latest connection rules see:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/Content/NPrinting/GettingStarted/HowCreateConnections/Connect-to-QlikView-docs.htm#anchor-3" target="_blank" rel="noopener"&gt;Connection rules for QlikView documents&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/Content/NPrinting/GettingStarted/HowCreateConnections/Connect-to-QlikSense-apps.htm" target="_blank" rel="noopener"&gt;Connecting to Qlik Sense apps&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. &lt;SPAN&gt;The default &lt;FONT face="courier new,courier"&gt;https://&lt;/FONT&gt; listening port in the Qlik Sense QMC has been modified and not update in the NPrinting connections to the Qlik Sense server.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H3&gt;Resolution&lt;/H3&gt;
&lt;P&gt;To the two causes listed above respectively:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1. Example 1 solution&lt;/STRONG&gt;: To prevent this error, upgrade your NPrinting Server and Designers to February 2021 NPrinting or later releases. Support for multiple connections using the same QVF or QVW inside a single NP App began in Feb. 2021 version of NPrinting.&amp;nbsp; You can view the fix/new feature in the Feb. 2021 release notes - attached. (Internal Investigation ID OP-9606)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2. Example 2 solution&lt;/STRONG&gt;:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open the Qlik Sense QMC&lt;/LI&gt;
&lt;LI&gt;Identify the https:// 'listening' port.&amp;nbsp;
&lt;OL&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="79773_SenseProxyPort.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54747i9CA49CAE1D3DC3E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="79773_SenseProxyPort.png" alt="79773_SenseProxyPort.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;If this port is different than the&lt;STRONG&gt; default port 443&lt;/STRONG&gt;, make a note of port number. In this example the port has been changed to '&lt;STRONG&gt;10001&lt;/STRONG&gt;'&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Open the NP Connection associated with the failed report and update the path to the proxy with updated port.&lt;U&gt;&lt;STRONG&gt;&lt;I&gt; in this example&lt;/I&gt;&lt;/STRONG&gt;&lt;/U&gt; port 10001 is used. (if the &lt;STRONG&gt;default port 443&lt;/STRONG&gt; is used, there is no need to add a port in the NP connection)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="79773_NPProxyAddressPort.png" style="width: 458px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54748i5E3316B662B11E88/image-size/large?v=v2&amp;amp;px=999" role="button" title="79773_NPProxyAddressPort.png" alt="79773_NPProxyAddressPort.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Next do the following&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Save the NPrinting connection and allow the metadata to reload&lt;/LI&gt;
&lt;LI&gt;Ensure that firewall (computer and network) between then NPrinting server and the Qlik Sense server are opened in both directions to accommodate the new port and port communication&lt;/LI&gt;
&lt;LI&gt;Preview your report and run tasks. Issue should be resolved by making this change.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3. Example 3 Solution:&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;With the NPrinting Service User account, use the attempt to open the QVW used in the report connection&lt;/LI&gt;
&lt;LI&gt;QV Desktop shows "Personal Edition"&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Apply your desktop license&lt;/STRONG&gt; using the 'license' tab in the QV desktop while logged on as the NP service account&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Use file&amp;gt;open in server to connect to any QVW. &lt;/STRONG&gt;This will download a license from the QlikView Server while logged on as the NP service account&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Related Information:&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting/nPrinting-Error-Object-reference-not-set-to-an-instance-of-an/td-p/1996264" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-NPrinting/nPrinting-Error-Object-reference-not-set-to-an-instance-of-an/td-p/1996264&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2022 21:01:57 GMT</pubDate>
    <dc:creator>Frank_S</dc:creator>
    <dc:date>2022-10-25T21:01:57Z</dc:date>
    <item>
      <title>NPrinting Preview Error Object reference not set to an instance of an object</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/NPrinting-Preview-Error-Object-reference-not-set-to-an-instance/ta-p/1797712</link>
      <description>&lt;P&gt;When previewing a report, the error with message &lt;FONT face="courier new,courier"&gt;Object reference not set to an instance of an object&lt;/FONT&gt;&amp;nbsp; is displayed to the user.&lt;/P&gt;
&lt;P&gt;Example 1:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/52584iC53E39125615DFFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error.PNG" alt="Error.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Example 2:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Error... CEF rendering exeption. GRPC rendering request failed... Object referenced not set to an instance of an object&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="79773_CEF_error_object reference.png" style="width: 692px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54744i994BFB0B99A19F90/image-size/large?v=v2&amp;amp;px=999" role="button" title="79773_CEF_error_object reference.png" alt="79773_CEF_error_object reference.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example 3:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="errortaskwarn.png" style="width: 578px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92151i3F35FD9F177BB5D7/image-dimensions/578x39?v=v2" width="578" height="39" role="button" title="errortaskwarn.png" alt="errortaskwarn.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H4&gt;Environment&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;NPrinting November 2020 and earlier versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;Cause:&lt;/H3&gt;
&lt;P&gt;Two causes are listed here, there may be other ones documented on different resources.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;1. When you have two or more NPrinting connections using the same source QVW or QVF and BOTH connections are contained within the SAME NPrinting 'App', the error is generated when attempting to preview an NPrinting report in the NPrinting Designer.&lt;/LI&gt;
&lt;LI&gt;The "&lt;STRONG&gt;&lt;EM&gt;two or more connections in the same NP App&lt;/EM&gt;&lt;/STRONG&gt; "was not supported option in earlier versions of NPrinting as per the stated connection rules for both QlikView and Qlik Sense. Doing so in earlier versions results in the error shown above.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For latest connection rules see:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/Content/NPrinting/GettingStarted/HowCreateConnections/Connect-to-QlikView-docs.htm#anchor-3" target="_blank" rel="noopener"&gt;Connection rules for QlikView documents&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/Content/NPrinting/GettingStarted/HowCreateConnections/Connect-to-QlikSense-apps.htm" target="_blank" rel="noopener"&gt;Connecting to Qlik Sense apps&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. &lt;SPAN&gt;The default &lt;FONT face="courier new,courier"&gt;https://&lt;/FONT&gt; listening port in the Qlik Sense QMC has been modified and not update in the NPrinting connections to the Qlik Sense server.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H3&gt;Resolution&lt;/H3&gt;
&lt;P&gt;To the two causes listed above respectively:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1. Example 1 solution&lt;/STRONG&gt;: To prevent this error, upgrade your NPrinting Server and Designers to February 2021 NPrinting or later releases. Support for multiple connections using the same QVF or QVW inside a single NP App began in Feb. 2021 version of NPrinting.&amp;nbsp; You can view the fix/new feature in the Feb. 2021 release notes - attached. (Internal Investigation ID OP-9606)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2. Example 2 solution&lt;/STRONG&gt;:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open the Qlik Sense QMC&lt;/LI&gt;
&lt;LI&gt;Identify the https:// 'listening' port.&amp;nbsp;
&lt;OL&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="79773_SenseProxyPort.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54747i9CA49CAE1D3DC3E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="79773_SenseProxyPort.png" alt="79773_SenseProxyPort.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;If this port is different than the&lt;STRONG&gt; default port 443&lt;/STRONG&gt;, make a note of port number. In this example the port has been changed to '&lt;STRONG&gt;10001&lt;/STRONG&gt;'&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Open the NP Connection associated with the failed report and update the path to the proxy with updated port.&lt;U&gt;&lt;STRONG&gt;&lt;I&gt; in this example&lt;/I&gt;&lt;/STRONG&gt;&lt;/U&gt; port 10001 is used. (if the &lt;STRONG&gt;default port 443&lt;/STRONG&gt; is used, there is no need to add a port in the NP connection)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="79773_NPProxyAddressPort.png" style="width: 458px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54748i5E3316B662B11E88/image-size/large?v=v2&amp;amp;px=999" role="button" title="79773_NPProxyAddressPort.png" alt="79773_NPProxyAddressPort.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Next do the following&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Save the NPrinting connection and allow the metadata to reload&lt;/LI&gt;
&lt;LI&gt;Ensure that firewall (computer and network) between then NPrinting server and the Qlik Sense server are opened in both directions to accommodate the new port and port communication&lt;/LI&gt;
&lt;LI&gt;Preview your report and run tasks. Issue should be resolved by making this change.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3. Example 3 Solution:&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;With the NPrinting Service User account, use the attempt to open the QVW used in the report connection&lt;/LI&gt;
&lt;LI&gt;QV Desktop shows "Personal Edition"&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Apply your desktop license&lt;/STRONG&gt; using the 'license' tab in the QV desktop while logged on as the NP service account&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Use file&amp;gt;open in server to connect to any QVW. &lt;/STRONG&gt;This will download a license from the QlikView Server while logged on as the NP service account&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Related Information:&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting/nPrinting-Error-Object-reference-not-set-to-an-instance-of-an/td-p/1996264" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-NPrinting/nPrinting-Error-Object-reference-not-set-to-an-instance-of-an/td-p/1996264&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 21:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/NPrinting-Preview-Error-Object-reference-not-set-to-an-instance/ta-p/1797712</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2022-10-25T21:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: NPrinting Designer Error Object reference not set to an instance</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/NPrinting-Preview-Error-Object-reference-not-set-to-an-instance/tac-p/1800878#M2344</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48712"&gt;@Frank_S&lt;/a&gt;&amp;nbsp; for the KB which help me in achieving the requirement.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 10:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/NPrinting-Preview-Error-Object-reference-not-set-to-an-instance/tac-p/1800878#M2344</guid>
      <dc:creator>imrasyed</dc:creator>
      <dc:date>2021-04-20T10:19:58Z</dc:date>
    </item>
  </channel>
</rss>

