You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a service that uses the same caching mechanism/JsonSchemaFactory to load in JSON schemas, then validate against them as it handles requests in a multithreaded way. Lately, we've been seeing a lot of ConcurrentModificationExceptions when two requests are simultaneously handled and trying to retrieve schemas with the stack trace-
java.util.ConcurrentModificationException: null
at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1221)
at com.networknt.schema.JsonSchemaFactory.findMetaSchemaForSchema(JsonSchemaFactory.java:350)
at com.networknt.schema.JsonSchemaFactory.getSchema(JsonSchemaFactory.java:433)
at com.networknt.schema.JsonSchemaFactory.getSchema(JsonSchemaFactory.java:462)
We're using version 1.0.87 of json-schema-validator. Let me know if you need further details
The text was updated successfully, but these errors were encountered:
We have a service that uses the same caching mechanism/JsonSchemaFactory to load in JSON schemas, then validate against them as it handles requests in a multithreaded way. Lately, we've been seeing a lot of
ConcurrentModificationExceptions
when two requests are simultaneously handled and trying to retrieve schemas with the stack trace-We're using version
1.0.87
ofjson-schema-validator
. Let me know if you need further detailsThe text was updated successfully, but these errors were encountered: