Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » can not find dv.SWT?
can not find dv.SWT? [message #41956] Wed, 01 June 2005 08:42 Go to next message
Eclipse UserFriend
Originally posted by: yaowang.capitalbio.com

anyone knows how to deal with these errors?

org.eclipse.birt.core.framework.server.ServerPlatform <init>
can't find the plugin folder
[ERR]: org.eclipse.birt.chart.exception.PluginException: $NO-RB$ Unable to
locate any entries for lookup=dv.SWT; element=(name:device) in any
plugin.xml file in all of the available plugins
Re: can not find dv.SWT? [message #42144 is a reply to message #41956] Wed, 01 June 2005 14:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mpadhye.actuate.com

Hi,

The error seems to be due to the chart device extension plug-in not
being found. The 'dv.SWT' identifies the SWT device for chart rendering
that is registered as an extension in that plug-in.
Can you provide additional details about the problem? What actions do
you perform to see this error? What environment are you running BIRT in?
What version of Eclipse, BIRT? Have you installed EMF? Are all the chart
plug-ins installed? The following plug-ins form the chart library for BIRT:

org.eclipse.birt.chart.engine
org.eclipse.birt.chart.device.extension
org.eclipse.birt.chart.engine.extension
org.eclipse.birt.chart.reportitem
org.eclipse.birt.chart.ui
org.eclipse.birt.chart.ui.extension

Thanks,
Milind

motifsantu wrote:
> anyone knows how to deal with these errors?
>
> org.eclipse.birt.core.framework.server.ServerPlatform <init>
> can't find the plugin folder
> [ERR]: org.eclipse.birt.chart.exception.PluginException: $NO-RB$ Unable
> to locate any entries for lookup=dv.SWT; element=(name:device) in any
> plugin.xml file in all of the available plugins
>
>
Re: can not find dv.SWT? [message #42274 is a reply to message #42144] Thu, 02 June 2005 02:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: yaowang.capitalbio.com

this problem has been solved by adding "System.setProperty("STANDALONE",
"true");"

the new problem is the method LayoutPackageImpl.freeze() can not be found.

platform used is birt-chart-1.0m2 and eclipse 3.0.1
all necessary plugins have been installed


[INFO]: (STANDALONE-ENV) Creating device dv.SWT as
org.eclipse.birt.chart.device.swt.SwtRendererImpl
[INFO]: (STANDALONE-ENV) Creating display server ds.SWT as
org.eclipse.birt.chart.device.swt.SwtDisplayServer
[INFO]: SWT Display Server: win32 v3063
[INFO]: Using graphics context org.eclipse.swt.graphics.GC@GC {-50261434}
java.lang.NoSuchMethodError:
org.eclipse.birt.chart.model.layout.impl.LayoutPackageImpl.f reeze()V
at
org.eclipse.birt.chart.model.layout.impl.LayoutPackageImpl.i nit(LayoutPackageImpl.java:182)
at
org.eclipse.birt.chart.model.layout.LayoutPackage.<clinit>(LayoutPackage.java:65)
at
org.eclipse.birt.chart.model.data.impl.DataPackageImpl.init( DataPackageImpl.java:249)
at
org.eclipse.birt.chart.model.data.DataPackage.<clinit>(DataPackage.java:65)
at
org.eclipse.birt.chart.model.attribute.impl.AttributePackage Impl.init(AttributePackageImpl.java:779)
at
org.eclipse.birt.chart.model.attribute.AttributePackage.<clinit >(AttributePackage.java:67)
at
org.eclipse.birt.chart.model.component.impl.ComponentPackage Impl.init(ComponentPackageImpl.java:171)
at
org.eclipse.birt.chart.model.component.ComponentPackage.<clinit >(ComponentPackage.java:65)
at
org.eclipse.birt.chart.model.type.impl.TypePackageImpl.init( TypePackageImpl.java:144)
at
org.eclipse.birt.chart.model.type.TypePackage.<clinit>(TypePackage.java:66)
at
org.eclipse.birt.chart.model.impl.ModelPackageImpl.init(Mode lPackageImpl.java:125)
at
org.eclipse.birt.chart.model.ModelPackage.<clinit>(ModelPackage.java:63)
at
org.eclipse.birt.chart.model.impl.ChartWithAxesImpl.eStaticC lass(ChartWithAxesImpl.java:168)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eClass(BasicEObj ectImpl.java:785)
at
org.eclipse.emf.ecore.util.EcoreUtil$Copier.createCopy(Ecore Util.java:392)
at org.eclipse.emf.ecore.util.EcoreUtil$Copier.copy(EcoreUtil.j ava:358)
at org.eclipse.emf.ecore.util.EcoreUtil.copy(EcoreUtil.java:296 )
at org.eclipse.birt.chart.factory.Generator.build(Generator.jav a:135)
at
birtTest.TestLineChart$MyPaintListener.paintControl(TestLine Chart.java:78)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:82)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:80 3)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3020 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338 )
at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method)
at org.eclipse.swt.widgets.Decorations.setVisible(Decorations.j ava:1213)
at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1175)
at org.eclipse.swt.widgets.Shell.open(Shell.java:767)
at birtTest.TestLineChart.main(TestLineChart.java:103)
Re: can not find dv.SWT? [message #42339 is a reply to message #42274] Thu, 02 June 2005 14:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mpadhye.actuate.com

Hi,

What version of EMF do you have installed? In EMF 2.0.1 the freeze()
method exists in the EPackageImpl class which LayoutPackageImpl extends.

Thanks,
Milind

motifsantu wrote:
> this problem has been solved by adding "System.setProperty("STANDALONE",
> "true");"
>
> the new problem is the method LayoutPackageImpl.freeze() can not be found.
>
> platform used is birt-chart-1.0m2 and eclipse 3.0.1
> all necessary plugins have been installed
>
>
> [INFO]: (STANDALONE-ENV) Creating device dv.SWT as
> org.eclipse.birt.chart.device.swt.SwtRendererImpl
> [INFO]: (STANDALONE-ENV) Creating display server ds.SWT as
> org.eclipse.birt.chart.device.swt.SwtDisplayServer
> [INFO]: SWT Display Server: win32 v3063
> [INFO]: Using graphics context org.eclipse.swt.graphics.GC@GC {-50261434}
> java.lang.NoSuchMethodError:
> org.eclipse.birt.chart.model.layout.impl.LayoutPackageImpl.f reeze()V
> at
> org.eclipse.birt.chart.model.layout.impl.LayoutPackageImpl.i nit(LayoutPackageImpl.java:182)
>
> at
> org.eclipse.birt.chart.model.layout.LayoutPackage.<clinit>(LayoutPackage.java:65)
>
> at
> org.eclipse.birt.chart.model.data.impl.DataPackageImpl.init( DataPackageImpl.java:249)
>
> at
> org.eclipse.birt.chart.model.data.DataPackage.<clinit>(DataPackage.java:65)
> at
> org.eclipse.birt.chart.model.attribute.impl.AttributePackage Impl.init(AttributePackageImpl.java:779)
>
> at
> org.eclipse.birt.chart.model.attribute.AttributePackage.<clinit >(AttributePackage.java:67)
>
> at
> org.eclipse.birt.chart.model.component.impl.ComponentPackage Impl.init(ComponentPackageImpl.java:171)
>
> at
> org.eclipse.birt.chart.model.component.ComponentPackage.<clinit >(ComponentPackage.java:65)
>
> at
> org.eclipse.birt.chart.model.type.impl.TypePackageImpl.init( TypePackageImpl.java:144)
>
> at
> org.eclipse.birt.chart.model.type.TypePackage.<clinit>(TypePackage.java:66)
> at
> org.eclipse.birt.chart.model.impl.ModelPackageImpl.init(Mode lPackageImpl.java:125)
>
> at
> org.eclipse.birt.chart.model.ModelPackage.<clinit>(ModelPackage.java:63)
> at
> org.eclipse.birt.chart.model.impl.ChartWithAxesImpl.eStaticC lass(ChartWithAxesImpl.java:168)
>
> at
> org.eclipse.emf.ecore.impl.BasicEObjectImpl.eClass(BasicEObj ectImpl.java:785)
>
> at
> org.eclipse.emf.ecore.util.EcoreUtil$Copier.createCopy(Ecore Util.java:392)
> at org.eclipse.emf.ecore.util.EcoreUtil$Copier.copy(EcoreUtil.j ava:358)
> at org.eclipse.emf.ecore.util.EcoreUtil.copy(EcoreUtil.java:296 )
> at org.eclipse.birt.chart.factory.Generator.build(Generator.jav a:135)
> at
> birtTest.TestLineChart$MyPaintListener.paintControl(TestLine Chart.java:78)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:82)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
> at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:80 3)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3020 )
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338 )
> at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method)
> at
> org.eclipse.swt.widgets.Decorations.setVisible(Decorations.j ava:1213)
> at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1175)
> at org.eclipse.swt.widgets.Shell.open(Shell.java:767)
> at birtTest.TestLineChart.main(TestLineChart.java:103)
>
>
Re: can not find dv.SWT? [message #42667 is a reply to message #42339] Fri, 03 June 2005 12:19 Go to previous message
Eclipse UserFriend
Originally posted by: yaowang.capitalbio.com

get it after changing emf from 2.0.0 to 2.0.1
thank a lot for your help:)
Previous Topic:BIRT 1.0
Next Topic:Using BIRT Engine in a web-app
Goto Forum:
  


Current Time: Sat Nov 09 07:02:34 GMT 2024

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

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

Back to the top