Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » AMP » [SOLVED] Couldn't generate chart
[SOLVED] Couldn't generate chart [message #631952] Mon, 11 October 2010 01:04 Go to next message
Oliver Mannion is currently offline Oliver MannionFriend
Messages: 31
Registered: September 2010
Member
When running edu.brook.manual.model1.CoordinationGame I would get

org.eclipse.amp.agf.chart Couldn't generate chart

org.eclipse.birt.chart.exception.ChartException
at org.eclipse.birt.chart.factory.Generator.build(Generator.java:1076)
at org.eclipse.birt.chart.factory.Generator.build(Generator.java:856)
at org.eclipse.amp.agf.chart.ChartEditPart.regenerateChart(ChartEditPart.java:395)
at org.eclipse.amp.agf.chart.ChartEditPart$5.run(ChartEditPart.java:337)
at org.eclipse.amp.agf.chart.ChartEditPart.refresh(ChartEditPart.java:339)
at org.eclipse.amp.agf.chart.ChartEditPart$ChartModelListener.update(ChartEditPart.java:190)
at org.eclipse.amp.axf.view.SWTAsyncModelListener.doUpdate(SWTAsyncModelListener.java:137)
at org.eclipse.amp.axf.view.SWTAsyncModelListener.access$1(SWTAsyncModelListener.java:134)
at org.eclipse.amp.axf.view.SWTAsyncModelListener$ReportingRunner.run(SWTAsyncModelListener.java:48)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Caused by: java.lang.NullPointerException
at org.eclipse.birt.chart.render.BaseRenderer.instances(BaseRenderer.java:2186)
at org.eclipse.birt.chart.factory.Generator.build(Generator.java:1060)
... 32 more

11/10/2010 11:36:49 AM org.eclipse.birt.chart.util.PluginSettings getRenderer
SEVERE: (ECLIPSE-ENV) Could not find series renderer impl for org.eclipse.birt.chart.model.type.impl.LineSeriesImpl


So I went to Install New Software, selected http://download.eclipse.org/amp/updates/releases
and checked

AMP AGF Chart
AMP AGF Zest

This solved the problem!

Re: [SOLVED] Couldn't generate chart [message #633289 is a reply to message #631952] Sat, 16 October 2010 02:31 Go to previous messageGo to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1340
Registered: July 2009
Senior Member
Oliver Mannion wrote on Sun, 10 October 2010 21:04

So I went to Install New Software, selected http://download.eclipse.org/amp/updates/releases
and checked

AMP AGF Chart
AMP AGF Zest

This solved the problem!





Oliver how did you install AMP originally before it worked? Curious because this should work OOTB. Did you just check some of the entries for AMP on the original install?
Re: [SOLVED] Couldn't generate chart [message #633431 is a reply to message #633289] Sun, 17 October 2010 20:20 Go to previous message
Oliver Mannion is currently offline Oliver MannionFriend
Messages: 31
Registered: September 2010
Member
I think somehow my installation got a bit out of wack after I downloaded the AMP sources.

I've since tried a fresh install OOTB and everything worked fine as expected.
Previous Topic:What replaces the Swing Navigator in AMP/Escape?
Next Topic:Could not read class: ede.brook.model.CoordinationGame. Please ensure that the class exists in class
Goto Forum:
  


Current Time: Sun Nov 23 02:34:01 GMT 2014

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

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