<?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: Field is Not Nullable Error: 160145 in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/field-is-not-nullable-error-160145/m-p/1524833#M4214</link>
    <description>&lt;P&gt;First off, please log a case with support in case this turn out to be a bug.&lt;/P&gt;&lt;P&gt;Lets try a few things.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Do you receive the same error if you run the Load Data to Preview tool?&lt;/LI&gt;&lt;LI&gt;Try using the append tool to manually append rows from&amp;nbsp;Nodes_Plant_ElectricJunction_XYTableToPoint to electric junction.&lt;/LI&gt;&lt;LI&gt;try running a mapping through where you are only bringing over the shape and relying on default values for the rest of the fields.&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Tue, 20 Aug 2024 23:51:46 GMT</pubDate>
    <dc:creator>RobertKrisher</dc:creator>
    <dc:date>2024-08-20T23:51:46Z</dc:date>
    <item>
      <title>Field is Not Nullable Error: 160145</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/field-is-not-nullable-error-160145/m-p/1524757#M4211</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I keep running into this error message 160145: Field is Not Nullable.&lt;/P&gt;&lt;P&gt;I am using the Load data using workspace excel file&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having trouble with mapping from a point feature class "Loads" to Electric Device feature class.&lt;/P&gt;&lt;P&gt;I have Checked all the fields that are not nullable, and I am almost 100% sure I have assigned values to them all unless I keep missing something. I also checked my source data and there is nothing null in my source, mapping calculated fields also says 100% filled factor.&lt;/P&gt;&lt;P&gt;I have attached photos below of my fields that don't allow nullable values in the target dataset and also a photo of the source dataset mapping.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am just not sure why it keeps saying there is a null value in a not nullable field, when all the not nullable fields are being populated with values.&lt;/P&gt;&lt;P&gt;Maybe I need an extra set of eyes on this to help me see my error and what I am missing, also I did not populate the string categories but that has never mattered before all my other data loads worked with empty string columns and I tried filling those and it made no difference.&lt;/P&gt;&lt;P&gt;Any and all suggestions are welcomed&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-08-20 141334.jpg" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113025iF1DCCA349F08DCD4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-08-20 141334.jpg" alt="Screenshot 2024-08-20 141334.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-08-20 141603.jpg" style="width: 432px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113026iE8AE274B25FA19BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-08-20 141603.jpg" alt="Screenshot 2024-08-20 141603.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 21:28:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/field-is-not-nullable-error-160145/m-p/1524757#M4211</guid>
      <dc:creator>SimonKerkhof</dc:creator>
      <dc:date>2024-08-20T21:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Field is Not Nullable Error: 160145</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/field-is-not-nullable-error-160145/m-p/1524766#M4212</link>
      <description>&lt;P&gt;Can you include a copy of the gp messages from the data loading tool that show the error message? Did it generate any .fid files?&lt;/P&gt;&lt;P&gt;Also, I'd recommend not putting values in the system managed fields (associationstatus, subnetworkname, supportedsubnetworkname, supportingsubnetworkname, tiername, tierrank, isconnected, issubnetworkcontroller). You can also leave those other unused phase fields unmapped so they have the default (de-energized)&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 21:45:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/field-is-not-nullable-error-160145/m-p/1524766#M4212</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2024-08-20T21:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Field is Not Nullable Error: 160145</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/field-is-not-nullable-error-160145/m-p/1524828#M4213</link>
      <description>&lt;P&gt;Hi Robert,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply, below is the full error message I get when I run my code:&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;string&amp;gt;", line 2, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 2233, in LoadDataUsingWorkspace&lt;BR /&gt;raise e&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 2230, in LoadDataUsingWorkspace&lt;BR /&gt;retval = convertArcObjectToPythonObject(gp.LoadDataUsingWorkspace_management(*gp_fixargs((in_workbook,), True)))&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in &amp;lt;lambda&amp;gt;&lt;BR /&gt;return lambda *args: val(*gp_fixargs(args, True))&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;arcgisscripting.ExecuteError: ERROR 160145: The field is not nullable.&lt;BR /&gt;Failed to execute (Append).&lt;BR /&gt;Failed to execute (LoadDataUsingWorkspace).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here is the Messages from the Geoprocessing tool:&lt;/P&gt;&lt;PRE&gt;1874 row(s) from C:\Users\user\Desktop\Complete GIS Models\WatsonLakeGIS\OutputFolder\Output_Geodatabase.gdb\Nodes_XYTableToPoint were appended to C:\Users\user\Desktop\Complete GIS Models\WatsonLakeGIS\Electric Utility Network Foundation\Database\Electric_AssetPackage_InsertCommunityName.gdb\UtilityNetwork\StructureJunction&lt;/PRE&gt;&lt;PRE&gt;1874 row(s) from C:\Users\user\Desktop\Complete GIS Models\WatsonLakeGIS\OutputFolder\Output_Geodatabase.gdb\Nodes_ElectricJunction_XYTableToPoint were appended to C:\Users\user\Desktop\Complete GIS Models\WatsonLakeGIS\Electric Utility Network Foundation\Database\Electric_AssetPackage_InsertCommunityName.gdb\UtilityNetwork\ElectricJunction&lt;/PRE&gt;&lt;PRE&gt;10 row(s) from C:\Users\user\Desktop\Complete GIS Models\WatsonLakeGIS\OutputFolder\Output_Geodatabase.gdb\Nodes_Plant_XYTableToPoint were appended to C:\Users\user\Desktop\Complete GIS Models\WatsonLakeGIS\Electric Utility Network Foundation\Database\Electric_AssetPackage_InsertCommunityName.gdb\UtilityNetwork\StructureJunction&lt;/PRE&gt;&lt;PRE&gt;10 row(s) from C:\Users\user\Desktop\Complete GIS Models\WatsonLakeGIS\OutputFolder\Output_Geodatabase.gdb\Nodes_Plant_ElectricJunction_XYTableToPoint were appended to C:\Users\user\Desktop\Complete GIS Models\WatsonLakeGIS\Electric Utility Network Foundation\Database\Electric_AssetPackage_InsertCommunityName.gdb\UtilityNetwork\ElectricJunction&lt;/PRE&gt;&lt;PRE&gt;ERROR 160145:&lt;SPAN class=""&gt; The field is not nullable.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Failed to execute (Append).&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;Failed script Load Data Using Workspace...&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Failed to execute (LoadDataUsingWorkspace).&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;Failed at Tuesday, August 20, 2024 4:33:39 PM (Elapsed Time: 2 minutes 38 seconds)&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 23:42:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/field-is-not-nullable-error-160145/m-p/1524828#M4213</guid>
      <dc:creator>SimonKerkhof</dc:creator>
      <dc:date>2024-08-20T23:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Field is Not Nullable Error: 160145</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/field-is-not-nullable-error-160145/m-p/1524833#M4214</link>
      <description>&lt;P&gt;First off, please log a case with support in case this turn out to be a bug.&lt;/P&gt;&lt;P&gt;Lets try a few things.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Do you receive the same error if you run the Load Data to Preview tool?&lt;/LI&gt;&lt;LI&gt;Try using the append tool to manually append rows from&amp;nbsp;Nodes_Plant_ElectricJunction_XYTableToPoint to electric junction.&lt;/LI&gt;&lt;LI&gt;try running a mapping through where you are only bringing over the shape and relying on default values for the rest of the fields.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 20 Aug 2024 23:51:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/field-is-not-nullable-error-160145/m-p/1524833#M4214</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2024-08-20T23:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Field is Not Nullable Error: 160145</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/field-is-not-nullable-error-160145/m-p/1525987#M4216</link>
      <description>&lt;P&gt;Hi, Robert&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for taking the time to help me. I used the data loading preview, and it loaded the data fully but also highlighted a null field. Turns out I had an anomaly in my dataset, so all good now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 17:50:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/field-is-not-nullable-error-160145/m-p/1525987#M4216</guid>
      <dc:creator>SimonKerkhof</dc:creator>
      <dc:date>2024-08-22T17:50:05Z</dc:date>
    </item>
  </channel>
</rss>

