java.lang.NullPointerException

no value for: mappedWithJournal

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Unknown by Shrawan Bhagwat,
  • Stack trace

    • java.lang.NullPointerException: no value for: mappedWithJournal at org.bson.BasicBSONObject.getInt(BasicBSONObject.java:130)[graylog.jar:?] at org.graylog2.system.stats.mongo.MongoProbe.mongoStats(MongoProbe.java:213)[graylog.jar:?] at org.graylog2.system.stats.ClusterStatsService.mongoStats(ClusterStatsService.java:113)[graylog.jar:?] at org.graylog2.system.stats.ClusterStatsService.clusterStats(ClusterStatsService.java:89)[graylog.jar:?] at org.graylog.plugins.usagestatistics.collectors.ClusterCollector.buildClusterStats(ClusterCollector.java:77)[?:?] at org.graylog.plugins.usagestatistics.collectors.ClusterCollector.getClusterDataSet(ClusterCollector.java:72)[?:?] at org.graylog.plugins.usagestatistics.UsageStatsClusterService$1.get(UsageStatsClusterService.java:52)[?:?] at org.graylog.plugins.usagestatistics.UsageStatsClusterService$1.get(UsageStatsClusterService.java:49)[?:?] at com.google.common.base.Suppliers$ExpiringMemoizingSupplier.get(Suppliers.java:199)[graylog.jar:?] at org.graylog.plugins.usagestatistics.UsageStatsClusterService.buildClusterDataSet(UsageStatsClusterService.java:58)[?:?] at org.graylog.plugins.usagestatistics.UsageStatsClusterPeriodical.buildPayload(UsageStatsClusterPeriodical.java:87)[?:?] at org.graylog.plugins.usagestatistics.UsageStatsPeriodical.doRun(UsageStatsPeriodical.java:93)[?:?] at org.graylog2.plugin.periodical.Periodical.run(Periodical.java:77)[graylog.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_101] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[?:1.8.0_101] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[?:1.8.0_101] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[?:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_101] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_101]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.