Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIRT run engine incompatibility with Twitter bootstrap #9

Open
idonaldson opened this issue Mar 11, 2014 · 4 comments
Open

BIRT run engine incompatibility with Twitter bootstrap #9

idonaldson opened this issue Mar 11, 2014 · 4 comments
Assignees

Comments

@idonaldson
Copy link

This probably isn't the place to ask, or look for guidance, but when you add both the grails-birt-report plugin and the kickstart-with-bootstrap plugin, the run-engine will fail to launch with the following error message.
Error |
2014-03-11 11:01:59,951 [http-bio-8080-exec-1] ERROR impl.ReportEngine - Error happened while running the report.
Message: org.mozilla.javascript.Parser.parse(Ljava/lang/String;Ljava/lang/String;I)Lorg/mozilla/javascript/ScriptOrFnNode;

I've done all the digging I can do, and the only possible source for the conflict seems to be with a 3rd party plugin both of these utilize called Rhino.

To reproduce the error, simply add the kickstart-with-bootstrap to the birt-report sample application and it will fail everytime.

Any thoughts?

@eyck
Copy link
Owner

eyck commented Mar 11, 2014

Hmm, BIRT uses the mozilla JavaScript parser so I guess there is a problem using the same library in several different versions.
I may have a look into it within the next 2 weeks but cannot promise as I do not have time to focus on the plugin development.
Best regards

@eyck eyck self-assigned this Mar 11, 2014
@idonaldson
Copy link
Author

A work around for this is to import the older version of Rhino (1.7R2) via maven and just have both jar files in the build path. Everything seems to be fine like this.

@sergsoft
Copy link

I have the same problem.
org.mozilla.javascript loaded with BIRT
and rhino with asset-pipeline
I got the same error on run a report with table with data from a data set.

Do you found a solution?

@StaticSpark
Copy link

Hi all,
We found a similar problem recently.

The Problem was that our reports did not like casting java to javascript string types with our new Mozilla engine. We had to rewrite the java functions in javascript to upgrade smoothly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants