RESTEasy error response for invalid input is exposing source references

Solution Verified - Updated -


  • We see that a bad POST request with invalid data to our RESTEasy end point exposes source references in the resulting error response to the client. Can this be avoided:
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `` from Array value (token `JsonToken.START_ARRAY`)
 at [Source: (io.undertow.servlet.spec.ServletInputStreamImpl); line: 1, column: 1]


  • JBoss Enterprise Application Platform (EAP) 7.x
  • Red Hat build of Quarkus 2.13.8.SP1
    • Dependency quarkus-resteasy-jackson (RESTEasy Classic)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content