java.lang.ClassCastException: Cannot cast java.lang.String to org.joda.time.DateTime

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 Frank, 10 months ago
Cannot cast java.lang.String to org.joda.time.DateTime
via GitHub by patcable
, 11 months ago
Cannot cast java.lang.String to org.joda.time.DateTime
via Stack Overflow by lhahn
, 2 years ago
Cannot cast [[[Ljava.lang.String; to [[Ljava.lang.String;
via Stack Overflow by Malclam
, 2 years ago
Cannot cast org.apache.maven.repository.internal.DefaultVersionResolver to org.sonatype.aether.impl.VersionResolver
via Stack Overflow by Alec French
, 2 years ago
Cannot cast java.lang.Class to com.frenchfry.enemies.EnemyBasic
via GitHub by fommil
, 1 year ago
Cannot cast com.typesafe.sbt.SbtPgp$ to sbt.Plugin
java.lang.ClassCastException: Cannot cast java.lang.String to org.joda.time.DateTime
at java.lang.Class.cast(Class.java:3369)
at org.graylog2.plugin.Message.getFieldAs(Message.java:380)
at com.graylog.splunk.output.senders.TCPSender.send(TCPSender.java:151)
at com.graylog.splunk.output.SplunkOutput.write(SplunkOutput.java:87)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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

26 times, 4 months ago
Once, 5 months ago
2 times, 6 months ago
7 times, 8 months ago
8 times, 9 months ago

Write tip

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