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 Apache's JIRA Issue Tracker by Aaron Zeckoski, 1 year ago
Cannot cast object '1975/10/29' with class 'java.lang.String' to class 'java.lang.Number'
via GitHub by lbruand
, 2 years ago
Cannot cast object '[null, null]' with class 'java.util.ArrayList' to class 'java.lang.Number'
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannotcast object '1975/10/29' with class 'java.lang.String' to class'java.lang.Number' at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToNumber(DefaultTypeTransformation.java:132) at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToType(DefaultTypeTransformation.java:261) at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:2392) at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:3307) at groovy.lang.MetaClassImpl.setProperties(MetaClassImpl.java:1506) at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1483) at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1404) at org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:775) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN(ScriptBytecodeAdapter.java:220) at PersonTest.testPersonStringDate(PersonTests.groovy:32)