curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandor Kracser (JIRA)" <>
Subject [jira] [Created] (CURATOR-63) ServiceCacheImpl doesn't check if service name is null
Date Tue, 08 Oct 2013 18:06:43 GMT
Nandor Kracser created CURATOR-63:

             Summary: ServiceCacheImpl doesn't check if service name is null
                 Key: CURATOR-63
             Project: Apache Curator
          Issue Type: Bug
    Affects Versions: 2.2.0-incubating
            Reporter: Nandor Kracser
            Assignee: Jordan Zimmerman
            Priority: Trivial

If not giving a service name with the ServiceCache throws a weird
Exception later on, because it wants to fetch data from the service group node instead of
the service instance node:

Exception in thread "main" No content to map to Object due to end of
	at org.apache.curator.x.discovery.details.JsonInstanceSerializer.deserialize(
	at org.apache.curator.x.discovery.details.ServiceCacheImpl.addInstance(
	at org.apache.curator.x.discovery.details.ServiceCacheImpl.start(

This message was sent by Atlassian JIRA

View raw message