java.lang.ClassCastException

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.

  • java.lang.ClassCastException: Cannot cast com.fasterxml.jackson.databind.node.TextNode to java.lang.String at java.lang.Class.cast(Class.java:3369)[?:1.8.0_101] at org.graylog2.plugin.Message.getFieldAs(Message.java:371)[graylog.jar:?] at org.graylog2.plugin.Message.getMessage(Message.java:287)[graylog.jar:?] at org.graylog2.plugin.Message.toElasticSearchObject(Message.java:216)[graylog.jar:?] at org.graylog2.indexer.messages.Messages.bulkIndex(Messages.java:116)[graylog.jar:?] at org.graylog2.indexer.messages.Messages.bulkIndex(Messages.java:106)[graylog.jar:?] at org.graylog2.outputs.ElasticSearchOutput.write(ElasticSearchOutput.java:98)[graylog.jar:?] at org.graylog2.outputs.BlockingBatchedESOutput.flush(BlockingBatchedESOutput.java:128)[graylog.jar:?] at org.graylog2.outputs.BlockingBatchedESOutput.forceFlushIfTimedout(BlockingBatchedESOutput.java:158)[graylog.jar:?] at org.graylog2.periodical.BatchedElasticSearchOutputFlushThread.doRun(BatchedElasticSearchOutputFlushThread.java:88)[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_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]

Users with the same issue

musketyr
2 times, last one,
tvrmsmith
7 times, last one,
filpgame
8 times, last one,
kid
11 times, last one,
Unknown visitor1 times, last one,
22 more bugmates