<?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 'The field is not nullable' only after turning labels on in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/the-field-is-not-nullable-only-after-turning/m-p/72647#M860</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;: when I turn labels on within a feature class with a join, I get the error 'The field is not nullable'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Method&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;I have got a Feature class with all properties in my area, these all have a 'parcel_no', these parcels can be joined to an Oracle DB using a simple SQL Query Layer, this is the query:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;select 
CAST(mdu_acc AS INT) as PARC_NO
from 
aumememo 
where 
mem_typ = '38'
group by mdu_acc&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This returns a table which is looking exactly as expected.&lt;/P&gt;&lt;P&gt;No errors appear at this stage.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-03-31 105212 Weave_Main.mxd - ArcMap.jpg" class="image-1 jive-image" src="/legacyfs/online/193481_2016-03-31 105212 Weave_Main.mxd - ArcMap.jpg" style="width: 620px; height: 390px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i then navigate to my polygon feature class, and create the join to this newly added table, all works fine:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/193482_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Still no errors appear, and they display perfectly on the map (in red).&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/193483_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next I try to add a label based on the parcel number from the original Polygon Feature Class, very simple:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/193484_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I press OK, then Bingo, the error appears, but note the labels display perfectly:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/193485_pastedImage_5.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone and tried to do a simple python label query where it only returns items where fiels is not None, this had no effect at all. I can try turning off the labels in order to remove the error, but this has no effect also. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way I can get the error to bugger off is by removing the join, then adding the join again. But the second I turn labels on the error re-appears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone found a solution to this or experienced this before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering if there is a bug in arc map when creating a join and labeling. I have come across this in the past, but it is not consistent as far as I can tell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Ben&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/47933" target="_blank"&gt;Nathan Duncan&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 22:49:10 GMT</pubDate>
    <dc:creator>BenVan_Kesteren1</dc:creator>
    <dc:date>2021-12-10T22:49:10Z</dc:date>
    <item>
      <title>'The field is not nullable' only after turning labels on</title>
      <link>https://community.esri.com/t5/mapping-questions/the-field-is-not-nullable-only-after-turning/m-p/72647#M860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;: when I turn labels on within a feature class with a join, I get the error 'The field is not nullable'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Method&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;I have got a Feature class with all properties in my area, these all have a 'parcel_no', these parcels can be joined to an Oracle DB using a simple SQL Query Layer, this is the query:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;select 
CAST(mdu_acc AS INT) as PARC_NO
from 
aumememo 
where 
mem_typ = '38'
group by mdu_acc&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This returns a table which is looking exactly as expected.&lt;/P&gt;&lt;P&gt;No errors appear at this stage.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-03-31 105212 Weave_Main.mxd - ArcMap.jpg" class="image-1 jive-image" src="/legacyfs/online/193481_2016-03-31 105212 Weave_Main.mxd - ArcMap.jpg" style="width: 620px; height: 390px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i then navigate to my polygon feature class, and create the join to this newly added table, all works fine:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/193482_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Still no errors appear, and they display perfectly on the map (in red).&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/193483_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next I try to add a label based on the parcel number from the original Polygon Feature Class, very simple:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/193484_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I press OK, then Bingo, the error appears, but note the labels display perfectly:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/193485_pastedImage_5.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone and tried to do a simple python label query where it only returns items where fiels is not None, this had no effect at all. I can try turning off the labels in order to remove the error, but this has no effect also. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way I can get the error to bugger off is by removing the join, then adding the join again. But the second I turn labels on the error re-appears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone found a solution to this or experienced this before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering if there is a bug in arc map when creating a join and labeling. I have come across this in the past, but it is not consistent as far as I can tell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Ben&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/47933" target="_blank"&gt;Nathan Duncan&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:49:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/the-field-is-not-nullable-only-after-turning/m-p/72647#M860</guid>
      <dc:creator>BenVan_Kesteren1</dc:creator>
      <dc:date>2021-12-10T22:49:10Z</dc:date>
    </item>
  </channel>
</rss>

