<?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>topic Reports occasionally fail: ERROR: Value cannot be null in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Reports-occasionally-fail-ERROR-Value-cannot-be-null/m-p/2066944#M38864</link>
    <description>&lt;P&gt;I have an HTML report that mostly runs successfully but occasionally fails with this type of error:&lt;/P&gt;
&lt;P&gt;5/2/2023 4:31:53 PM&amp;nbsp;&amp;nbsp;&amp;nbsp; Warn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Failed generation of report 156a6bef-8931-4a5a-b013-e7ede15cf55c for user 01c4d6e6-6420-4da7-b736-3acf60cc7678. ERROR: Exception during content resolution while processing request with id 10171d03-9312-4ec9-8f79-be2fa8218b67. Check Engine logs for details. ERROR: Value cannot be null.&lt;/P&gt;
&lt;P&gt;Parameter name: value&lt;/P&gt;
&lt;P&gt;I waited a few minutes, ran the Publish Task again and it succeeded. Any idea why it failed? The log isn't helpful to me but I can post some of it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm running NPrinting May 2022 SR4 and Sense Enterprise Feb 2023 Patch 1.&lt;/P&gt;</description>
    <pubDate>Tue, 02 May 2023 21:06:49 GMT</pubDate>
    <dc:creator>Lauri</dc:creator>
    <dc:date>2023-05-02T21:06:49Z</dc:date>
    <item>
      <title>Reports occasionally fail: ERROR: Value cannot be null</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Reports-occasionally-fail-ERROR-Value-cannot-be-null/m-p/2066944#M38864</link>
      <description>&lt;P&gt;I have an HTML report that mostly runs successfully but occasionally fails with this type of error:&lt;/P&gt;
