Invalid javascript expression: dataSetRow and/or row [message #1485375] |
Mon, 24 November 2014 02:26  |
Eclipse User |
|
|
|
I am using Eclipse's BIRT to render a report through Java using org.eclipse.birt.runtime version 4.4.0.
When attempting to render the report, BIRT is returning:
org.eclipse.birt.data.engine.core.DataException: Invalid Javascript expression: dataSetRow["name"].
(and similar errors for each dataSetRow and row) in .getErrors() of the IRunAndRenderTask.
The template works fine using the BIRT designer and rendering it through that application, but it breaks when trying to render using Java.
I've done extensive searching throughout the web, and many people have suggested the presence of conflicting js.jar present in the application. This is not the case in the application I'm working on. The only javascript/rhino instances are those being imported through BIRT.
I've also attempted the following solutions:
- Excluding the bundled javascript and importing latest Rhino/javascript from Mozilla
- Updating BIRT to 4.4.1 and creating a report template with the latest BIRT designer
- Degrading the report template to only show one value returned by the DB (in this case 'name' of a dealership)
None of the above methods have worked.
This project is using Maven, and is running in Tomcat 7 - using Java 6.
More details can be provided if requested.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03770 seconds