Birt runtime 4.4.1 : EXCEPTION the logger can not be NULL or children or in namespace of org.eclipse [message #1730678] |
Wed, 27 April 2016 15:12 |
RWIL Mising name Messages: 30 Registered: February 2011 |
Member |
|
|
Hi,
Since I've upgraded to Birt 4.4.1, my code is no longer working, it now generates an exception about the logger:
Quote:
EXCEPTION the logger can not be NULL or children or in namespace of org.eclipse.birt
My code is basic
Quote:
config = new EngineConfig();
config.setLogConfig(".\\log", Level.WARNING);
Platform.startup(config);
final IReportEngineFactory FACTORY = (IReportEngineFactory) Platform.
createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY);
engine = FACTORY.createReportEngine(config);
engine.changeLogLevel(Level.WARNING);
// Open the report design
IReportRunnable REPORT =
engine.openReportDesign(Arguments.birtFolder + "\\myreport.rptdesign");
// Create task to run and render the report:
IRunAndRenderTask TASK = engine.createRunAndRenderTask(REPORT);
...
I did not found anything related to this exception on the birt forum, unfortunately.
Does someone has an idea on how to avoid this exception ?
Thanks & kind regards
Renaud
|
|
|
Powered by
FUDForum. Page generated in 0.04935 seconds