Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
RCP and Runtime jar files differ - Excel fails
rpolunsky
I have BRT 2.5.0. I deisgned a report that runs in the web viewer and exports successfully to Excel from the designer. However, when I try to export that same report from my application it generates all sorts of errors with this as the only indicative one:
Caused by: org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report
at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:232)
at org.eclipse.birt.report.service.ReportEngineService.renderReport(ReportEngineService.java:1461)
... 49 more
Caused by: java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.eclipse.birt.report.engine.emitter.excel.DataCache.addData(DataCache.java:71)
I then discovered that the emitter JAR files for the RCP designer have the same version number but different file sizes from those in the runtime package.
Is that relevant or should I be looking elsewhere?
Richard
Find more posts tagged with
Comments
mwilliams
Hi Richard,
So, you're able to run the report from the RCP designer, but not when you use the runtime?
rpolunsky
That's correct. I subsequently worked out that it's not the JAR files. I'm peripheral to the application, which is sizable, so I'm looking to see whether I can put together something in the way of a small sample app to demonstrate it.
The issue seems to center around images in the report. I have a standard top grid with images in the right cells; if I set visibility to false for XLS on the row elements, I can export from the application. If I set visibility to false just on the image elements, I still get the export failure.
With the workaround I can get our immediate needs met, but I still think there's something I'm missing.