Skip navigation
All People > Nika_Hadzhikidi > Nika's Blog > 2017 > May > 19

Hello, everybody,



I wanted to share an interesting issue I had with a customer. Hopefully if somebody has the same problem this will help you out too.



Customer was on 14.3.0 and Jaspersoft 6.1, fresh install.

When they attempted to import the content after copying the keystore, they had the following error message:


10/8/16 11:57 AM (admin) Importing....

10/8/16 11:57 AM (admin) Content import failed.No export task with id e574bffa-f0ae-4e04-9df0-0499928fc898.

10/8/16 11:57 AM (admin) Failed to import content for tenant No export task with id e574bffa-f0ae-4e04-9df0-0499928fc898.






at com.niku.reporting.jasper.ClarityJasperAdmin.importContent(

at com.niku.reporting.jasper.ClarityJasperAdmin.jasperContent(

at com.niku.nsa.service.AdminManager.doJasperReports(

at com.niku.nsa.service.AdminManager.invokeAction(

at com.niku.nsa.service.AdminManager.execute(

at com.niku.nsa.service.Admin.main(

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)


at com.werken.forehead.Forehead.main(


In jasperserver.log we had the following message:


2016-10-21 09:37:44,078 ERROR ImportRunnable,Thread-54:62 - Import failed:

com.jaspersoft.jasperserver.export.service.ImportFailedException: Import failed. Reason: provided zip file is not valid JasperReports Server export file.

at com.jaspersoft.jasperserver.export.service.impl.ImportExportServiceImpl.startImport(

at com.jaspersoft.jasperserver.export.service.impl.ImportExportServiceImpl.doImport(


at Source)

What we did when troubleshooting:


Tried recreating the organization and keystore, replacing the by another copy of the file, same error.

Tried full Jaspersoft reinstall, same error


With some advanced debug we found that the issue is caused by the extracted zip file created by the command. Upon examining we saw that some of reports do not get extracted, and this is what fails it. So this was an OS issue, not PPM/content one.




On call with customer I noticed the length of the file that doesn't get unzipped is the biggest one in the folder, that, combined with their deep TEMP path in C:\Users folder. (They were using C:\Users\*********\AppData\Local\Temp\8)


Option 1:

Go to Environmental variables - System and set the TEMP/TMP variable to point to something short such as D:\TEMP

Then open a new Command Prompt and retry the import command (do not use the same cmd window)


If the JVM is still not picking it try the following:


Option 2:

Modify the $clarity\bin\admin.bat file on line 28 (for Linux it will be


to include, together with the other arguments, the following (leading to an existing -short- path):"D:\Temp"

Save and run admin content-jaspersoft csk, this should import all the content successfully.