Skip to main content



      Home
Home » Archived » BIRT » Errro starting Birt
Errro starting Birt [message #176215] Mon, 10 July 2006 10:11 Go to next message
Eclipse UserFriend
Hi everybody,

I have this error when i test my class with JUnit :
"org.eclipse.birt.core.exception.BirtException: $NO-RB$ Can't startup the
OSGI framework"
The error occurs on the line --> ReportEngine engine = new
ReportEngine(config);
the code of my class is :

EngineConfig config = new EngineConfig();
config.setEngineHome("C:/Other/Download/birt-runtime-2_0_1/birtruntime/Report
Engine");
ReportEngine engine = new ReportEngine(config);
IReportRunnable design =
engine.openReportDesign("C:/workspace_med/med_client/Diagnoses.rptdesign ");
IRunAndRenderTask task = engine.createRunAndRenderTask(design);

HTMLRenderOption options = new HTMLRenderOption();
options.setOutputFileName("C:/Diagnoses.html");
options.setOutputFormat("HTML");
task.setRenderOption(options);

// run the report and destroy the engine
task.run();

Could you help me ?
thanks a lot
Stéphane
Re: Errro starting Birt [message #176358 is a reply to message #176215] Mon, 10 July 2006 23:13 Go to previous message
Eclipse UserFriend
The error message you are getting is from BIRT 2.1, but your
runtime appears to be set to 2.0.1. Check to verify that setEngineHome is
correct.

Jason

""St
Previous Topic:Birt with Object Database
Next Topic:Problem to view the report
Goto Forum:
  


Current Time: Sun May 11 22:23:53 EDT 2025

Powered by FUDForum. Page generated in 0.24872 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top