<?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 Enable Topology - ERROR 160587: Null geometries not allowed. in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/enable-topology-error-160587-null-geometries-not/m-p/1327105#M2821</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have a UNM V3 electric &amp;amp; comms networks on ArcGIS Enterprise 10.8.1 + UN Patch 10 with SQL Server 2017 AWS RDS. The electric model needs to be changed to add a new Asset Type for Electric Device. At the moment, I am testing the amount of time it takes to disable &amp;amp; enable topology in a non PRD environment in preparation for a PRD release. Disable topology has worked. Started on the Enable Topology but now getting this Error 160587: Null geometries not allowed after 52hours running.&lt;/P&gt;&lt;P&gt;I have ran a bunch of SQL over the database to see what null geoms are present in Default (Branch ID=0) across all 3 domains and haven't found any.&lt;/P&gt;&lt;P&gt;The python i'm running is arcpy.un.EnableNetworkTopology(un, 1000000, "ENABLE_TOPO") on an EC2 with ArcGIS Pro 2.9.8 installed on Win Server 2016 Datacentre. There is plenty of disc space free (approx 180Gb).&lt;/P&gt;&lt;P&gt;UN properties are UNM 3, ArcGIS Pro release 2.5 &amp;amp; Upgraded is blank.&lt;/P&gt;&lt;P&gt;Has anybody come across this error before? Thanks&lt;/P&gt;</description>
    <pubDate>Sun, 10 Sep 2023 11:22:17 GMT</pubDate>
    <dc:creator>AnthonyRyanEQL</dc:creator>
    <dc:date>2023-09-10T11:22:17Z</dc:date>
    <item>
      <title>Enable Topology - ERROR 160587: Null geometries not allowed.</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/enable-topology-error-160587-null-geometries-not/m-p/1327105#M2821</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have a UNM V3 electric &amp;amp; comms networks on ArcGIS Enterprise 10.8.1 + UN Patch 10 with SQL Server 2017 AWS RDS. The electric model needs to be changed to add a new Asset Type for Electric Device. At the moment, I am testing the amount of time it takes to disable &amp;amp; enable topology in a non PRD environment in preparation for a PRD release. Disable topology has worked. Started on the Enable Topology but now getting this Error 160587: Null geometries not allowed after 52hours running.&lt;/P&gt;&lt;P&gt;I have ran a bunch of SQL over the database to see what null geoms are present in Default (Branch ID=0) across all 3 domains and haven't found any.&lt;/P&gt;&lt;P&gt;The python i'm running is arcpy.un.EnableNetworkTopology(un, 1000000, "ENABLE_TOPO") on an EC2 with ArcGIS Pro 2.9.8 installed on Win Server 2016 Datacentre. There is plenty of disc space free (approx 180Gb).&lt;/P&gt;&lt;P&gt;UN properties are UNM 3, ArcGIS Pro release 2.5 &amp;amp; Upgraded is blank.&lt;/P&gt;&lt;P&gt;Has anybody come across this error before? Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 10 Sep 2023 11:22:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/enable-topology-error-160587-null-geometries-not/m-p/1327105#M2821</guid>
      <dc:creator>AnthonyRyanEQL</dc:creator>
      <dc:date>2023-09-10T11:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Topology - ERROR 160587: Null geometries not allowed.</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/enable-topology-error-160587-null-geometries-not/m-p/1327328#M2823</link>
      <description>&lt;P&gt;This looks like&amp;nbsp;&lt;/P&gt;&lt;P&gt;bug-000137860&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en-us/bug/association-records-in-which-the-parent-or-the-child-fe-bug-000137860" target="_blank"&gt;https://support.esri.com/en-us/bug/association-records-in-which-the-parent-or-the-child-fe-bug-000137860&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The page might not work, as we need to update it, but here is the listed workaround and details:&lt;/P&gt;&lt;P&gt;Association records in which the parent or the child features do not exist in the DEFAULT version leads to Enable Network Topology crashing or returning a misleading error.&lt;/P&gt;&lt;P&gt;Workaround&lt;BR /&gt;Use SQL to determine which associations are orphaned, and then clean them up via the feature service using ArcGIS Pro:&lt;/P&gt;&lt;P&gt;1) Identify all unique networksourceid values present in the associations table, e.g.&lt;/P&gt;&lt;P&gt;select distinct fromnetworksourceid from &amp;lt;OWNER&amp;gt;.un&amp;lt;_DSID_&amp;gt;associations where GDB_BRANCH_ID = 0&lt;/P&gt;&lt;P&gt;select distinct TONETWORKSOURCEID from &amp;lt;OWNER&amp;gt;.un&amp;lt;_DSID_&amp;gt;associations where GDB_BRANCH_ID = 0&lt;/P&gt;&lt;P&gt;2) Use the &amp;lt;UN name&amp;gt;_&amp;lt;UN_ID&amp;gt;_FeatureSourceID coded value domain to determine which feature classes/internal UN tables to which these networksourceid values correspond&lt;/P&gt;&lt;P&gt;3) Use nested SQL statements to search for any globalids that exist in the associations table, that DO NOT exist in the corresponding networksourceid table, e.g.&lt;/P&gt;&lt;P&gt;--default only from network source id&lt;/P&gt;&lt;P&gt;select objectid from &amp;lt;OWNER&amp;gt;.un&amp;lt;_DSID_&amp;gt;associations where gdb_branch_id = 0 and fromnetworksourceid = 6 and fromglobalid not in (select globalid from &amp;lt;OWNER&amp;gt;.&amp;lt;DOMAINNAME&amp;gt;DEVICE where GDB_BRANCH_ID = 0)&lt;/P&gt;&lt;P&gt;select objectid from &amp;lt;OWNER&amp;gt;.un&amp;lt;_DSID_&amp;gt;associations where gdb_branch_id = 0 and fromnetworksourceid = 8 and fromglobalid not in (select globalid from &amp;lt;OWNER&amp;gt;.&amp;lt;DOMAINNAME&amp;gt;ASSEMBLY where gdb_branch_id = 0)&lt;/P&gt;&lt;P&gt;select objectid from &amp;lt;OWNER&amp;gt;.un&amp;lt;_DSID_&amp;gt;associations where gdb_branch_id = 0 and fromnetworksourceid = 9 and fromglobalid not in (select globalid from &amp;lt;OWNER&amp;gt;.&amp;lt;DOMAINNAME&amp;gt;JUNCTION where gdb_branch_id = 0)&lt;/P&gt;&lt;P&gt;--default only to network source id&lt;/P&gt;&lt;P&gt;select objectid from &amp;lt;OWNER&amp;gt;.un&amp;lt;_DSID_&amp;gt;associations where gdb_branch_id = 0 and TONETWORKSOURCEID = 6 and TOGLOBALID not in (select globalid from &amp;lt;OWNER&amp;gt;.&amp;lt;DOMAINNAME&amp;gt;DEVICE where GDB_BRANCH_ID = 0)&lt;/P&gt;&lt;P&gt;select objectid from &amp;lt;OWNER&amp;gt;.un&amp;lt;_DSID_&amp;gt;associations where gdb_branch_id = 0 and TONETWORKSOURCEID = 7 and TOGLOBALID not in (select globalid from &amp;lt;OWNER&amp;gt;.&amp;lt;DOMAINNAME&amp;gt;LINE where GDB_BRANCH_ID = 0)&lt;/P&gt;&lt;P&gt;select objectid from &amp;lt;OWNER&amp;gt;.un&amp;lt;_DSID_&amp;gt;associations where gdb_branch_id = 0 and TONETWORKSOURCEID = 9 and TOGLOBALID not in (select globalid from &amp;lt;OWNER&amp;gt;.&amp;lt;DOMAINNAME&amp;gt;JUNCTION where GDB_BRANCH_ID = 0)&lt;/P&gt;&lt;P&gt;4) Users have a list of objectids of associations. Delete them by adding the UN feature service to ArcGIS Pro, open the associations table, select by attributes and then delete the rows.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 15:44:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/enable-topology-error-160587-null-geometries-not/m-p/1327328#M2823</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2023-09-11T15:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Topology - ERROR 160587: Null geometries not allowed.</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/enable-topology-error-160587-null-geometries-not/m-p/1330436#M2862</link>
      <description>&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;This solved my issue. I had 11 'from' &amp;amp; 16 'to' associations which either or both related features that didn't exist in the domain feature classes.&lt;/P&gt;&lt;P&gt;Once removed, I re-ran the enable topology process and it did complete in 22hours on our little AWS SQL Server RDS&lt;/P&gt;&lt;P&gt;Thanks again for the information&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 22:24:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/enable-topology-error-160587-null-geometries-not/m-p/1330436#M2862</guid>
      <dc:creator>AnthonyRyanEQL</dc:creator>
      <dc:date>2023-09-19T22:24:08Z</dc:date>
    </item>
  </channel>
</rss>

