The following error occurs when a user tries to schedule a Dashboard in Advance Reporting.
ERROR SecureExceptionHandlerImpl,JasperServerScheduler_Worker-2:125 [] - There was an error on the server. Try again or contact site administrators.. Byte data not found at: repo:/temp/8c552b76-ffca-4125-a91d-5283efb8b20d.
com.jaspersoft.jasperserver.api.JSException: Error filling report
at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$FillResultListener.reportFillError(EngineServiceImpl.java:1362)
Steps To Reproduce:
Expected Results: Dashboard to schedule successfully
Actual Results: Dashboard scheduling errors out with below stack trace
ERROR SecureExceptionHandlerImpl,JasperServerScheduler_Worker-2:125 [] - There was an error on the server. Try again or contact site administrators.. Byte data not found at: repo:/temp/8c552b76-ffca-4125-a91d-5283efb8b20d.
com.jaspersoft.jasperserver.api.JSException: Error filling report
at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$FillResultListener.reportFillError(EngineServiceImpl.java:1362)
Clarity 16.1.x, 16.2.x
DE80944
update JIObjectPermission set permissionMask = 32 where recipientobjectclass = 'com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoRole'and recipientobjectid = (select id from jirole where rolename = 'ROLE_USER') and uri = 'repo:/public/Dashboards/Templates'
update JIObjectPermission set permissionMask = 32 where recipientobjectclass = 'com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoRole' and recipientobjectid =(select id from jirole where rolename = 'ROLE_USER') and uri = 'repo:/public/Dashboards';
update JIObjectPermission set permissionMask = 32 where recipientobjectclass = 'com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoRole' and recipientobjectid =(select id from jirole where rolename = 'ROLE_USER') and uri = 'repo:/public/Dashboards/Templates';
update JIObjectPermission set permissionMask = 32 where recipientobjectclass = 'com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoRole' and recipientobjectid =(select id from jirole where rolename = 'ROLE_USER') and uri = 'repo:/public/Dashboards';
Note: Post upgrade to Jaspersoft 9.x running please execute the steps mentioned under Jaspersoft 9.x