Jump to content
We've recently updated our Privacy Statement, available here ×
  • Export of Ad Hoc View Based On Topic Failes With 'URI ... was not found in the repository'


    asimkin
    • Features: Ad Hoc, Repository Version: v6.4 Product: JasperReports® Server

    Issue Description

    We created Ad Hoc View from a topic.

    The View works without any issues but when we try to export it from the repository (right-click and select Export context menu), we get

    'Export failed. The server has encountered an unexpected error' message in JasperReports Server UI.

    TIBCO JasperReports® Server log file contains exception like

    ' Export failed:
    com.jaspersoft.jasperserver.export.service.ExportFailedException: URI /organizations/organization_1/adhoc/topics/OrdersTopic_files/OrdersTopic_files was not found in the repository'

    What is the reason of the error and how to fix it?


    Resolution

    As it turned out, the Topic in question used so-called 'Local Datasource' instead of a link to a datasource stored in the repository:

    topic_localdatasource.png.2a4512bd9d69921f23ab25a8024ee9d3.png

    Topic Local datasource details are stored inside the topic internal definition.

    As a result, when a user tries to export Ad Hoc View based on such topic, export process can't locate datasource details (in topicName_files folder)

    and failes.

    While the issue is not fixed, a workaround is to use a datasource stored in the repository.

    Solution tested with TIBCO JasperReports® Server v.6.4.0, 6.4.2


    Ref. Case 01563565

    topic_localdatasource.png.4cb7aa06500f662f6f2faf1e4627679c.png


    User Feedback

    Recommended Comments

    There are no comments to display.



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