Wrapping stub generation in try/catch as well
Printing warning when we can't find a class ID instead of crashing