I had that problem, caused by nested classes with the same name as their ancestors. Deleting the settings file and then choosing different folder names fixed the problem.
I mistyped an alarm command while making an alias recently, so that it read something like "#alias midas {give %1 nelk;#alarm 1 reply midas %1}" - note the lack of braces around alarm's argumen ...