Seems similar to https://mods.factorio.com/mod/belt-balancer/discussion/5ec10d8b458184000ef77fe5
I was unable to reproduce that error, so you message comes in handy. Can you send me the save, where this happens? That would help me to see, if the error is really where it is printed, or if it got created by some previous operation.