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 Mayur Mangalampalli, 1 year ago
This exception has no message.
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]