Jump to content
We've recently updated our Privacy Statement, available here ×

rest_v2 scheduled job won't run if it has a Date parameter


andy.hill

Recommended Posts

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.Date

I 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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...