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 GitHub by lennartkoopmann
, 1 year ago
Cannot cast com.fasterxml.jackson.databind.node.TextNode to java.lang.String
via Stack Overflow by KurdTt-
, 1 year ago
Cannot cast com.google.gson.internal.LinkedTreeMap to com.entity.model.WeatherParameter
via GitHub by joaoe
, 1 year ago
Cannot cast java.lang.Boolean to [Ljava.lang.String;
via GitHub by wiedenhoeft
, 10 months ago
Cannot cast java.lang.Boolean to [Ljava.lang.String;
via Google Groups by Frank, 1 year ago
Cannot cast java.lang.String to org.joda.time.DateTime
via GitHub by patcable
, 1 year ago
Cannot cast java.lang.String to org.joda.time.DateTime
java.lang.ClassCastException: Cannot cast com.fasterxml.jackson.databind.node.TextNode to java.lang.String	at java.lang.Class.cast(Class.java:3369)	at org.graylog2.plugin.Message.getFieldAs(Message.java:371)	at org.graylog2.plugin.Message.getMessage(Message.java:287)	at org.graylog2.plugin.Message.toElasticSearchObject(Message.java:216)	at org.graylog2.indexer.messages.Messages.bulkIndex(Messages.java:116)	at org.graylog2.indexer.messages.Messages.bulkIndex(Messages.java:106)	at org.graylog2.outputs.ElasticSearchOutput.write(ElasticSearchOutput.java:98)	at org.graylog2.outputs.BlockingBatchedESOutput.flush(BlockingBatchedESOutput.java:128)	at org.graylog2.outputs.BlockingBatchedESOutput.forceFlushIfTimedout(BlockingBatchedESOutput.java:158)	at org.graylog2.periodical.BatchedElasticSearchOutputFlushThread.doRun(BatchedElasticSearchOutputFlushThread.java:88)	at org.graylog2.plugin.periodical.Periodical.run(Periodical.java:77)	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)