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

NPE when serializing Object with custom SerializabilityChecker

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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.

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

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

                Created:
                Updated:
                Resolved: