Radar Chart doesn't work in Standalone Program [message #644476] |
Sat, 11 December 2010 15:38  |
Eclipse User |
|
|
|
Hello together,
I try to write a Standalone Program to visualize Data's vom a Database. The Birt Chart Engine supplies quite a lot of Charts so it is perfect for that job. I'm using Eclipse 3.6.1 with the BIRT Plugins 2.6.1 and i have also have the BIRT 2.6.1 runtime release.
I found the BIRTexample project and it is working fine. The Eclipseplugin in that project shows all kind of Chart's included the Radar Chart. The org.eclipse.birt.chart.examples.api.viewer Programs are working too.
My problem is now that i Implemented the Radar.createRadar() in the SwtLiveChartViewer.java and i get that Exception
11.12.2010 21:21:33 org.eclipse.birt.chart.util.PluginSettings getRenderer
SCHWERWIEGEND: (STANDALONE-ENV) Could not find series renderer impl for org.eclipse.birt.chart.examples.radar.model.type.impl.RadarSeriesImpl
java.lang.NullPointerException
at org.eclipse.birt.chart.render.BaseRenderer.instances(BaseRenderer.java:2307)
at org.eclipse.birt.chart.factory.Generator.build(Generator.java:1060)
at my.swt.live.viewer.SwtLiveChartViewer.paintControl(SwtLiveChartViewer.java:349)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:223)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1555)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4216)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4886)
at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method)
at org.eclipse.swt.widgets.Decorations.setVisible(Decorations.java:1406)
at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1865)
at org.eclipse.swt.widgets.Shell.open(Shell.java:1206)
at my.swt.live.viewer.SwtLiveChartViewer.main(SwtLiveChartViewer.java:113)
org.eclipse.birt.chart.exception.ChartException
at org.eclipse.birt.chart.factory.Generator.build(Generator.java:1076)
at my.swt.live.viewer.SwtLiveChartViewer.paintControl(SwtLiveChartViewer.java:349)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:223)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1555)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4216)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4886)
at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method)
at org.eclipse.swt.widgets.Decorations.setVisible(Decorations.java:1406)
at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1865)
at org.eclipse.swt.widgets.Shell.open(Shell.java:1206)
at my.swt.live.viewer.SwtLiveChartViewer.main(SwtLiveChartViewer.java:113)
Caused by: java.lang.NullPointerException
at org.eclipse.birt.chart.render.BaseRenderer.instances(BaseRenderer.java:2307)
at org.eclipse.birt.chart.factory.Generator.build(Generator.java:1060)
... 14 more
Exception in thread "main" java.lang.NullPointerException
at org.eclipse.birt.chart.factory.Generator.render(Generator.java:1233)
at my.swt.live.viewer.SwtLiveChartViewer.paintControl(SwtLiveChartViewer.java:393)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:223)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1555)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4216)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4886)
at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method)
at org.eclipse.swt.widgets.Decorations.setVisible(Decorations.java:1406)
at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1865)
at org.eclipse.swt.widgets.Shell.open(Shell.java:1206)
at my.swt.live.viewer.SwtLiveChartViewer.main(SwtLiveChartViewer.java:113)
I don't get that Radar Chart running. I found also other examples but nowhere is the Radar chart running beside the BIRTexample plugin for Eclipse. What I'm doing wrong?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07160 seconds