-
Notifications
You must be signed in to change notification settings - Fork 324
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
NPE due to concurrency bug #392
Comments
I'll try to add a PR. |
@Keymaster65 We have another issue opened that is concurrency related. I don't know if they are the same root cause. The NPE is thrown from two different locations. Just for your reference. |
I think #335 is another bug. |
Thanks for the confirmation. I assume it is a different defect as the NPE is thrown from two different locations. |
stevehu
pushed a commit
that referenced
this issue
Mar 30, 2021
… Removed unused members and constructor (#393)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In high load tests, we sometimes get this bug:
java.lang.NullPointerException: null
at com.networknt.schema.JsonSchemaRef.validate(JsonSchemaRef.java:49)
at com.networknt.schema.RefValidator.validate(RefValidator.java:138)
at com.networknt.schema.JsonSchema.validate(JsonSchema.java:224)
at com.networknt.schema.AllOfValidator.validate(AllOfValidator.java:44)
at com.networknt.schema.JsonSchema.validate(JsonSchema.java:224)
at com.networknt.schema.JsonSchemaRef.validate(JsonSchemaRef.java:49)
at com.networknt.schema.RefValidator.validate(RefValidator.java:138)
at com.networknt.schema.JsonSchema.validate(JsonSchema.java:224)
at com.networknt.schema.ItemsValidator.doValidate(ItemsValidator.java:93)
at com.networknt.schema.ItemsValidator.validate(ItemsValidator.java:80)
at com.networknt.schema.JsonSchema.validate(JsonSchema.java:224)
at com.networknt.schema.PropertiesValidator.validate(PropertiesValidator.java:75)
at com.networknt.schema.JsonSchema.validate(JsonSchema.java:224)
at com.networknt.schema.JsonSchemaRef.validate(JsonSchemaRef.java:49)
at com.networknt.schema.RefValidator.validate(RefValidator.java:138)
at com.networknt.schema.JsonSchema.validate(JsonSchema.java:224)
at com.networknt.schema.AllOfValidator.validate(AllOfValidator.java:44)
at com.networknt.schema.JsonSchema.validate(JsonSchema.java:224)
at com.networknt.schema.JsonSchemaRef.validate(JsonSchemaRef.java:49)
at com.networknt.schema.RefValidator.validate(RefValidator.java:138)
at com.networknt.schema.JsonSchema.validate(JsonSchema.java:224)
at com.networknt.schema.PropertiesValidator.validate(PropertiesValidator.java:75)
at com.networknt.schema.JsonSchema.validate(JsonSchema.java:224)
at com.networknt.schema.JsonSchemaRef.validate(JsonSchemaRef.java:49)
at com.networknt.schema.RefValidator.validate(RefValidator.java:138)
at com.networknt.schema.JsonSchema.validate(JsonSchema.java:224)
at com.networknt.schema.ItemsValidator.doValidate(ItemsValidator.java:93)
at com.networknt.schema.ItemsValidator.validate(ItemsValidator.java:80)
at com.networknt.schema.JsonSchema.validate(JsonSchema.java:224)
at com.networknt.schema.PropertiesValidator.validate(PropertiesValidator.java:75)
at com.networknt.schema.JsonSchema.validate(JsonSchema.java:224)
at com.networknt.schema.BaseJsonValidator.validate(BaseJsonValidator.java:101
The text was updated successfully, but these errors were encountered: