ARIES-362: When checking for compatible namespaces, the namespace registry does not catch NoClassDefFoundError