After saving, iD reloaded the data in the area I edited, and then got all corrupted: the map started jumping around on zoom and ways didn't render.


By the way, this issue was fixed for me when I panned the map several miles away, so it was something to do with the downloaded area.
@BjornRasmussen Can you link to the area where this occurred?
It happened just after saving my edits to test iD here:
https://www.openstreetmap.org/changeset/69818137#map=14/40.1927/-85.3790
@BjornRasmussen Hmm I tried editing in that area and couldn't reproduce it. We've been running more tasks asynchronously so perhaps it's a result of a race condition. Let us know if you see something similar again!
Yeah, I only saw this once, and reloading fixed this issue in that area.
Ok, this got me again. The output error on the Chrome console was this:
```Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823868/587968?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823868/587966?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823867/587966?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823867/587967?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823868/587967?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823866/587969?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823867/587969?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823867/587970?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823865/587967?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823867/587968?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823868/587969?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823865/587969?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823866/587966?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823866/587967?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823865/587966?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823866/587970?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823866/587968?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823865/587970?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823865/587968?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823865/587971?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823866/587971?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823868/587971?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823867/587971?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823989/587878?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823989/587880?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823989/587881?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823989/587877?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823988/587880?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823987/587880?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823989/587879?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823988/587881?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823988/587877?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823988/587878?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823988/587879?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823987/587881?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823987/587878?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823987/587879?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823987/587877?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823898/587995?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823898/587993?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823898/587992?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823898/587994?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823897/587995?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823898/587991?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823896/587992?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823895/587993?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823897/587991?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823896/587991?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823897/587994?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823895/587994?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823895/587992?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823895/587991?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823896/587995?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823895/587995?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823897/587993?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823897/587992?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823896/587993?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823896/587994?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824024/587959?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824023/587963?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824024/587961?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824023/587960?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824024/587960?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824023/587962?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824022/587962?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824024/587962?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824023/587961?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824023/587959?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824024/587963?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824022/587959?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824021/587960?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824022/587963?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824022/587961?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824021/587963?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824021/587959?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824022/587960?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824021/587961?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824021/587962?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824022/587964?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824024/587964?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824021/587964?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/824023/587964?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823981/587903?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823981/587904?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823981/587899?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823981/587902?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823980/587903?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823981/587905?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823980/587905?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823977/587905?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823977/587900?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823981/587901?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823981/587900?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823980/587904?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823977/587901?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823979/587902?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823977/587902?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823979/587901?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823978/587902?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823979/587904?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823977/587904?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823978/587900?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823980/587899?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823980/587902?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823978/587904?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/21/823978/587901?blankTile=false:1
Failed to load resource: the server responded with a status of 404 (Not Found)
graph.js:43 Uncaught Error: entity n5565093274 not found
at coreGraph.entity (graph.js:43)
at coreGraph.childNodes (graph.js:111)
at osmWay.
at coreGraph.transient (graph.js:57)
at osmWay.asGeoJSON (way.js:451)
at svgpath (helpers.js:161)
at Array.filter (
at drawLines (lines.js:201)
at Selection.selection_call [as call] (call.js:4)
at drawEditable (map.js:305)
graph.js:43 Uncaught Error: entity n1457807087 not found
at coreGraph.entity (graph.js:43)
at Object.context.entity (context.js:242)
at getVeryCloseNodeIssues (close_nodes.js:43)
at validation (close_nodes.js:89)
at runValidation (validator.js:222)
at Array.forEach (
at validateEntity (validator.js:271)
at validator.js:319
at Set.forEach (
at Object.validator.validateEntities (validator.js:316)
graph.js:43 Uncaught Error: entity n5565093274 not found
at coreGraph.entity (graph.js:43)
at coreGraph.childNodes (graph.js:111)
at osmWay.
at coreGraph.transient (graph.js:57)
at osmWay.asGeoJSON (way.js:451)
at svgpath (helpers.js:161)
at Array.filter (
at drawLines (lines.js:201)
at Selection.selection_call [as call] (call.js:4)
at drawEditable (map.js:305)
graph.js:43 Uncaught Error: entity n2680938862 not found
at coreGraph.entity (graph.js:43)
at coreGraph.childNodes (graph.js:111)
at findCrossingsByWay (crossing_ways.js:272)
at checkCrossingWays (crossing_ways.js:343)
at runValidation (validator.js:222)
at validateEntity (validator.js:258)
at validator.js:319
at Set.forEach (
at Object.validator.validateEntities (validator.js:316)
at validator.js:383
graph.js:43 Uncaught Error: entity n5159849798 not found
at coreGraph.entity (graph.js:43)
at coreGraph.childNodes (graph.js:111)
at findCrossingsByWay (crossing_ways.js:272)
at checkCrossingWays (crossing_ways.js:343)
at runValidation (validator.js:222)
at validateEntity (validator.js:258)
at validator.js:319
at Set.forEach (
at Object.validator.validateEntities (validator.js:316)
at validator.js:383
graph.js:43 Uncaught Error: entity n5565093274 not found
at coreGraph.entity (graph.js:43)
at coreGraph.childNodes (graph.js:111)
at osmWay.
at coreGraph.transient (graph.js:57)
at osmWay.asGeoJSON (way.js:451)
at svgpath (helpers.js:161)
at Array.filter (
at drawLines (lines.js:201)
at Selection.selection_call [as call] (call.js:4)
at drawEditable (map.js:305)
graph.js:43 Uncaught Error: entity n5565093274 not found
at coreGraph.entity (graph.js:43)
at coreGraph.childNodes (graph.js:111)
at osmWay.
at coreGraph.transient (graph.js:57)
at osmWay.asGeoJSON (way.js:451)
at svgpath (helpers.js:161)
at Array.filter (
at drawLines (lines.js:201)
at Selection.selection_call [as call] (call.js:4)
at drawEditable (map.js:305)
entity @ graph.js:43
childNodes @ graph.js:111
(anonymous) @ way.js:452
transient @ graph.js:57
asGeoJSON @ way.js:451
svgpath @ helpers.js:161
drawLines @ lines.js:201
selection_call @ call.js:4
drawEditable @ map.js:305
redraw @ map.js:578
invokeFunc @ debounce.js:95
leadingEdge @ debounce.js:105
debounced @ debounce.js:172
zoomPan @ map.js:517
apply @ dispatch.js:61
customEvent @ on.js:103
emit @ zoom.js:217
zoom @ zoom.js:205
mousemoved @ zoom.js:277
(anonymous) @ on.js:27
graph.js:43 Uncaught Error: entity n5565093274 not found
at coreGraph.entity (graph.js:43)
at coreGraph.childNodes (graph.js:111)
at osmWay.
at coreGraph.transient (graph.js:57)
at osmWay.asGeoJSON (way.js:451)
at svgpath (helpers.js:161)
at Array.filter (
at drawLines (lines.js:201)
at Selection.selection_call [as call] (call.js:4)
at drawEditable (map.js:305)
entity @ graph.js:43
childNodes @ graph.js:111
(anonymous) @ way.js:452
transient @ graph.js:57
asGeoJSON @ way.js:451
svgpath @ helpers.js:161
drawLines @ lines.js:201
selection_call @ call.js:4
drawEditable @ map.js:305
redraw @ map.js:578
invokeFunc @ debounce.js:95
trailingEdge @ debounce.js:144
timerExpired @ debounce.js:132
setTimeout (async)
leadingEdge @ debounce.js:103
debounced @ debounce.js:172
zoomPan @ map.js:517
apply @ dispatch.js:61
customEvent @ on.js:103
emit @ zoom.js:217
zoom @ zoom.js:205
mousemoved @ zoom.js:277
(anonymous) @ on.js:27
graph.js:43 Uncaught Error: entity n459295489 not found
at coreGraph.entity (graph.js:43)
at coreGraph.childNodes (graph.js:111)
at osmWay.
at coreGraph.transient (graph.js:57)
at osmWay.asGeoJSON (way.js:451)
at svgpath (helpers.js:161)
at Array.filter (
at drawLines (lines.js:201)
at Selection.selection_call [as call] (call.js:4)
at drawEditable (map.js:305)
entity @ graph.js:43
childNodes @ graph.js:111
(anonymous) @ way.js:452
transient @ graph.js:57
asGeoJSON @ way.js:451
svgpath @ helpers.js:161
drawLines @ lines.js:201
selection_call @ call.js:4
drawEditable @ map.js:305
redraw @ map.js:578
invokeFunc @ debounce.js:95
trailingEdge @ debounce.js:144
timerExpired @ debounce.js:132
setTimeout (async)
debounced @ debounce.js:181
zoomPan @ map.js:517
apply @ dispatch.js:61
customEvent @ on.js:103
emit @ zoom.js:217
zoom @ zoom.js:205
mousemoved @ zoom.js:277
(anonymous) @ on.js:27
graph.js:43 Uncaught Error: entity n1278512334 not found
at coreGraph.entity (graph.js:43)
at coreGraph.childNodes (graph.js:111)
at osmWay.
at coreGraph.transient (graph.js:57)
at osmWay.asGeoJSON (way.js:451)
at svgpath (helpers.js:161)
at Array.filter (
at drawLines (lines.js:201)
at Selection.selection_call [as call] (call.js:4)
at drawEditable (map.js:305)
entity @ graph.js:43
childNodes @ graph.js:111
(anonymous) @ way.js:452
transient @ graph.js:57
asGeoJSON @ way.js:451
svgpath @ helpers.js:161
drawLines @ lines.js:201
selection_call @ call.js:4
drawEditable @ map.js:305
redraw @ map.js:578
invokeFunc @ debounce.js:95
leadingEdge @ debounce.js:105
debounced @ debounce.js:172
(anonymous) @ map.js:107
call @ dispatch.js:57
merge @ history.js:126
(anonymous) @ context.js:127
(anonymous) @ osm.js:844
done @ osm.js:295
(anonymous) @ idle.js:25
window.requestIdleCallback.timeout @ idle.js:9
requestIdleCallback (async)
(anonymous) @ idle.js:8
utilIdleWorker @ idle.js:26
parseXML @ osm.js:291
done @ osm.js:462
done @ index.js:195
xhr.onreadystatechange @ index.js:32
XMLHttpRequest.send (async)
ohauth.rawxhr @ index.js:39
ohauth.xhr @ index.js:48
run @ index.js:190
oauth.xhr @ index.js:165
loadFromAPI @ osm.js:469
loadTile @ osm.js:832
(anonymous) @ osm.js:814
loadTiles @ osm.js:813
(anonymous) @ context.js:141
window.requestIdleCallback.timeout @ idle.js:9
requestIdleCallback (async)
(anonymous) @ idle.js:8
context.loadTiles @ context.js:142
redraw @ map.js:577
invokeFunc @ debounce.js:95
trailingEdge @ debounce.js:144
timerExpired @ debounce.js:132
setTimeout (async)
leadingEdge @ debounce.js:103
debounced @ debounce.js:172
zoomPan @ map.js:517
apply @ dispatch.js:61
customEvent @ on.js:103
emit @ zoom.js:217
zoom @ zoom.js:205
mousemoved @ zoom.js:277
(anonymous) @ on.js:27
graph.js:43 Uncaught Error: entity n565156111 not found
at coreGraph.entity (graph.js:43)
at coreGraph.childNodes (graph.js:111)
at findCrossingsByWay (crossing_ways.js:227)
at checkCrossingWays (crossing_ways.js:343)
at runValidation (validator.js:222)
at validateEntity (validator.js:258)
at validator.js:319
at Set.forEach (
at Object.validator.validateEntities (validator.js:316)
at validator.js:383
entity @ graph.js:43
childNodes @ graph.js:111
findCrossingsByWay @ crossing_ways.js:227
checkCrossingWays @ crossing_ways.js:343
runValidation @ validator.js:222
validateEntity @ validator.js:258
(anonymous) @ validator.js:319
validator.validateEntities @ validator.js:316
(anonymous) @ validator.js:383
window.requestIdleCallback.timeout @ idle.js:9
requestIdleCallback (async)
(anonymous) @ idle.js:8
(anonymous) @ validator.js:383
call @ dispatch.js:57
merge @ history.js:126
(anonymous) @ context.js:127
(anonymous) @ osm.js:844
done @ osm.js:295
(anonymous) @ idle.js:25
window.requestIdleCallback.timeout @ idle.js:9
requestIdleCallback (async)
(anonymous) @ idle.js:8
utilIdleWorker @ idle.js:26
parseXML @ osm.js:291
done @ osm.js:462
done @ index.js:195
xhr.onreadystatechange @ index.js:32
XMLHttpRequest.send (async)
ohauth.rawxhr @ index.js:39
ohauth.xhr @ index.js:48
run @ index.js:190
oauth.xhr @ index.js:165
loadFromAPI @ osm.js:469
loadTile @ osm.js:832
(anonymous) @ osm.js:814
loadTiles @ osm.js:813
(anonymous) @ context.js:141
window.requestIdleCallback.timeout @ idle.js:9
requestIdleCallback (async)
(anonymous) @ idle.js:8
context.loadTiles @ context.js:142
redraw @ map.js:577
invokeFunc @ debounce.js:95
trailingEdge @ debounce.js:144
timerExpired @ debounce.js:132
setTimeout (async)
leadingEdge @ debounce.js:103
debounced @ debounce.js:172
zoomPan @ map.js:517
apply @ dispatch.js:61
customEvent @ on.js:103
emit @ zoom.js:217
zoom @ zoom.js:205
mousemoved @ zoom.js:277
(anonymous) @ on.js:27
graph.js:43 Uncaught Error: entity n1278512334 not found
at coreGraph.entity (graph.js:43)
at coreGraph.childNodes (graph.js:111)
at osmWay.
at coreGraph.transient (graph.js:57)
at osmWay.asGeoJSON (way.js:451)
at svgpath (helpers.js:161)
at Array.filter (
at drawLines (lines.js:201)
at Selection.selection_call [as call] (call.js:4)
at drawEditable (map.js:305)
entity @ graph.js:43
childNodes @ graph.js:111
(anonymous) @ way.js:452
transient @ graph.js:57
asGeoJSON @ way.js:451
svgpath @ helpers.js:161
drawLines @ lines.js:201
selection_call @ call.js:4
drawEditable @ map.js:305
redraw @ map.js:578
invokeFunc @ debounce.js:95
trailingEdge @ debounce.js:144
timerExpired @ debounce.js:132
setTimeout (async)
leadingEdge @ debounce.js:103
debounced @ debounce.js:172
(anonymous) @ map.js:107
call @ dispatch.js:57
merge @ history.js:126
(anonymous) @ context.js:127
(anonymous) @ osm.js:844
done @ osm.js:295
(anonymous) @ idle.js:25
window.requestIdleCallback.timeout @ idle.js:9
requestIdleCallback (async)
(anonymous) @ idle.js:8
utilIdleWorker @ idle.js:26
parseXML @ osm.js:291
done @ osm.js:462
done @ index.js:195
xhr.onreadystatechange @ index.js:32
XMLHttpRequest.send (async)
ohauth.rawxhr @ index.js:39
ohauth.xhr @ index.js:48
run @ index.js:190
oauth.xhr @ index.js:165
loadFromAPI @ osm.js:469
loadTile @ osm.js:832
(anonymous) @ osm.js:814
loadTiles @ osm.js:813
(anonymous) @ context.js:141
window.requestIdleCallback.timeout @ idle.js:9
requestIdleCallback (async)
(anonymous) @ idle.js:8
context.loadTiles @ context.js:142
redraw @ map.js:577
invokeFunc @ debounce.js:95
trailingEdge @ debounce.js:144
timerExpired @ debounce.js:132
setTimeout (async)
leadingEdge @ debounce.js:103
debounced @ debounce.js:172
zoomPan @ map.js:517
apply @ dispatch.js:61
customEvent @ on.js:103
emit @ zoom.js:217
zoom @ zoom.js:205
mousemoved @ zoom.js:277
(anonymous) @ on.js:27
graph.js:43 Uncaught Error: entity n1278512334 not found
at coreGraph.entity (graph.js:43)
at coreGraph.childNodes (graph.js:111)
at osmWay.
at coreGraph.transient (graph.js:57)
at osmWay.asGeoJSON (way.js:451)
at svgpath (helpers.js:161)
at Array.filter (
at drawLines (lines.js:201)
at Selection.selection_call [as call] (call.js:4)
at drawEditable (map.js:305)
entity @ graph.js:43
childNodes @ graph.js:111
(anonymous) @ way.js:452
transient @ graph.js:57
asGeoJSON @ way.js:451
svgpath @ helpers.js:161
drawLines @ lines.js:201
selection_call @ call.js:4
drawEditable @ map.js:305
redraw @ map.js:578
invokeFunc @ debounce.js:95
leadingEdge @ debounce.js:105
debounced @ debounce.js:172
zoomPan @ map.js:517
apply @ dispatch.js:61
customEvent @ on.js:103
emit @ zoom.js:217
zoom @ zoom.js:205
mousemoved @ zoom.js:277
(anonymous) @ on.js:27
</details>
graph.js:43 Uncaught Error: entity n1278512334 not found
at coreGraph.entity (graph.js:43)
at coreGraph.childNodes (graph.js:111)
at osmWay.
at coreGraph.transient (graph.js:57)
at osmWay.asGeoJSON (way.js:451)
at svgpath (helpers.js:161)
at Array.filter (
at drawLines (lines.js:201)
at Selection.selection_call [as call] (call.js:4)
at drawEditable (map.js:305)
```
It seems to be a new issue, and has now occurred twice for me after saving my edits.
I'm really not sure how to reproduce it easily.
Thanks @BjornRasmussen - the stack trace is very helpful 👍
I'm also seeing this kind of error messages when switching between live and dev server instances.
Looking into this further, this is definitely caused by code called via window.requestIdleCallback running asynchronously. The context remains constant but its graph changes. I'm guessing errors occur because the context's graph is changed by another thread partway through a validation pass, leaving some entities missing. I'm going to try fixing it by maintaining the same graph object all the way through the validation pipeline.
Okay, now I'm definitely not sure what's going on. Maybe it's an async thing or maybe it's the history save/restore itself.
Here's how I can reproduce the issue on preview/master:
Triggers:
Error: entity n4316776967 not found graph.js:43:18
entity graph.js:43
childNodes graph.js:111
findCrossingsByWay crossing_ways.js:272
checkCrossingWays crossing_ways.js:343
runValidation validator.js:250
validateEntity validator.js:286
validateEntities validator.js:363
forEach (index):6262
validateEntities validator.js:358
coreValidator validator.js:435
utilCallWhenIdle idle.js:9
Error: entity n4316776967 not found graph.js:43:18
Error: entity n4316785436 not found
graph.js:43:18
Error: entity n4316770679 not found graph.js:43:18
Error: entity n4316766149 not found graph.js:43:18
Error: entity n4316766267 not found graph.js:43:18
I think this is fixed now.. In places where we defer work with an idle callback, we need to make sure to cancel that deferred idle callback whenever iD is reset.
If people are able to test this in http://preview.ideditor.com/master/ I'd appreciate it, thanks!
bdb454e1b 2019-05-16 Remove utilCallWhenIdle, use requestIdleCallback/cancelIdleCallback
a8c6ab4d6 2019-05-16 Move requestIdleCallback polyfill to id.js, remove utilIdleWorker
I just ran into this (or something similar): it has to do with the nodes of a way not existing in the graph, but the way not being updated to reflect this.
Uncaught Error: entity n-292 not found
at coreGraph.entity (graph.js:43)
at coreGraph.childNodes (graph.js:111)
at osmWay.<anonymous> (way.js:472)
at coreGraph.transient (graph.js:57)
at osmWay.area (way.js:471)
at drawAreas (areas.js:209)
at Selection.selection_call [as call] (call.js:4)
at drawEditable (map.js:306)
at redraw (map.js:578)
at immediateRedraw (map.js:592)
in the console. Node -292, which I created as part of a building, was for some reason removed from the graph without the building becoming updated about this change, corrupting iD and making it impossible to save anything or delete the building.
I managed to undo to a point where iD wasn't corrupted anymore, and found that redoing Squared the corners of an area (using Q) might have somehow deleted one of the nodes from the way without updating the way.
When I tried undoing the square corners operation and saving, though, the server returned a "node placeholder not found" error, so I couldn't save. I tried completely undoing adding the building in the first place, and found that I could now save the edits (which was nice, since I'd just spent 20 minutes on them).
Most helpful comment
I think this is fixed now.. In places where we defer work with an idle callback, we need to make sure to cancel that deferred idle callback whenever iD is reset.
If people are able to test this in http://preview.ideditor.com/master/ I'd appreciate it, thanks!
bdb454e1b 2019-05-16 Remove
utilCallWhenIdle, userequestIdleCallback/cancelIdleCallbacka8c6ab4d6 2019-05-16 Move
requestIdleCallbackpolyfill to id.js, removeutilIdleWorker