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

Exception while running SimpleExport.java #13

Open
vgvish opened this issue Apr 13, 2015 · 1 comment
Open

Exception while running SimpleExport.java #13

vgvish opened this issue Apr 13, 2015 · 1 comment

Comments

@vgvish
Copy link

vgvish commented Apr 13, 2015

We are looking to export highcharts based charts on the server side. I have deployed the dependent jars on eclipse and I tried running the sample SimpleExport.java, I get the below exception. We are using highcharts 2.2.3. Let me know what is it I am missing?

org.apache.batik.bridge.BridgeException: null:-1
The attribute "y" of the element is invalid
at org.apache.batik.bridge.SVGRectElementBridge.buildShape(SVGRectElementBridge.java:119)
at org.apache.batik.bridge.SVGShapeElementBridge.createGraphicsNode(SVGShapeElementBridge.java:60)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:213)
at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:219)
at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:82)
at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:208)
at org.apache.batik.transcoder.image.ImageTranscoder.transcode(ImageTranscoder.java:92)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:142)
at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:156)
at org.one2team.highcharts.server.export.SVGStreamRenderer.render(SVGStreamRenderer.java:30)
at org.one2team.highcharts.server.export.HighchartsExporter.render(HighchartsExporter.java:44)
at org.one2team.highcharts.server.export.HighchartsExporter.export(HighchartsExporter.java:26)
at examples.SimpleExport.main(SimpleExport.java:34)

@reiern70
Copy link

see

#15

You can now use maven to install project and required libraries. See comment on PR. You ca to use

http://mvnrepository.com/artifact/rhino/js/1.7R2.

It would be nice also to upgrade this to newer versions of batik, rihno, and higcharts

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

2 participants