laptop and a wrench

Bug

Issue #1 - When using 'Iterate Feature Selection' in Model Builder to select features for the Origin and Destinations locations as inputs into the Add Locations tool, if the input network analysis layer uses an inline variable in its name, the following error message occurs: "ERROR 030059: No sublayers found." Issue #2 - When using the Iterate Feature Selection in Model Builder to select origin features and create a value in which to use in a expression to select destination features from a second feature class, if there is no matching feature in the destination feature class, the following error occurs: "ERROR 030024: Solve returned a failure. Insufficient number of valid locations in "Origins" or "Destinations"."

Last Published: August 19, 2020 ArcGIS for Desktop
Bug ID Number NIM102420
SubmittedJune 9, 2014
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.2.1
StatusWill Not Be Addressed

Additional Information

We apologize that we were unable to address this issue within the current product support cycle.  If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

Remove the inline variable from the Origin-Destination (OD) cost matrix layer name. The Make OD Cost Matrix tool does not need to be run each iteration. The user can create the OD Cost Matrix at the beginning of the model with the correct settings, and the same layer can be reused in each iteration without any problems. Add Locations removes the existing data in the layer (as long as Append to Existing Locations is unchecked) and adds new locations each time, and Solve just solves the layer. As long as Add Locations and Solve reference the OD Cost Matrix layer without %Value% in the name, it works fine. This method makes for a cleaner model overall that runs faster and saves memory.

Steps to Reproduce

Bug ID: NIM102420

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options