<?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 Re: General exception - Logs reference column/object that's not in data source in Qlik Compose</title>
    <link>https://community.qlik.com/t5/Qlik-Compose/General-exception-Logs-reference-column-object-that-s-not-in/m-p/2006291#M816</link>
    <description>&lt;P&gt;Aspence,&lt;/P&gt;
&lt;P&gt;To be honest, the error messaging on Compose is not very good.&amp;nbsp; I've struggled a lot with errors like this and you will get more and more of these type of stupid errors.&amp;nbsp; But, what I normally do is to by way of deduction sort out the "Object reference not set to an instance of an object".&amp;nbsp; I assume this is when you generate the Tasks.&amp;nbsp; Generate one mapping at a time.&amp;nbsp; Then, once you know which one it is, take off field mappings until you get to the culprit.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/126640"&gt;@aj96&lt;/a&gt;&amp;nbsp;is 100% correct, that this can be a missed lookup or expression...but one really does not always know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 08:17:15 GMT</pubDate>
    <dc:creator>robertcur</dc:creator>
    <dc:date>2022-11-18T08:17:15Z</dc:date>
    <item>
      <title>General exception - Logs reference column/object that's not in data source</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/General-exception-Logs-reference-column-object-that-s-not-in/m-p/1868652#M442</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Testing out compose and have gotten an error that I after a lot of troubleshooting still don't understand.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In the web gui I get this:&lt;/P&gt;
&lt;DIV id="tinyMceEditoraspence_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 611px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68274i33ADD36520A83DC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And when searching the logs I can find the corresponding error here:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;82 2021-12-09 13:49:12 [Host           ] [WARN ] Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Attunity.Compose.BwAutomationManager.ETLUtil.ExpressionRolesDictionary(List`1 columnExpList, List`1 entityStagingInfo)
   at Attunity.Compose.BwAutomationManager.ETLsImp.StagingETLsImp.A(Int32 , List`1 , Boolean )
   at Attunity.Compose.BwAutomationManager.ETLsImp.StagingETLsImp.A(Int32 )
   at Attunity.Compose.BwAutomationManager.ETLsImp.StagingETLsImp.A(EntEtlInfo , List`1 , List`1 , List`1 )
   at Attunity.Compose.BwAutomationManager.ETLsImp.StagingETLsImp.HandleStagingAndErrorMarts(List`1 createdScriptsNames)
   at Attunity.Compose.BwAutomationManager.ETL.A(Int32 , List`1 )
   at Attunity.Compose.BwAutomationManager.ETL.GenerateETL(Int32 etlID, String userName, List`1 createdScriptsNames)
   at Attunity.Compose.BwAutomationManager.DataWarehouseRestImp.GenerateDWHETLs(GenerateDWHETLsParams param, GenerateDWHETLsReq req)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;The thing is, &lt;EM&gt;&lt;STRONG&gt;userName&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp; (which I assume is the culprit) is not a field in our data source. Nor is it something I've mapped to.&lt;BR /&gt;&lt;BR /&gt;The error is consistent and repeated in the logs, they all look the same.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is userName an internal object that it can't find? Any ideas?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 20:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/General-exception-Logs-reference-column-object-that-s-not-in/m-p/1868652#M442</guid>
      <dc:creator>aspence</dc:creator>
      <dc:date>2025-03-14T20:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: General exception - Logs reference column/object that's not in data source</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/General-exception-Logs-reference-column-object-that-s-not-in/m-p/1871109#M444</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/58953"&gt;@aspence&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the mapping window Click on the change view and see if any the column is having an empty Lookup or Expression. Like below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aj96_3-1639507657576.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68602i50F6E712CD2CC29C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aj96_3-1639507657576.png" alt="aj96_3-1639507657576.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aj96_1-1639507494246.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68600i117A85B78F005350/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aj96_1-1639507494246.png" alt="aj96_1-1639507494246.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you do then create an expression and click on the cross button to delete it&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aj96_2-1639507575968.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68601iA42EC062D45B1580/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aj96_2-1639507575968.png" alt="aj96_2-1639507575968.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Or map something to that column. That should fix the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 18:46:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/General-exception-Logs-reference-column-object-that-s-not-in/m-p/1871109#M444</guid>
      <dc:creator>aj96</dc:creator>
      <dc:date>2021-12-14T18:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: General exception - Logs reference column/object that's not in data source</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/General-exception-Logs-reference-column-object-that-s-not-in/m-p/2006291#M816</link>
      <description>&lt;P&gt;Aspence,&lt;/P&gt;
&lt;P&gt;To be honest, the error messaging on Compose is not very good.&amp;nbsp; I've struggled a lot with errors like this and you will get more and more of these type of stupid errors.&amp;nbsp; But, what I normally do is to by way of deduction sort out the "Object reference not set to an instance of an object".&amp;nbsp; I assume this is when you generate the Tasks.&amp;nbsp; Generate one mapping at a time.&amp;nbsp; Then, once you know which one it is, take off field mappings until you get to the culprit.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/126640"&gt;@aj96&lt;/a&gt;&amp;nbsp;is 100% correct, that this can be a missed lookup or expression...but one really does not always know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 08:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/General-exception-Logs-reference-column-object-that-s-not-in/m-p/2006291#M816</guid>
      <dc:creator>robertcur</dc:creator>
      <dc:date>2022-11-18T08:17:15Z</dc:date>
    </item>
  </channel>
</rss>

