This error typically happens when something has gone catastrophically wrong and the compiler basically just crashes before it can write the bsp. These errors are usually quite hard to diagnose unless you know exactly what you're looking for though, so good luck.