Custom Chart Wizard previews data despite PREFERENCE_ENALBE_LIVE set to false [message #365932] |
Thu, 13 November 2008 12:40  |
Eclipse User |
|
|
|
Hey,
We're using the built in Custom Chart Wizard and have disabled live data
preview with the following code:
ChartReportItemUIActivator.getDefault().getPluginPreferences ().setValue(
ChartReportItemUIActivator.PREFERENCE_ENALBE_LIVE, false);
However, when we navigate to the second page of the wizard; the dialog
is attempting to load the preview data. The data load is failing due to
some class loading issues, causing error messages to be written to the
console as well as in the dialog. Here is the stack trace:
WARNING: Class
com._3esi.manage.report.core.handler.DefaultReportEventHandl er not found.
org.eclipse.birt.report.engine.api.EngineException: Class
com._3esi.manage.report.core.handler.DefaultReportEventHandl er not found.
at
org.eclipse.birt.report.engine.script.internal.ScriptExecuto r.getInstance(ScriptExecutor.java:133)
at
org.eclipse.birt.report.engine.script.internal.ScriptExecuto r.getInstance(ScriptExecutor.java:104)
at
org.eclipse.birt.report.engine.script.internal.ReportScriptE xecutor.handleInitialize(ReportScriptExecutor.java:43)
at
org.eclipse.birt.report.engine.api.impl.EngineTask.loadDesig n(EngineTask.java:1309)
at
org.eclipse.birt.report.designer.data.ui.util.DummyEngineTas k.run(DummyEngineTask.java:39)
at
org.eclipse.birt.chart.reportitem.ui.ReportDataServiceProvid er.getPreviewRowData(ReportDataServiceProvider.java:340)
at
org.eclipse.birt.chart.reportitem.ui.ReportDataServiceProvid er.getPreviewData(ReportDataServiceProvider.java:244)
at
org.eclipse.birt.chart.reportitem.ui.StandardChartDataSheet$ 4.run(StandardChartDataSheet.java:1040)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException:
com._3esi.manage.report.core.handler.DefaultReportEventHandl er
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:481)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at
org.eclipse.birt.report.engine.executor.ApplicationClassLoad er.loadClass(ApplicationClassLoader.java:77)
at
org.eclipse.birt.report.engine.script.internal.ScriptExecuto r.getInstance(ScriptExecutor.java:128)
... 8 more
Since we do not require the data preview; we think that disabling the
live preview should have subverted the error messages. Is there another
and/or more effective way to disable the live preview?
regards,
Karl Martens
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02650 seconds