Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Custom Chart Wizard previews data despite PREFERENCE_ENALBE_LIVE set to false
Custom Chart Wizard previews data despite PREFERENCE_ENALBE_LIVE set to false [message #365932] Thu, 13 November 2008 17:40 Go to next message
Karl Martens is currently offline Karl Martens
Messages: 2
Registered: July 2009
Junior Member
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
Re: Custom Chart Wizard previews data despite PREFERENCE_ENALBE_LIVE set to false [message #769574 is a reply to message #365932] Thu, 22 December 2011 11:01 Go to previous messageGo to next message
Sebbo is currently offline Sebbo
Messages: 1
Registered: December 2011
Junior Member
Hello Karl,
have you solve the issue with the BIRT Chart Wizard ?
How have you set the Datasets ?
Have you an example ?
Re: Custom Chart Wizard previews data despite PREFERENCE_ENALBE_LIVE set to false [message #1073850 is a reply to message #769574] Thu, 25 July 2013 16:07 Go to previous message
James Manes is currently offline James Manes
Messages: 1
Registered: July 2013
Junior Member
....

bump
Previous Topic:Barcodes? - barcode4j?
Next Topic:Confusion with OSGi distribution
Goto Forum:
  


Current Time: Wed Oct 22 14:07:58 GMT 2014

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

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