ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Error when exporting results of an Adh-hoc reports in JasperServer


Article ID: 222567


Updated On:


CA Service Management - Service Desk Manager CA Service Desk Manager


When trying to export the results of an Ad-hoc report to csv, pdf, xls, etc... the following error appears in jasperserver.log

ERROR ReportGeneratorController,http-nio-9080-exec-4:102 - report generator controller exception: 


Caused by: com.jaspersoft.jasperserver.api.metadata.common.service.JSResourceNotFoundException:
Arguments: "/<path>/temp",
 at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryServiceImpl.getFolder(
 at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryServiceImpl.getRepoResource(
 at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryServiceImpl$14.execute(
 at com.jaspersoft.jasperserver.api.metadata.common.service.impl.HibernateDaoImpl.executeWriteCallback(


temp folder is missing and it's required when exporting/saving a report


Release : 17.x

Component : SDM - Reporting/BOXI/JasperSoft


1. Log into JasperServer as superuser

2. View > Repository

3. Locate the path mentioned in the error message from jasperserver.log (you can do a right-click on a folder > Properties to see the path)

4. Create the missing temp folder (right-click > Add Folder) in the path shown in the error message.

5. Right-click on the new temp folder > Properties: Allow the Roles to create files in this new folder.


If the error shows: 

Caused by: com.jaspersoft.jasperserver.api.metadata.common.service.JSResourceNotFoundException:
Arguments: "/organizations/casm_insights/temp",

then create the temp folder under /organizations/casm_insights