View Only
Expand all | Collapse all

Unable to install Jaspersoft content - Import fails with error No export task with id

  • 1.  Unable to install Jaspersoft content - Import fails with error No export task with id

    Broadcom Employee
    Posted Apr 17, 2020 01:41 PM
    Edited by Nika Hadzhikidi Apr 17, 2020 01:49 PM
    Reposting a blog post that got lost in a migration, hope this helps out.

    On a new Jaspersoft install, after creating the keystore and trying to import the content, getting 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 have this 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)

    We 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\TESTTEST\AppData\Local\Temp\8)

    We tried setting the environment variable TEMP but the JVM was not picking it up when running admin content-jaspersoft csk

    1. Modify the $clarity\bin\admin.bat file on line 28:
    to include"D:\Temp"

    (instead of D:\Temp you can use any folder just make sure it's not a long path, and directly in the disk drive)

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

    For all the issues we've had so far it looks to be an environmental issue with the Windows configuration (the Temp path / Users profile permissions). The workaround to set TEMP as per above should work to resolve the issue.

    Nika Hadzhikidi
    Sr Principal Support Engineer

  • 2.  RE: Unable to install Jaspersoft content - Import fails with error No export task with id

    Posted Apr 17, 2020 02:53 PM
    Thank you for sharing this (again:) with the community Nika!

    Chris Hackett
    Community Manager, Broadcom Enterprise Software Division
    Broadcom Inc.