Import Message: The workspace is not connected / The Geometry has no Z values

Idea created by thomkunz on Aug 10, 2016
    New
    Score60
    • marianne_1
    • ltflu
    • FCoud@2018
    • andiwyss02
    • alainkunz
    • thomkunz

     

    When we try to import changes from a delta file into a replica geodatabase:

     

    arcpy.ImportMessage_management(in_geodatabase="ConnectionFile.sde",source_delta_file="PathTo/checkin.xml",output_acknowledgement_file="#",conflict_policy="MANUAL",conflict_definition="BY_OBJECT",reconcile_with_parent_version="DO_NOT_RECONCILE")

     

    We get the following error message:

     

    Messages
    Executing: ImportMessage "ConnectionFile.sde" PathTo/checkin.xml # MANUAL BY_OBJECT DO_NOT_RECONCILE
    Start Time: Wed Jul 27 16:34:57 2016
    Executing ImportMessage...
    ERROR 000582: Error occurred during execution.
    The Geometry has no Z values
    The workspace is not connected.
    The workspace is not connected.
    The workspace is not connected.
    The workspace is not connected.
    The workspace is not connected.
    Failed to execute (ImportMessage).
    Failed at Wed Jul 27 16:35:09 2016 (Elapsed Time: 11.36 seconds)

     

    In our case this error message is caused by Geometric Network Default Junctions which have invalid coordinate values ( NaN ):

     

              <Record xsi:type='esri:Record'>

                <Values xsi:type='esri:ArrayOfValue'>

                  <Value xsi:type='xs:int'>1206</Value>

                  <Value xsi:type='xs:short'>1</Value>

                  <Value xsi:type='esri:PointN'>

                    <X>NaN</X>

                    <Y>NaN</Y>

                    <Z>NaN</Z>

                  </Value>

                </Values>

              </Record>

     

     

    Please provide detailed description, for example the ObjectID and feature class name of the

    geometry in the error message