java.lang.NullPointerException: no value for: mappedWithJournal

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Shrawan Bhagwat, 1 year ago
no value for: mappedWithJournal
java.lang.NullPointerException: no value for: mappedWithJournal
at org.bson.BasicBSONObject.getInt(BasicBSONObject.java:130)
at org.graylog2.system.stats.mongo.MongoProbe.mongoStats(MongoProbe.java:213)
at org.graylog2.system.stats.ClusterStatsService.mongoStats(ClusterStatsService.java:113)
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 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 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.