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
- supercedes
-
CURATOR-453 NPE in ServiceCacheImpl.start() because child.getData() returns null
- Closed
- links to