java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Deflector throwing exception during rotation
    via by Mayur Mangalampalli,
    • java.lang.NullPointerException at org.graylog2.indexer.indices.Indices.numberOfMessages(Indices.java:179)[graylog.jar:?] at org.graylog2.indexer.rotation.strategies.MessageCountRotationStrategy.shouldRotate(MessageCountRotationStrategy.java:67)[graylog.jar:?] at org.graylog2.indexer.rotation.strategies.MessageCountRotationStrategy.shouldRotate(MessageCountRotationStrategy.java:33)[graylog.jar:?] at org.graylog2.indexer.rotation.strategies.AbstractRotationStrategy.rotate(AbstractRotationStrategy.java:55)[graylog.jar:?] at org.graylog2.periodical.IndexRotationThread.checkForRotation(IndexRotationThread.java:117)[graylog.jar:?] at org.graylog2.periodical.IndexRotationThread.doRun(IndexRotationThread.java:77)[graylog.jar:?] 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_51] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[?:1.8.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[?:1.8.0_51] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[?:1.8.0_51] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_51] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_51]
    No Bugmate found.