Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.11.1
    • Fix Version/s: 4.1.0
    • Component/s: Client
    • Labels:
      None

      Description

      Curator client tries to make ObjectMapper to parse null (ChildData.getData() can be null).

      java.lang.NullPointerException
       at org.codehaus.jackson.JsonFactory.createJsonParser(JsonFactory.java:604)
       at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1973)
       at org.apache.curator.x.discovery.details.JsonInstanceSerializer.deserialize(JsonInstanceSerializer.java:50)
       at org.apache.curator.x.discovery.details.ServiceCacheImpl.addInstance(ServiceCacheImpl.java:193)
       at org.apache.curator.x.discovery.details.ServiceCacheImpl.start(ServiceCacheImpl.java:96)
       at org.apache.curator.x.discovery.details.ServiceProviderImpl.start(ServiceProviderImpl.java:67)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                randgalt Jordan Zimmerman
                Reporter:
                egrs Egor Ryashin
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: