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 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
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 accountSign in
Already have an account? Sign in here.
Sign In Now