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 GitHub by patcable
, 11 months ago
Cannot cast java.lang.String to org.joda.time.DateTime
via GitHub by gabor-farkas
, 1 year ago
Cannot cast my.Class$$EnhancerLAZY$$c703f20 to my.Class
via Google Groups by Frank, 10 months ago
Cannot cast java.lang.String to org.joda.time.DateTime
via Stack Overflow by kosta
, 1 year ago
via Eclipse Bugzilla by error-reports-inbox, 2 weeks ago
Cannot cast org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl$1 to org.eclipse.emf.ecore.EObject
via Stack Overflow by lhahn
, 2 years ago
Cannot cast [[[Ljava.lang.String; to [[Ljava.lang.String;
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 org.graylog2.plugins.slack.output.SlackMessageOutput.buildMessage(SlackMessageOutput.java:97)
at org.graylog2.plugins.slack.output.SlackMessageOutput.write(SlackMessageOutput.java:67)
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.