On Tue, Dec 17, 2019 at 8:45 PM Ammar Khan <[email protected]> wrote:
> So I am using the swagger-request-validator-restassured library which > internally makes use of jackson core and databind verisons 2.9.5. I am > running into some UUID validation errors when the library attempts to > validate the path parameters in my REST request url. The particular UUID > that is causing me problems is > actually 4aea209d-9055-45f0-90f6-081fa7348943. When the request validator > method begins to validate the path parameters, it makes a series of > internal method calls until its readContent method in its SchemaValidator > class gets invoked. This class than calls Json.mapper().readTree(value) > from the com.fasterxml.jackson.databind package. The value in this scenario > is just the UUID 4aea209d-9055-45f0-90f6-081fa7348943. The readTree method > than calls the _readTreeAndClose(JsonParaser p0) method which is where I > get the following error.... > > [image: error1.PNG] > > > I have verified that the UUID in question is a valid UUID and I have run > tests with other UUIDs such 00000000-0000-0000-000000000000 that do not > experience the same issue. I am not entirely sure whether this a defect > with the Jackson library or whether this is a valid failure so any insight > would be appreciated. > > You would need to contact author of that library first, or, provide a test case that only uses Jackson. In latter case we might be able to help. Exception message itself suggests invalid JSON, and not validation issue. -+ Tatu +- -- You received this message because you are subscribed to the Google Groups "jackson-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jackson-user/CAL4a10gMzu2g6U77w4XPQ_rL%3D8MWQa3yqxsGL7iCi4GL0wYC6g%40mail.gmail.com.
