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)
Problems executing BIRT Report with Java
jorti
hello,
i have troubles executing a BIRT Report in Java.
I recieve following error:
org.eclipse.birt.report.engine.api.EngineException
at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDocument(ReportEngineHelper.java:413)
at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDocument(ReportEngineHelper.java:360)
at org.eclipse.birt.report.engine.api.impl.ReportEngine.openReportDocument(ReportEngine.java:560)
...while executing following code:
String reportDocument = "C:/test/test.rptdesign";
IReportEngineFactory factory;
IReportEngine engine = null;
config.setEngineHome(engineHome);
config.setLogConfig(null, Level.ALL);
try{
Platform.startup( config );
factory = (IReportEngineFactory) Platform
.createFactoryObject( IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY );
engine = factory.createReportEngine( config );
//engine.changeLogLevel( Level.WARNING );
}catch( Exception ex){
ex.printStackTrace();
}
try {
//get root node
IReportDocument ird = engine.openReportDocument(reportDocument); } catch (EngineException e) {
e.printStackTrace();
}
Can anybody help me with this? I have no idea what goes wrong...
thx and br
martin
Find more posts tagged with
Comments
JasonW
Martin,
Can you post the entire stack trace?
Jason