When writing some code, I ended up with the following error backtrace. I currently don't have a repeatable example, so I am hoping that the backtrace itself gives some insight into what might be happening here.