Bug in ScalaSigReader: clazz.getDeclaringClass may also throw NullPointerException