Skip to content

[Improvement] Posssible NPE in ModelVersionUpdatesRequest.java #8009

@justinmclean

Description

@justinmclean

What would you like to be improved?

In common/src/main/java/org/apache/gravitino/dto/requests/ModelVersionUpdatesRequest.java a null pointer exception will happen if update is null when validate() is call.

How should we improve?

Check if it is null and throw an IllegalArgumentException

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions