-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.3.28] Step "assertions" field is not null safe #507
Comments
@infoShare can you share the step that's producing NPE? |
Try to use framework with jackson-databind 2.13.0 You'll receive this error for steps that doesn't contains assertions: Assertions here is null: |
@infoShare you can specify empty assertions block. |
but what is the point of adding additional |
@infoShare I understand now. I agree this should be null safe. |
@infoShare this is a known issue in jackson-core |
Is it possible to make Step.assertions field null safe ?
We're using tests on spring boot and with version changed from 2.5.4 to 2.6.1 we're receiving NPE on Step constructor.
JsonNode assertions was previously always not null - now it's null.
this.assertions = assertions.isNull() ? verify : assertions;
The text was updated successfully, but these errors were encountered: