https://imgur.com/gallery/bug-000-4LOtNwq
context: was cleaning my factory with the bacum-shootgun mod, and cause so, used a deconstruction planner to set labs to deconstruction. Thats the only thing that, at least from my point of view, could cause a trouble with ur mod.
edit: looking at the error, it says that an entity was 'invalid', probably an edge case, but something that could happend. Experienced this error myself in my mod.