XStream
  1. XStream
  2. XSTR-712

HibernateMapper.serializedClass needs to check for clazz == null

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.3
    • Fix Version/s: 1.4.4
    • Component/s: None
    • Labels:
      None
    • JDK version and platform:
      Linux 1.7.0_05

      Description

      Line 61 of HibernateMapper:
      if (HibernateProxy.class.isAssignableFrom(clazz)) {
      fails with null pointer exception if clazz is null - ie if a collection containing null has been passed in

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          Michael Snell
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: