I solved it. Somehow, in the menu bar there were some duplicate IDs. The problem disappeared after I deleted all menus except the menu in bold from the menu bar. It's a bug in their test project.
If someone knows a way to find such a duplicate ID, I would be very grateful, because sometimes deleting so many objects isn't a viable option.