IBM Support

IBM TRIRIGA custom BIRT Reports previews correctly in BIRT Eclipse but does not run on TRIRIGA

Technote (troubleshooting)


Problem(Abstract)

When running a custom BIRT reports or forms, the users are getting an error in the front-end.

Symptom

The report or form does not run and produces MID-xxxxxxxxxx or HTTP 500 Error.


Cause

BIRT Eclipse client Export to ZIP function saves the .rptdesign file in a folder structure inside the ZIP file.

Diagnosing the problem

In the logs with the BIRT flag on, you can observe:

2016-04-18 13:11:04,682 ERROR [com.tririga.platform.error.ErrorHandler](http-0.0.0.0-12001-14) Report handled exception: com.tririga.platform.error.PlatformRuntimeException: java.lang.RuntimeException: com.tririga.platform.birt.runtime.BirtRuntimeException: Unable to process BIRT viewer request.[MID-3396119991]
(....)
Caused by: com.tririga.platform.birt.runtime.resource.BirtResourceException: No .rptdesign file was found the report design zip. The "main" .rptdesign file must be in the root of the zip file.

Resolving the problem

Once you have your first report built and packaged as a zip file (as documented in the Reporting User Guide), you will need to modify the archive file before uploading it to Document Manager.

In order for TRIRIGA to read the files they need to be in the root of the zip file, as the exported zip file will not work. The easiest way to do this is copy the files out of zip file, delete any directories in the zip file and copy them back to the root of the zip file.

Related information

BIRT 4.3.1 Download

Document information

More support for: IBM TRIRIGA Application Platform
IBM TRIRIGA Application Platform

Software version: 3.3, 3.4, 3.5

Operating system(s): Platform Independent

Reference #: 1622328

Modified date: 19 May 2016