Uploaded image for project: 'JBoss Marshalling'
  1. JBoss Marshalling
  2. JBMAR-147

NPE when serializing Object with custom SerializabilityChecker

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.3.18.GA, 2.0.0.Beta1
    • None
    • River
    • None
    • Workaround Exists
    • Hide

      In the custom SerializabilityChecker, return false if null is given for the object class.

      Show
      In the custom SerializabilityChecker, return false if null is given for the object class.

    Description

      When serializing Object, the object's superclass is probed (which will always be null) and will cause an NPE inside the serializable class registry.

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            dlloyd@redhat.com David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: