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
Exception in thread "main" java.lang.StackOverflowError
at org.everit.json.schema.ValidatingVisitor.visitCombinedSchema(ValidatingVisitor.java:160)
at org.everit.json.schema.CombinedSchema.accept(CombinedSchema.java:200)
at org.everit.json.schema.Visitor.visit(Visitor.java:48)
at org.everit.json.schema.ValidatingVisitor.visit(ValidatingVisitor.java:59)
at org.everit.json.schema.ValidatingVisitor.lambda$getFailureOfSchema$2(ValidatingVisitor.java:199)
at org.everit.json.schema.ValidationFailureReporter.inContextOfSchema(ValidationFailureReporter.java:34)
at org.everit.json.schema.CollectingFailureReporter.inContextOfSchema(CollectingFailureReporter.java:25)
at org.everit.json.schema.ValidatingVisitor.getFailureOfSchema(ValidatingVisitor.java:199)
at org.everit.json.schema.ValidatingVisitor.visitReferenceSchema(ValidatingVisitor.java:139)
at org.everit.json.schema.ReferenceSchema.accept(ReferenceSchema.java:168)
at org.everit.json.schema.Visitor.visit(Visitor.java:48)
at org.everit.json.schema.ValidatingVisitor.visit(ValidatingVisitor.java:59)
at org.everit.json.schema.ValidatingVisitor.lambda$getFailureOfSchema$2(ValidatingVisitor.java:199)
at org.everit.json.schema.ValidationFailureReporter.inContextOfSchema(ValidationFailureReporter.java:34)
at org.everit.json.schema.CollectingFailureReporter.inContextOfSchema(CollectingFailureReporter.java:25)
at org.everit.json.schema.ValidatingVisitor.getFailureOfSchema(ValidatingVisitor.java:199)
at org.everit.json.schema.ValidatingVisitor.visitCombinedSchema(ValidatingVisitor.java:164)
at org.everit.json.schema.CombinedSchema.accept(CombinedSchema.java:200)
at org.everit.json.schema.Visitor.visit(Visitor.java:48)
at org.everit.json.schema.ValidatingVisitor.visit(ValidatingVisitor.java:59)
at org.everit.json.schema.ValidatingVisitor.lambda$getFailureOfSchema$2(ValidatingVisitor.java:199)
at org.everit.json.schema.ValidationFailureReporter.inContextOfSchema(ValidationFailureReporter.java:34)
at org.everit.json.schema.CollectingFailureReporter.inContextOfSchema(CollectingFailureReporter.java:25)
at org.everit.json.schema.ValidatingVisitor.getFailureOfSchema(ValidatingVisitor.java:199)
at org.everit.json.schema.ValidatingVisitor.visitReferenceSchema(ValidatingVisitor.java:139)
at org.everit.json.schema.ReferenceSchema.accept(ReferenceSchema.java:168)
at org.everit.json.schema.Visitor.visit(Visitor.java:48)
lib version: 1.14.1
The text was updated successfully, but these errors were encountered:
My original schema is a very large schema, it will refer to another schema by allOf and $ref, and for browser viewing reason, we add $id(as absolute-URI) field on sub-schema.
My workaournd is remove $id fiield after parse it to json object since I only use it to valid data,
IMO, $id property here should not be visited since in spec
The schema file
The code
It will raise error like following
lib version: 1.14.1
The text was updated successfully, but these errors were encountered: