{"action":"opened","issue":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1195","labels_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1195/labels{/name}","comments_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1195/comments","events_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1195/events","html_url":"https://github.com/Graylog2/graylog2-server/issues/1195","id":82766599,"number":1195,"title":"NPE in MongoProbe with MongoDB replica set ","user":{"login":"joschi","id":43951,"avatar_url":"https://avatars.githubusercontent.com/u/43951?v=3","gravatar_id":"","url":"https://api.github.com/users/joschi","html_url":"https://github.com/joschi","followers_url":"https://api.github.com/users/joschi/followers","following_url":"https://api.github.com/users/joschi/following{/other_user}","gists_url":"https://api.github.com/users/joschi/gists{/gist_id}","starred_url":"https://api.github.com/users/joschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joschi/subscriptions","organizations_url":"https://api.github.com/users/joschi/orgs","repos_url":"https://api.github.com/users/joschi/repos","events_url":"https://api.github.com/users/joschi/events{/privacy}","received_events_url":"https://api.github.com/users/joschi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Graylog2/graylog2-server/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/milestones/33","html_url":"https://github.com/Graylog2/graylog2-server/milestones/1.1.0","labels_url":"https://api.github.com/repos/Graylog2/graylog2-server/milestones/33/labels","id":934861,"number":33,"title":"1.1.0","description":"","creator":{"login":"kroepke","id":52014,"avatar_url":"https://avatars.githubusercontent.com/u/52014?v=3","gravatar_id":"","url":"https://api.github.com/users/kroepke","html_url":"https://github.com/kroepke","followers_url":"https://api.github.com/users/kroepke/followers","following_url":"https://api.github.com/users/kroepke/following{/other_user}","gists_url":"https://api.github.com/users/kroepke/gists{/gist_id}","starred_url":"https://api.github.com/users/kroepke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroepke/subscriptions","organizations_url":"https://api.github.com/users/kroepke/orgs","repos_url":"https://api.github.com/users/kroepke/repos","events_url":"https://api.github.com/users/kroepke/events{/privacy}","received_events_url":"https://api.github.com/users/kroepke/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":77,"state":"open","created_at":"2015-01-14T10:41:21Z","updated_at":"2015-05-30T09:50:41Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-05-30T09:50:41Z","updated_at":"2015-05-30T09:50:41Z","closed_at":null,"body":"This error occurs when running Graylog with a 3 node MongoDB replica set. (MongoDB 2.6):\r\n```\r\n2015-05-29T16:30:54.618Z ERROR [UsageStatsClusterPeriodical] Uncaught exception in periodical\r\njava.lang.NullPointerException: Null hostInfo\r\n\tat org.graylog2.system.stats.mongo.AutoValue_MongoStats.<init>(AutoValue_MongoStats.java:32)\r\n\tat org.graylog2.system.stats.mongo.MongoStats.create(MongoStats.java:49)\r\n\tat org.graylog2.system.stats.mongo.MongoProbe.mongoStats(MongoProbe.java:227)\r\n\tat org.graylog2.system.stats.ClusterStatsService.mongoStats(ClusterStatsService.java:92)\r\n\tat org.graylog.plugins.usagestatistics.collectors.MongoCollector.getMongoStats(MongoCollector.java:36)\r\n\tat org.graylog.plugins.usagestatistics.collectors.ClusterCollector.buildClusterStats(ClusterCollector.java:82)\r\n\tat org.graylog.plugins.usagestatistics.collectors.ClusterCollector.getClusterDataSet(ClusterCollector.java:74)\r\n\tat org.graylog.plugins.usagestatistics.UsageStatsClusterService$1.get(UsageStatsClusterService.java:52)\r\n\tat org.graylog.plugins.usagestatistics.UsageStatsClusterService$1.get(UsageStatsClusterService.java:49)\r\n\tat com.google.common.base.Suppliers$ExpiringMemoizingSupplier.get(Suppliers.java:192)\r\n\tat org.graylog.plugins.usagestatistics.UsageStatsClusterService.buildClusterDataSet(UsageStatsClusterService.java:58)\r\n\tat org.graylog.plugins.usagestatistics.UsageStatsClusterPeriodical.buildPayload(UsageStatsClusterPeriodical.java:87)\r\n\tat org.graylog.plugins.usagestatistics.UsageStatsPeriodical.doRun(UsageStatsPeriodical.java:80)\r\n\tat org.graylog2.plugin.periodical.Periodical.run(Periodical.java:83)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\r\n\tat java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```"}}