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

HttpStatusCodeException cannot be serialized

    Details

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

      Description

      Being a Throwable, org.springframework.web.client.HttpStatusCodeException should be serializable.
      However, it references a java.nio.charset.Charset, which is not java.io.Serializable, causing an NotSerializableException.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbeams Chris Beams
                Reporter:
                r.dauster Ronald Dauster
                Last updater:
                Trevor Marshall
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 2 weeks, 3 days ago