Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-11403

Log caught exception in MappingJackson2HttpMessageConverter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.0.1
    • Fix Version/s: 4.0.2
    • Component/s: Web
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      SPR-11261 introduced more detailed log output for MappingJackson2HttpMessageConverter in case of an invalid mapping configuration. However, the log output only states "Failed to evaluate deserialization for type: Foo" which is not too helpful, as you don't find out about the details of the invalid mapping of said class.

      It would be helpful to also log the cause as it contains detailed information about what actually is misconfigured.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              olivergierke Oliver Drotbohm
              Last updater:
              Spring Issues
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 40 weeks, 2 days ago