curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CURATOR-452) ChildData.getData() can be null
Date Fri, 08 Jun 2018 05:18:00 GMT

    [ https://issues.apache.org/jira/browse/CURATOR-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505715#comment-16505715
] 

ASF GitHub Bot commented on CURATOR-452:
----------------------------------------

Github user Randgalt commented on the issue:

    https://github.com/apache/curator/pull/261
  
    Sorry for the delay - I'll try to get to this soon.


> ChildData.getData() can be null
> -------------------------------
>
>                 Key: CURATOR-452
>                 URL: https://issues.apache.org/jira/browse/CURATOR-452
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 2.11.1
>            Reporter: Egor Ryashin
>            Priority: Critical
>
> Curator client tries to make ObjectMapper to parse null (ChildData.getData() can be null).
> {code:java}
> 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){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message