Error: Reconcile of a geometric network fails with "Cannot add an orphan junction on top of an existing junction"
Reconcile of a geometric network fails with the following error:
"The version could not be reconciled. Cannot add an orphan junction on top of an existing junction".
The error may also be appended with other error messages such as:
"The operation was attempted on an empty geometry".
The geometric network does not allow an orphan junction to subsume (create at the same location) as an existing orphan junction. Since the rules that apply for the editing of geometric network features also apply during reconcile, the reconcile failure is due to this situation. This is outlined in the Desktop Help on editing network features:
About editing geometric network features
This error may be raised for several different reasons:
- Two orphan junctions have been created at the exact same location in each of the versions being reconciled.
- One or two orphan junctions have been moved to the exact same location in each of the versions being reconciled.
Solution or Workaround
There are a couple of potential solutions to the problem.
If one of the orphan junctions is not connected to any edge features, delete the orphan junction feature.
Subsume one of the orphan junctions with a user-defined junction. This can be done by creating a user-defined junction on top of the offending orphan junction. The orphan junction that is subsumed should be in the version for which the reconcile is done in favor of.
Re-run the reconcile with different options; for example, if the reconcile is run with conflicts resolved in favor of the edit version, re-run it with conflicts resolved in favor of the target version and manually resolve the conflicts.