Does anyone have any idea why I would get the error: "Compiling UFO failed: 'NoneType' object has no attribute 'startswith'"

I'm using fontmake.

@JTDType I don’t know this exact error. Can you see if the UFO is otherwise ok - can you open it in another editor?
@letterror Yeah, it's a frustrating error, and that's all it's telling me. It generates fine with Batch in Robofont and I can open it in Glyphs. Only fontmake is stumbling.
fontmake/TROUBLESHOOTING.md at main · googlefonts/fontmake

Compile fonts from sources (UFO, Glyphs) to binary (OpenType, TrueType). - googlefonts/fontmake

GitHub
@mitradranirban @JTDType @letterror it's a bug in ufo2ft that causes this. In UFO, anchor names are optional. But ufo2ft assumes it's there in a few places when it should first check it is.
@JTDType It might be easier to determine with the complete fontmake output. 😃

@paulvanderlaan ...that was the complete output.

Turns out it was an unnamed anchor in one of the glyphs.