|
|
|
|
Re: Birt Chart Script Error [message #775295 is a reply to message #755894] |
Thu, 05 January 2012 18:32 |
Shane Dodge Messages: 6 Registered: January 2012 |
Junior Member |
|
|
I have a similar error.
After creating a chart I get the error below when I attempt to 'Edit' the chart.
The Select Chart Type and Format Chart tabs appear to work normally. The error occurs when I get to the 'Select Data' tab.
I also added the recommended jar file.
java.lang.NullPointerException at:
java.lang.String.contains(Unknown Source)
org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent$SharedBindingHelper.translateFromBindingName(BaseDataDefinitionComponent.java:1177)
org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent.updateText(BaseDataDefinitionComponent.java:1031)
org.eclipse.birt.chart.ui.swt.DataDefinitionTextManager.refreshAll(DataDefinitionTextManager.java:137)
org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.handleEvent(TaskSelectData.java:439)
org.eclipse.birt.chart.ui.swt.DefaultChartDataSheet.notifyListeners(DefaultChartDataSheet.java:72)
org.eclipse.birt.chart.reportitem.ui.StandardChartDataSheet.fireEvent(StandardChartDataSheet.java:306)
org.eclipse.birt.chart.reportitem.ui.StandardChartDataSheet.updatePredefinedQueries(StandardChartDataSheet.java:2975)
org.eclipse.birt.chart.reportitem.ui.StandardChartDataSheet.createDataSelector(StandardChartDataSheet.java:1100)
org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.createDataArea(TaskSelectData.java:277)
org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.placeComponents(TaskSelectData.java:243)
org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.createControl(TaskSelectData.java:153)
org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBaseDialog.switchTask(WizardBaseDialog.java:317)
org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBase.switchTo(WizardBase.java:234)
org.eclipse.birt.chart.ui.swt.wizard.ChartWizard.switchTo(ChartWizard.java:289)
org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBaseDialog.widgetSelected(WizardBaseDialog.java:509)
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2743)
org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1429)
org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
org.eclipse.jface.window.Window.open(Window.java:801)
org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBase.open(WizardBase.java:92)
org.eclipse.birt.chart.ui.swt.wizard.ChartWizard.open(ChartWizard.java:243)
org.eclipse.birt.chart.reportitem.ui.ChartReportItemBuilderImpl.open(ChartReportItemBuilderImpl.java:288)
org.eclipse.birt.report.designer.internal.ui.extension.ExtendedEditPart.performDirectEdit(ExtendedEditPart.java:185)
org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.ReportElementEditPart.performRequest(ReportElementEditPart.java:150)
org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:194)
org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:137)
org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:1069)
org.eclipse.birt.report.designer.internal.ui.editors.schematic.tools.ReportElementDragTracker.mouseDoubleClick(ReportElementDragTracker.java:125)
org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:525)
org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:231)
org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseDoubleClicked(DomainEventDispatcher.java:291)
org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDoubleClick(LightweightSystem.java:518)
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:189)
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
org.eclipse.equinox.launcher.Main.run(Main.java:1408)
Caused By:null
java.lang.String.contains(Unknown Source)
org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent$SharedBindingHelper.translateFromBindingName(BaseDataDefinitionComponent.java:1177)
org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent.updateText(BaseDataDefinitionComponent.java:1031)
org.eclipse.birt.chart.ui.swt.DataDefinitionTextManager.refreshAll(DataDefinitionTextManager.java:137)
org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.handleEvent(TaskSelectData.java:439)
org.eclipse.birt.chart.ui.swt.DefaultChartDataSheet.notifyListeners(DefaultChartDataSheet.java:72)
org.eclipse.birt.chart.reportitem.ui.StandardChartDataSheet.fireEvent(StandardChartDataSheet.java:306)
org.eclipse.birt.chart.reportitem.ui.StandardChartDataSheet.updatePredefinedQueries(StandardChartDataSheet.java:2975)
org.eclipse.birt.chart.reportitem.ui.StandardChartDataSheet.createDataSelector(StandardChartDataSheet.java:1100)
org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.createDataArea(TaskSelectData.java:277)
org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.placeComponents(TaskSelectData.java:243)
org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.createControl(TaskSelectData.java:153)
org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBaseDialog.switchTask(WizardBaseDialog.java:317)
org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBase.switchTo(WizardBase.java:234)
org.eclipse.birt.chart.ui.swt.wizard.ChartWizard.switchTo(ChartWizard.java:289)
org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBaseDialog.widgetSelected(WizardBaseDialog.java:509)
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2743)
org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1429)
org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
org.eclipse.jface.window.Window.open(Window.java:801)
org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBase.open(WizardBase.java:92)
org.eclipse.birt.chart.ui.swt.wizard.ChartWizard.open(ChartWizard.java:243)
org.eclipse.birt.chart.reportitem.ui.ChartReportItemBuilderImpl.open(ChartReportItemBuilderImpl.java:288)
org.eclipse.birt.report.designer.internal.ui.extension.ExtendedEditPart.performDirectEdit(ExtendedEditPart.java:185)
org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.ReportElementEditPart.performRequest(ReportElementEditPart.java:150)
org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:194)
org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:137)
org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:1069)
org.eclipse.birt.report.designer.internal.ui.editors.schematic.tools.ReportElementDragTracker.mouseDoubleClick(ReportElementDragTracker.java:125)
org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:525)
org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:231)
org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseDoubleClicked(DomainEventDispatcher.java:291)
org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDoubleClick(LightweightSystem.java:518)
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:189)
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
org.eclipse.equinox.launcher.Main.run(Main.java:1408)
[Updated on: Thu, 05 January 2012 18:53] Report message to a moderator
|
|
|
Re: Birt Chart Script Error [message #775323 is a reply to message #775295] |
Thu, 05 January 2012 19:07 |
|
Can you post the report?
Jason
On 1/5/2012 1:32 PM, Shane Dodge wrote:
> I have a similar error.
> After creating a chart I get the error below when I attempt to 'Edit'
> the chart.
> The Select Chart Type and Format Chart tabs appear to work normally. The
> error occurs when I get to the 'Select Data' tab.
>
> java.lang.NullPointerException at:
> java.lang.String.contains(Unknown Source)
> org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent$SharedBindingHelper.translateFromBindingName(BaseDataDefinitionComponent.java:1177)
>
> org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent.updateText(BaseDataDefinitionComponent.java:1031)
>
> org.eclipse.birt.chart.ui.swt.DataDefinitionTextManager.refreshAll(DataDefinitionTextManager.java:137)
>
> org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.handleEvent(TaskSelectData.java:439)
>
> org.eclipse.birt.chart.ui.swt.DefaultChartDataSheet.notifyListeners(DefaultChartDataSheet.java:72)
>
> org.eclipse.birt.chart.reportitem.ui.StandardChartDataSheet.fireEvent(StandardChartDataSheet.java:306)
>
> org.eclipse.birt.chart.reportitem.ui.StandardChartDataSheet.updatePredefinedQueries(StandardChartDataSheet.java:2975)
>
> org.eclipse.birt.chart.reportitem.ui.StandardChartDataSheet.createDataSelector(StandardChartDataSheet.java:1100)
>
> org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.createDataArea(TaskSelectData.java:277)
>
> org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.placeComponents(TaskSelectData.java:243)
>
> org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.createControl(TaskSelectData.java:153)
>
> org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBaseDialog.switchTask(WizardBaseDialog.java:317)
>
> org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBase.switchTo(WizardBase.java:234)
>
> org.eclipse.birt.chart.ui.swt.wizard.ChartWizard.switchTo(ChartWizard.java:289)
>
> org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBaseDialog.widgetSelected(WizardBaseDialog.java:509)
>
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
> org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
> org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2743)
> org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1429)
> org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
> org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> org.eclipse.jface.window.Window.open(Window.java:801)
> org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBase.open(WizardBase.java:92)
>
> org.eclipse.birt.chart.ui.swt.wizard.ChartWizard.open(ChartWizard.java:243)
> org.eclipse.birt.chart.reportitem.ui.ChartReportItemBuilderImpl.open(ChartReportItemBuilderImpl.java:288)
>
> org.eclipse.birt.report.designer.internal.ui.extension.ExtendedEditPart.performDirectEdit(ExtendedEditPart.java:185)
>
> org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.ReportElementEditPart.performRequest(ReportElementEditPart.java:150)
>
> org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:194)
>
> org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:137)
>
> org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:1069)
> org.eclipse.birt.report.designer.internal.ui.editors.schematic.tools.ReportElementDragTracker.mouseDoubleClick(ReportElementDragTracker.java:125)
>
> org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:525)
>
> org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:231)
> org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseDoubleClicked(DomainEventDispatcher.java:291)
>
> org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDoubleClick(LightweightSystem.java:518)
>
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:189)
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
> org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
> org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
> org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
>
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
>
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown Source)
> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
> org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
> org.eclipse.equinox.launcher.Main.run(Main.java:1408)
>
> Caused By:null
> java.lang.String.contains(Unknown Source)
> org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent$SharedBindingHelper.translateFromBindingName(BaseDataDefinitionComponent.java:1177)
>
> org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent.updateText(BaseDataDefinitionComponent.java:1031)
>
> org.eclipse.birt.chart.ui.swt.DataDefinitionTextManager.refreshAll(DataDefinitionTextManager.java:137)
>
> org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.handleEvent(TaskSelectData.java:439)
>
> org.eclipse.birt.chart.ui.swt.DefaultChartDataSheet.notifyListeners(DefaultChartDataSheet.java:72)
>
> org.eclipse.birt.chart.reportitem.ui.StandardChartDataSheet.fireEvent(StandardChartDataSheet.java:306)
>
> org.eclipse.birt.chart.reportitem.ui.StandardChartDataSheet.updatePredefinedQueries(StandardChartDataSheet.java:2975)
>
> org.eclipse.birt.chart.reportitem.ui.StandardChartDataSheet.createDataSelector(StandardChartDataSheet.java:1100)
>
> org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.createDataArea(TaskSelectData.java:277)
>
> org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.placeComponents(TaskSelectData.java:243)
>
> org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.createControl(TaskSelectData.java:153)
>
> org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBaseDialog.switchTask(WizardBaseDialog.java:317)
>
> org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBase.switchTo(WizardBase.java:234)
>
> org.eclipse.birt.chart.ui.swt.wizard.ChartWizard.switchTo(ChartWizard.java:289)
>
> org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBaseDialog.widgetSelected(WizardBaseDialog.java:509)
>
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
> org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
> org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2743)
> org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1429)
> org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
> org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> org.eclipse.jface.window.Window.open(Window.java:801)
> org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBase.open(WizardBase.java:92)
>
> org.eclipse.birt.chart.ui.swt.wizard.ChartWizard.open(ChartWizard.java:243)
> org.eclipse.birt.chart.reportitem.ui.ChartReportItemBuilderImpl.open(ChartReportItemBuilderImpl.java:288)
>
> org.eclipse.birt.report.designer.internal.ui.extension.ExtendedEditPart.performDirectEdit(ExtendedEditPart.java:185)
>
> org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.ReportElementEditPart.performRequest(ReportElementEditPart.java:150)
>
> org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:194)
>
> org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:137)
>
> org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:1069)
> org.eclipse.birt.report.designer.internal.ui.editors.schematic.tools.ReportElementDragTracker.mouseDoubleClick(ReportElementDragTracker.java:125)
>
> org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:525)
>
> org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:231)
> org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseDoubleClicked(DomainEventDispatcher.java:291)
>
> org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDoubleClick(LightweightSystem.java:518)
>
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:189)
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
> org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
> org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
> org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
>
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
>
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown Source)
> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
> org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
> org.eclipse.equinox.launcher.Main.run(Main.java:1408)
|
|
|
|
Re: Birt Chart Script Error [message #775736 is a reply to message #775436] |
Fri, 06 January 2012 15:54 |
|
Shane,
On the second tab of the chart wizard does the data say it is inheriting
the columns and groups? I am attaching an example report that puts a
chart in a group header.
Jason
On 1/5/2012 8:00 PM, Shane Dodge wrote:
> The file is uploaded
>
> An additional note is that I am hoping to attach the chart into the header of a group and utilize the aggregation and groups established in the grouped table.
>
> Thanks again for your help,
> Shane
|
|
|
|
Re: Birt Chart Script Error [message #775762 is a reply to message #775751] |
Fri, 06 January 2012 16:33 |
|
Shane,
Any way you can reproduce the issue with an example report so I can
debug it?
Jason
On 1/6/2012 11:23 AM, Shane Dodge wrote:
> Yes - The data is being inherited from the 'Container' on the second tab.
>
> I am able to run a report without error from the main table, but the
> 'Set Aggregation Function' is causing issues. I would prefer to use the
> container grouping if at all possible rather than data binding a bunch
> of calculations to the chart.
>
> Shane
|
|
|
|
Re: Birt Chart Script Error [message #775834 is a reply to message #775816] |
Fri, 06 January 2012 18:45 |
|
Shane,
What did you put on the category and y-axis values?
Jason
On 1/6/2012 1:18 PM, Shane Dodge wrote:
> Thanks again for your help on this.
>
> The good news (for me) is that I am able to repro the issue with the sample data and the report is attached. Please look at the ProductCodeGroup I created. The group uses the following if (BirtComp.like(row["PRODUCTCODE"],"%1678")) "Group1"
> else if (BirtComp.like(row["PRODUCTCODE"],"%1949")) "Group2"
> etc
>
> It seems like this is where the chart has issues. Once I try to add that grouping to the chart I get the Null Pointer Exception.
>
> I am not sure I have much in the way of options to work around this type of grouping because of the way my dataset is created. I have a huge concatenated string that I need to group by the a word that exists in the middle of that string.
>
> Shane
|
|
|
|
Re: Birt Chart Script Error [message #775841 is a reply to message #775816] |
Fri, 06 January 2012 19:07 |
|
Shane,
This does appear to be a bug. Any chance you could open a bugzilla
entry with your sample? As a work around why not directly attach the
chart to the dataset and then use the category expression:
if (BirtComp.like(row["PRODUCTCODE"],"%1678")) "Group1"
else if (BirtComp.like(row["PRODUCTCODE"],"%1949")) "Group2"
else if (BirtComp.like(row["PRODUCTCODE"],"%2016")) "Group3"
else if (BirtComp.like(row["PRODUCTCODE"],"%4698")) "Group4"
else if (BirtComp.like(row["PRODUCTCODE"],"%4757")) "Group5"
else "Group6";
I modified the example to do this and it is attached. I also added a
binding to the table to get the group name. I use this in the group
instead of the expression.
Jason
On 1/6/2012 1:18 PM, Shane Dodge wrote:
> Thanks again for your help on this.
>
> The good news (for me) is that I am able to repro the issue with the sample data and the report is attached. Please look at the ProductCodeGroup I created. The group uses the following if (BirtComp.like(row["PRODUCTCODE"],"%1678")) "Group1"
> else if (BirtComp.like(row["PRODUCTCODE"],"%1949")) "Group2"
> etc
>
> It seems like this is where the chart has issues. Once I try to add that grouping to the chart I get the Null Pointer Exception.
>
> I am not sure I have much in the way of options to work around this type of grouping because of the way my dataset is created. I have a huge concatenated string that I need to group by the a word that exists in the middle of that string.
>
> Shane
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05847 seconds