mohamed.daly Posted November 11, 2021 Share Posted November 11, 2021 JasperStudio is breaking when trying to preview a report. It attempts to evaluate an expression and throws a ClassCastException.Caused by: java.lang.ClassCastException: class java.lang.String cannot be cast to class java.util.Date (java.lang.String and java.util.Date are in module java.base of loader 'bootstrap') at Journal_1636110498190_941219.evaluate(Journal_1636110498190_941219:288) ~[?:?] at net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:182) ~[jasperreports-javaflow-4.0.0.jar:?] at net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:589) ~[jasperreports-javaflow-4.0.0.jar:?] at net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:557) ~[jasperreports-javaflow-4.0.0.jar:?] at net.sf.jasperreports.engine.fill.JRFillElement.evaluateExpression(JRFillElement.java:929) ~[jasperreports-javamy date expression is valid and I've attached the jrxml file..i realy don't see where is the problem in evaluating date expression Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now