classparser throws exception if no namespace is found