Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4906

Serialization failure for maps with null values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.Alpha6
    • 9.0.0.Final
    • REST
    • Hide

      Sample application with an Arquillian test https://github.com/aparnachaudhary/null-serialization-failure.
      Execute EmployeeResourceTest. With 9.0.0.Final testClientSideNegotiation fails.
      After upgrading com.fasterxml.jackson.core.jackson-databind module to 2.5.2, the test passes.

      Show
      Sample application with an Arquillian test https://github.com/aparnachaudhary/null-serialization-failure . Execute EmployeeResourceTest . With 9.0.0.Final testClientSideNegotiation fails. After upgrading com.fasterxml.jackson.core.jackson-databind module to 2.5.2, the test passes.

      Serialization of generic map with null values results in java.lang.UnsupportedOperationException: Type id handling not implemented for type java.lang.Object.

      The issue is fixed in jackson-databind 2.5.2 https://github.com/FasterXML/jackson-databind/issues/691

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              aparnachaudhary Aparna Chaudhary (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: