|
Re: Extension loading error [message #61831 is a reply to message #61482] |
Tue, 26 July 2005 14:10 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Nina Li![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=nli%40actuate.com) Messages: 44 Registered: July 2009 |
Member |
|
|
Greeting,
In RunReport.java, the Engine home is located at the the BIRT engine runtime
(config.setEngineHome(
".../org.eclipse.birt.report.viewer_1.0.0/birt/WEB-INF" );). But in
WEB-INF\plugins folder, there is no org.eclipse.birt.report.model plugin, so
the ExtensionLoader cannot load encryptionHelper extension, which belongs to
model plugin. Neverthless, the exception does not influence the output
result.
If you set the the EngineHome same with BIRT_HOME, the exception won't
appear any more.
If you cannot see any charts in preview, please add the following statements
to RunReport.java:
HTMLRenderContext renderContext = new HTMLRenderContext();
renderContext.setImageDirectory("ImageFolder");
task.setContext(renderContext);
Cheers.
Regards,
Nina
"JTan" <jamestanms@hotmail.com> wrote in message
news:dc1rn3$9lv$1@news.eclipse.org...
> Hi guys,
>
> I managed to run the engine in RunReport.java but everytime I run I have
> this exception logged in meta.log ? May I know what do they mean ? I
> can't
> seemed to see any charts in html or pdf, but running from Eclipse is fine.
> :(
>
> Thanks
>
> 2005-07-24 11:55:19 Message [Extension loading error]
> Exception [org.eclipse.birt.report.model.metadata.ExtensionException:
> Message:The extension point
> [org.eclipse.birt.report.model.encryptionHelper]
> is not found. Error code:EXTENSION_POINT_NOT_FOUND
> at
> org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoa d(ExtensionLoade
> r.java:103)
> at
> org.eclipse.birt.report.model.metadata.ExtensionLoader.load( ExtensionLoader.
> java:63)
> at
> org.eclipse.birt.report.model.metadata.ExtensionManager.init ialize(Extension
> Manager.java:40)
> at
> org.eclipse.birt.report.model.api.DesignEngine.initialize(De signEngine.java:
> 107)
> at
> org.eclipse.birt.report.model.api.DesignEngine.newSession(De signEngine.java:
> 148)
> at
> org.eclipse.birt.report.engine.parser.ReportParser.parse(Rep ortParser.java:7
> 9)
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(
> ReportEngineHelper.java:87)
> at
> org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngin
> e.java:216)
> at RunReport.run(RunReport.java:187)
> at RunReport.start(RunReport.java:137)
> at RunReport.main(RunReport.java:50)
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03553 seconds