{"action":"created","issue":{"url":"https://api.github.com/repos/Netflix/EVCache/issues/37","repository_url":"https://api.github.com/repos/Netflix/EVCache","labels_url":"https://api.github.com/repos/Netflix/EVCache/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/Netflix/EVCache/issues/37/comments","events_url":"https://api.github.com/repos/Netflix/EVCache/issues/37/events","html_url":"https://github.com/Netflix/EVCache/issues/37","id":209438618,"number":37,"title":"NPE in EVCacheKetamaNodeLocatorConfiguration when using simple node list provider","user":{"login":"trigan-d","id":650869,"avatar_url":"https://avatars.githubusercontent.com/u/650869?v=3","gravatar_id":"","url":"https://api.github.com/users/trigan-d","html_url":"https://github.com/trigan-d","followers_url":"https://api.github.com/users/trigan-d/followers","following_url":"https://api.github.com/users/trigan-d/following{/other_user}","gists_url":"https://api.github.com/users/trigan-d/gists{/gist_id}","starred_url":"https://api.github.com/users/trigan-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trigan-d/subscriptions","organizations_url":"https://api.github.com/users/trigan-d/orgs","repos_url":"https://api.github.com/users/trigan-d/repos","events_url":"https://api.github.com/users/trigan-d/events{/privacy}","received_events_url":"https://api.github.com/users/trigan-d/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-22T12:22:06Z","updated_at":"2017-02-23T01:14:52Z","closed_at":"2017-02-22T21:43:15Z","body":"Hi. We are facing NPE at https://github.com/Netflix/EVCache/blob/master/evcache-client/src/main/java/com/netflix/evcache/pool/EVCacheKetamaNodeLocatorConfiguration.java#L59\r\nWe have \"use.simple.node.list.provider=true\" and don't register our cache nodes in eureka. So DiscoveryClient.getApplication(appId) obviously returns null. \r\nIt looks like a bug. EVCacheKetamaNodeLocatorConfiguration seems to be unaware of  SimpleNodeListProvider. Am I right?\r\nCould you think of any possible workaround until it's fixed?"},"comment":{"url":"https://api.github.com/repos/Netflix/EVCache/issues/comments/281858774","html_url":"https://github.com/Netflix/EVCache/issues/37#issuecomment-281858774","issue_url":"https://api.github.com/repos/Netflix/EVCache/issues/37","id":281858774,"user":{"login":"trigan-d","id":650869,"avatar_url":"https://avatars.githubusercontent.com/u/650869?v=3","gravatar_id":"","url":"https://api.github.com/users/trigan-d","html_url":"https://github.com/trigan-d","followers_url":"https://api.github.com/users/trigan-d/followers","following_url":"https://api.github.com/users/trigan-d/following{/other_user}","gists_url":"https://api.github.com/users/trigan-d/gists{/gist_id}","starred_url":"https://api.github.com/users/trigan-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trigan-d/subscriptions","organizations_url":"https://api.github.com/users/trigan-d/orgs","repos_url":"https://api.github.com/users/trigan-d/repos","events_url":"https://api.github.com/users/trigan-d/events{/privacy}","received_events_url":"https://api.github.com/users/trigan-d/received_events","type":"User","site_admin":false},"created_at":"2017-02-23T01:14:52Z","updated_at":"2017-02-23T01:14:52Z","body":"> Are you setting evcache.use.simple.node.list.provider=true?\r\nYep, I told so. Well, ectually it's not \"evcache.use.simple...\", but \"<CACHE_APP_NAME>.use.simple...\"\r\nThanks for the quick fix!\r\n"}}
{"actor":{"display_login":"trigan-d"}}