I received the following two errors after removing a stockpile. Was not able to reproduce…
Paging @Albert, is this still an issue?
I believe this has been fixed.