The Resources:L32 throws a NullPointerException when the class belongs to a jar. I realized this when trying to generate Seq[MyObject]. Exception in thread "main" java.lang.NullPointerException: ...