andy.hill Posted January 15, 2013 Share Posted January 15, 2013 When I schedule a job via the rest_v2 interface, my reports that have a date as a parameter won't execute (they work fine when scheduled interactively). The failure that is logged is:The report was not completed. An error occurred while executing it. java.lang.ClassCastException: org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl cannot be cast to java.util.DateI can understand why the date is coming in as a XMLGregorianCalendarImpl -- that's pretty standard for an XML date or date/time, but why doesn't Jasper Server convert that internally to the required java.util.Date?BTW, this is on Jasper Server 5.0.0 Link to comment Share on other sites More sharing options...
mrcaffeine Posted January 15, 2013 Share Posted January 15, 2013 this sounds to me like a bug. Please add it to the tracker including steps how to reproduce and post the tracker number here. Link to comment Share on other sites More sharing options...
andy.hill Posted January 17, 2013 Author Share Posted January 17, 2013 OK, I created a simple example report to reproduce the issue and submitted it to tracker: http://community.jaspersoft.com/jasperreports-server/issues/2677 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