Solr
  1. Solr
  2. SOLR-562

Namedlistcodec throws NPE for null names

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      None

      Description

      NPE thrown if a name in namedlist is null
      SEVERE: java.lang.NullPointerException
      at org.apache.solr.common.util.NamedListCodec.writeStr(NamedListCodec.java:333)
      at org.apache.solr.common.util.NamedListCodec.writeNamedList(NamedListCodec.java:116)
      at org.apache.solr.common.util.NamedListCodec.marshal(NamedListCodec.java:77)

        Activity

        Hide
        Yonik Seeley added a comment -

        committed.

        Show
        Yonik Seeley added a comment - committed.
        Hide
        Noble Paul added a comment -

        Fixed the NPE and made all methods public

        Show
        Noble Paul added a comment - Fixed the NPE and made all methods public

          People

          • Assignee:
            Unassigned
            Reporter:
            Noble Paul
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development