{"action":"created","issue":{"url":"https://api.github.com/repos/Netflix/eureka/issues/748","repository_url":"https://api.github.com/repos/Netflix/eureka","labels_url":"https://api.github.com/repos/Netflix/eureka/issues/748/labels{/name}","comments_url":"https://api.github.com/repos/Netflix/eureka/issues/748/comments","events_url":"https://api.github.com/repos/Netflix/eureka/issues/748/events","html_url":"https://github.com/Netflix/eureka/issues/748","id":133976070,"number":748,"title":"Could not determine if the replica is available exception","user":{"login":"drax68","id":763189,"avatar_url":"https://avatars.githubusercontent.com/u/763189?v=3","gravatar_id":"","url":"https://api.github.com/users/drax68","html_url":"https://github.com/drax68","followers_url":"https://api.github.com/users/drax68/followers","following_url":"https://api.github.com/users/drax68/following{/other_user}","gists_url":"https://api.github.com/users/drax68/gists{/gist_id}","starred_url":"https://api.github.com/users/drax68/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drax68/subscriptions","organizations_url":"https://api.github.com/users/drax68/orgs","repos_url":"https://api.github.com/users/drax68/repos","events_url":"https://api.github.com/users/drax68/events{/privacy}","received_events_url":"https://api.github.com/users/drax68/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-16T12:59:54Z","updated_at":"2016-02-18T01:56:03Z","closed_at":null,"body":"Hi, I've noticed no active replicas on status page for eureka cluster consisting of 2 eureka servers. We use route53-based txt dns setup, both servers in different az.\r\nAll running replicas in *unavailable-replicas* list, though logs contains replication activity.\r\n- What effect does it have for eureka cluster?\r\n- Can it cause situations when cluster losts overriden registry data when new servers added?\r\nAny help in finding reasons of such behaviour appreciated.\r\nCurrently we use eureka 1.1.151\r\nExceptions when new server added to eureka cluster:\r\n```\r\nCould not determine if the replica is available \r\n! java.lang.NullPointerException: null\r\n! at com.netflix.eureka.resources.StatusResource.isReplicaAvailable(StatusResource.java:89)\r\n! at com.netflix.eureka.resources.StatusResource.getStatusInfo(StatusResource.java:69)\r\n! at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)\r\n! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n! at java.lang.reflect.Method.invoke(Method.java:497)\r\n! at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:912)\r\n! at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:107)\r\n! at freemarker.core.MethodCall._eval(MethodCall.java:98)\r\n! at freemarker.core.Expression.eval(Expression.java:111)\r\n! at freemarker.core.Assignment.accept(Assignment.java:106)\r\n! at freemarker.core.Environment.visit(Environment.java:265)\r\n! at freemarker.core.MixedContent.accept(MixedContent.java:93)\r\n! at freemarker.core.Environment.visit(Environment.java:265)\r\n! at freemarker.core.Environment.process(Environment.java:243)\r\n! at freemarker.template.Template.process(Template.java:277)\r\n! at com.yammer.dropwizard.views.freemarker.FreemarkerViewRenderer.render(FreemarkerViewRenderer.java:56)\r\n! at com.yammer.dropwizard.views.ViewMessageBodyWriter.writeTo(ViewMessageBodyWriter.java:74)\r\n! at com.yammer.dropwizard.views.ViewMessageBodyWriter.writeTo(ViewMessageBodyWriter.java:22)\r\n! at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)\r\n! at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1479)\r\n! at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)\r\n! at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)\r\n! at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)\r\n! at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)\r\n! at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)\r\n! at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)\r\n! at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)\r\n! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1448)\r\n! at com.netflix.eureka.StatusFilter.doFilter(StatusFilter.java:68)\r\n! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)\r\n! at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)\r\n! at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)\r\n! at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)\r\n! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)\r\n! at com.yammer.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:29)\r\n! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)\r\n! at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)\r\n! at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)\r\n! at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)\r\n! at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)\r\n! at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)\r\n! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)\r\n! at com.yammer.metrics.jetty.InstrumentedHandler.handle(InstrumentedHandler.java:200)\r\n! at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)\r\n! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)\r\n! at org.eclipse.jetty.server.Server.handle(Server.java:368)\r\n! at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)\r\n! at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)\r\n! at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942)\r\n! at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004)\r\n! at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640)\r\n! at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)\r\n! at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)\r\n! at org.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChannelEndPoint.run(BlockingChannelConnector.java:298)\r\n! at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)\r\n! at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)\r\n! at java.lang.Thread.run(Thread.java:745)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Netflix/eureka/issues/comments/185506286","html_url":"https://github.com/Netflix/eureka/issues/748#issuecomment-185506286","issue_url":"https://api.github.com/repos/Netflix/eureka/issues/748","id":185506286,"user":{"login":"qiangdavidliu","id":6243760,"avatar_url":"https://avatars.githubusercontent.com/u/6243760?v=3","gravatar_id":"","url":"https://api.github.com/users/qiangdavidliu","html_url":"https://github.com/qiangdavidliu","followers_url":"https://api.github.com/users/qiangdavidliu/followers","following_url":"https://api.github.com/users/qiangdavidliu/following{/other_user}","gists_url":"https://api.github.com/users/qiangdavidliu/gists{/gist_id}","starred_url":"https://api.github.com/users/qiangdavidliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiangdavidliu/subscriptions","organizations_url":"https://api.github.com/users/qiangdavidliu/orgs","repos_url":"https://api.github.com/users/qiangdavidliu/repos","events_url":"https://api.github.com/users/qiangdavidliu/events{/privacy}","received_events_url":"https://api.github.com/users/qiangdavidliu/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T01:56:03Z","updated_at":"2016-02-18T01:56:03Z","body":"Minor versions of servers should still be compatible. We are running with 1.3.8 servers as of this moment."}}