Some methods to find descriptors return nil instead of a NotFound error. All the wrapping functions should pass nil through instead of wrapping it. For example, if a field is not found, nil is normally returned, but from a wrapped message descriptor, a wrapped nil is return, which eventually causes a NPE if used.
Some methods to find descriptors return nil instead of a NotFound error. All the wrapping functions should pass nil through instead of wrapping it. For example, if a field is not found, nil is normally returned, but from a wrapped message descriptor, a wrapped nil is return, which eventually causes a NPE if used.