From: Nicolas R. <nic...@jp...> - 2007-01-04 20:56:56
|
Hi Jules, I am running with Eclipse 3.2.1 The version of draw2d for 3.2.1.v20060921 The version of the swt.gtk.linux.x86 is: 3.2.1.v32235 To reproduce this error, I have all of the gems* projects in my development sandbox and create an Eclipse launcher to run a "GEMS" Eclipse environment with the gems* plugins In the dev. sandbox, before launching the GEMS config, I setup a breakpoint in org.gems.designer.figures.ModelFeedbackBorder.drawConnectors (line 29) Then, launch the GEMS config in debug mode: 1) New Plug-In Project (called: bug) 2) select 'bug' => new folder: 'resources' 3) bug/resources => New GEMS>GemsMetamodel Model (GemsMetamodel1.gemsmeta) 4) Create an "Entity" from the palette 5) The new entity is selected, with the mouse, I click on it to move it => You hit the breakpoint... connector.translate(x1, y1); g.drawPolygon(connector); // line 29 ... At that breakpoint, inspect 'this.connector'. It has: bounds = null points = int[0] size = 0 If I remove the prolog module, then I loose one of the coolest features of GEMS... -- Nicolas. Jules White wrote: > Hi Nicolas, > > I have seen this error once before from GEMS on Linux. It is really > hard to tell what is causing it since it comes from deep within the > Eclipse internals (on the native and not Java side). I do GEMS Linux > testing with Eclipse 3.2 on Fedora Core 3. What version of Draw2d/GEf > are you using? What version of Eclipse do you have? I would try > getting the latest versions of those and see if that fixes the > problem. > > Another way to fix this problem is to remove the Prolog plugin from > GEMS. The Prolog module creates the borders that leads to this error. > To disable the prolog module, delete the folder: > > org.gems.designer.dsml.kb > > from you Eclipse plugins directory. > > Thanks, > > Jules |