&lt;P&gt;5/2/2023 4:31:53 PM&amp;nbsp;&amp;nbsp;&amp;nbsp; Warn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Failed generation of report 156a6bef-8931-4a5a-b013-e7ede15cf55c for user 01c4d6e6-6420-4da7-b736-3acf60cc7678. ERROR: Exception during content resolution while processing request with id 10171d03-9312-4ec9-8f79-be2fa8218b67. Check Engine logs for details. ERROR: Value cannot be null.&lt;/P&gt;
&lt;P&gt;Parameter name: value&lt;/P&gt;
&lt;P&gt;I waited a few minutes, ran the Publish Task again and it succeeded. Any idea why it failed? The log isn't helpful to me but I can post some of it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm running NPrinting May 2022 SR4 and Sense Enterprise Feb 2023 Patch 1.&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 21:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Reports-occasionally-fail-ERROR-Value-cannot-be-null/m-p/2066944#M38864</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2023-05-02T21:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Reports occasionally fail: ERROR: Value cannot be null</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Reports-occasionally-fail-ERROR-Value-cannot-be-null/m-p/2066956#M38865</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16128"&gt;@Lauri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you give us a context what type of objects does this report contain?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Are there any unsupported objects - MAKE SURE YOU CHECK THIS!!
&lt;UL&gt;
&lt;LI&gt;QS: &lt;A href="https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/GettingStarted/HowCreateConnections/Connect-to-QlikSense-apps.htm#anchor-1" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/GettingStarted/HowCreateConnections/Connect-to-QlikSense-apps.htm#anchor-1&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;QV: &lt;A href="https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/GettingStarted/HowCreateConnections/Connect-to-QlikView-docs.htm#anchor-1" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/GettingStarted/HowCreateConnections/Connect-to-QlikView-docs.htm#anchor-1&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Are there any filters (on fields or variables)&lt;/LI&gt;
&lt;LI&gt;Are there any conditions? What are they&lt;/LI&gt;
&lt;LI&gt;Are there any Pages/Levels
&lt;UL&gt;
&lt;LI&gt;If they are, are those running over some sort of tables and not actual fields?&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Do you have calculated dimensions?&lt;/LI&gt;
&lt;LI&gt;Do you use variables or formulas in your template - what are they?&lt;/LI&gt;
&lt;LI&gt;Are you using any variables in file or folder names, email content, or email subject?&lt;/LI&gt;
&lt;LI&gt;Ho big is your app? Is it opening quick in Qlik Sense and is responsive when you apply selections? or is it rather slow and takes time to produce date when you open it from the hub?
&lt;UL&gt;
&lt;LI&gt;Please define size of the app and size in the memory&lt;/LI&gt;
&lt;LI&gt;Please maybe give us an idea if it is just regular basic star schema or some sort of different model?&lt;/LI&gt;
&lt;LI&gt;Are there any island tables in your data model?&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I am suspecting first point to be a problem as usually those are causing similar behaviour, but all other points are also important and would have to be investigated.&lt;/P&gt;
&lt;P&gt;If it happens frequently I would also enable debug logging to maybe get more info about the problem:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/Troubleshooting/Troubleshooting-logs.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/Troubleshooting/Troubleshooting-logs.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;
&lt;P&gt;Lech&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 22:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Reports-occasionally-fail-ERROR-Value-cannot-be-null/m-p/2066956#M38865</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2023-05-02T22:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reports occasionally fail: ERROR: Value cannot be null</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Reports-occasionally-fail-ERROR-Value-cannot-be-null/m-p/2069796#M38944</link>
      <description>&lt;P&gt;hi Lech,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the detailed reply. I just found that the QS app reload is overlapping in time with the NPrinting publish task, which I have to think is a likely cause of my NPrinting error.&amp;nbsp; (The reload is taking longer than it used to. I'd better figure out how to make it more efficient.)&lt;/P&gt;
&lt;P&gt;I have a clarifying question about the help article, which states:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;You should not create connections to&amp;nbsp;&lt;SPAN class="mc-variable CommonComponents.Qlik_Sense variable"&gt;Qlik Sense&lt;/SPAN&gt;&amp;nbsp;apps that use the following:&lt;/EM&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;&lt;SPAN class="ui_item"&gt;Always one selected&lt;/SPAN&gt;&amp;nbsp;value for fields&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;EM&gt;Calculated dimensions, etc.&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Does it mean that I should not create a connection to a QS app that contains a calculated dimension ANYWHERE in the app, even if that dimension is in an object (e.g., table) that I &lt;U&gt;don't&lt;/U&gt; use in NPrinting?&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 15:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Reports-occasionally-fail-ERROR-Value-cannot-be-null/m-p/2069796#M38944</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2023-05-10T15:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reports occasionally fail: ERROR: Value cannot be null</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Reports-occasionally-fail-ERROR-Value-cannot-be-null/m-p/2069922#M38946</link>
      <description>&lt;P&gt;Hi Lauri,&lt;/P&gt;
&lt;P&gt;good point - I was always approaching it same as you... moreover I actually use calculated dimensions in straight tables sometimes. Those cannot be used as levels but often can be used just as tables.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;- Is the below statement from help site wrong? I mean we should probably categorize what is causing whole qvw/qvf to be not supported and what causes some UI objects only partially supported. This is link to unsupported objects:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/GettingStarted/HowCreateConnections/Connect-to-QlikSense-apps.htm#anchor-1" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/GettingStarted/HowCreateConnections/Connect-to-QlikSense-apps.htm#anchor-1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_0-1683758113616.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/106880iBE5BD4464D55BABD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_0-1683758113616.png" alt="Lech_Miszkiewicz_0-1683758113616.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then in the same document we have this:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/ReportsDevelopment/Qlik-objects-supported-NP.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/ReportsDevelopment/Qlik-objects-supported-NP.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_1-1683758472138.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/106881i22F4CA722228B712/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lech_Miszkiewicz_1-1683758472138.png" alt="Lech_Miszkiewicz_1-1683758472138.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It is not clear and is limiting to state that calculated dimensions are not supported. We use them very often also in Qlik Sense straight tables. We understand that those cannot be used as levels or pages, but can be used as straight tables.&lt;/P&gt;
&lt;P&gt;Do you think we could clarify this in help document? I would suggest split between things which disqualify Qlik app from use with NPrinting (like always one selected value) and things which dont have full functionality when used.&lt;/P&gt;
&lt;P&gt;.... or maybe I am getting this wrong assuming that "always one selected value" is more unsupported then any other object as indeed if used with any filters "always one selected value" can still work with NPrinting, but we will have no control over it....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 22:46:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Reports-occasionally-fail-ERROR-Value-cannot-be-null/m-p/2069922#M38946</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2023-05-10T22:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reports occasionally fail: ERROR: Value cannot be null</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Reports-occasionally-fail-ERROR-Value-cannot-be-null/m-p/2070650#M38973</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good point. I can ask for a revision of those pages to add more details, where possible.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About calculated dimensions there is, for example, also the limitation:&lt;/P&gt;
&lt;H4 id="toc-hId-818979712"&gt;Qlik Sense On-Demand reports with selections on calculated dimensions fails&lt;/H4&gt;
&lt;P&gt;Jira issue ID: OP-8382&lt;BR /&gt;Qlik Sense On-Demand reports with selections applied on calculated dimensions will fail. However, you can apply selections on dimensions based on Qlik Sense fields. The workaround is to move the formula to the load script and use the calculated fields to apply selections to your On-Demand reports.&lt;/P&gt;
&lt;P&gt;from&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Release-Notes/Qlik-NPrinting-Release-notes-May-2022-Initial-Release/ta-p/1927855#toc-hId--724530460" target="_blank"&gt;https://community.qlik.com/t5/Release-Notes/Qlik-NPrinting-Release-notes-May-2022-Initial-Release/ta-p/1927855#toc-hId--724530460&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Supporting calculated dimensions means that a user, after seeing it in the UI, could create a filter on an On-Demand request and suppose it works.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 13:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Reports-occasionally-fail-ERROR-Value-cannot-be-null/m-p/2070650#M38973</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2023-05-12T13:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Reports occasionally fail: ERROR: Value cannot be null</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Reports-occasionally-fail-ERROR-Value-cannot-be-null/m-p/2070900#M38977</link>
      <description>&lt;P&gt;HI &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please send me &amp;nbsp;the internal JIRA to the HLP so I can track the clarifications suggested by &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I agree they are very good points.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 22:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Reports-occasionally-fail-ERROR-Value-cannot-be-null/m-p/2070900#M38977</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2023-05-12T22:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Reports occasionally fail: ERROR: Value cannot be null</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Reports-occasionally-fail-ERROR-Value-cannot-be-null/m-p/2071356#M38988</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48712"&gt;@Frank_S&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This kind of request can be addressed via private message as we usually do.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 13:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Reports-occasionally-fail-ERROR-Value-cannot-be-null/m-p/2071356#M38988</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2023-05-15T13:06:12Z</dc:date>
    </item>
  </channel>
</rss>

