Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-1773

Utils.javaDeserialize() doesn't work with primitive types

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 2.0.0, 1.0.1
    • Fix Version/s: 2.0.0, 1.0.2, 1.1.0
    • Component/s: storm-core
    • Labels:
      None

      Description

      It's based on reporting from user@.
      Please refer here for details.

      STORM-1040 (#919) replaces ObjectInputStream with ClassLoaderObjectInputStream while deserializing. But unfortunately ClassLoaderObjectInputStream has a bug which cannot handle primitive types. Please refer IO-378.

      Fortunately IO-378 was included at latest release 2.5, so we would be OK to just upgrade the version of commons-io.

        Attachments

          Activity

            People

            • Assignee:
              kabhwan Jungtaek Lim
              Reporter:
              kabhwan Jungtaek Lim
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: