Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » eclipse 3.4M6 problem
eclipse 3.4M6 problem [message #180337] Wed, 02 April 2008 09:57 Go to next message
Eclipse UserFriend
Originally posted by: info.mtiede.de

Hi Team,

are there any known problems with eclipse 3.4M6 and GMF (GMF SDK
2.0.1.v20071003)? I tried to switch from eclipse 3.4M5 to eclipse 3.4M6
and now, although I haven't changed anything in my model files:
* the generation of the source (model, edit and diagram) files works
* the validation of the model files doesn't show up any errors.
* the generated diagram starts up and I'm also able to add some notes
to my model editor.

But when I try to add any of my own defined entities into the generated
diagram editor it doesn't work. The symbol to add these entities has
always been labeled with a "plus [+]" but now it's said to be forbidden.
I also saw The same behavior in the mindmap example (with eclipse 3.4M6)
which earlier also worked fine.

I tried to focus the error and found a problem with a null-parameter which
is generated in the diagram plugin
(org.eclipse.gmf.examples.mindmap.mindmap.diagram.edit.helpe rs) line 35:
* CompositeCommand command = new CompositeCommand(null);

Can you tell me what I should do?

With best regards
Markus

the corresponding log-entry:

!ENTRY org.eclipse.ui 4 0 2008-04-02 11:25:59.481
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:84)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:72)
at
org.eclipse.core.commands.operations.AbstractOperation.<init >(AbstractOperation.java:49)
at
org.eclipse.gmf.runtime.common.core.command.AbstractCommand. <init>(AbstractCommand.java:75)
at
org.eclipse.gmf.runtime.common.core.command.CompositeCommand . <init>(CompositeCommand.java:88)
at
org.eclipse.gmf.runtime.common.core.command.CompositeCommand . <init>(CompositeCommand.java:76)
at
org.eclipse.gmf.examples.mindmap.mindmap.diagram.edit.helper s.MindmapBaseEditHelper.getInsteadCommand(MindmapBaseEditHel per.java:35)
at
org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditCommand(AbstractEditHelper.java:186)
at
org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditCommand(AbstractEditHelper.java:138)
at
org.eclipse.gmf.runtime.emf.type.core.MetamodelType.getEditC ommand(MetamodelType.java:106)
at
org.eclipse.gmf.runtime.emf.type.core.requests.CreateElement Request.getEditContextCommand(CreateElementRequest.java:314)
at
org.eclipse.gmf.runtime.emf.type.core.requests.CreateElement Request.getEditHelperContext(CreateElementRequest.java:438)
at
org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditHelperAdvice(AbstractEditHelper.java:317)
at
org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditCommand(AbstractEditHelper.java:126)
....
Re: eclipse 3.4M6 problem [message #180364 is a reply to message #180337] Wed, 02 April 2008 10:47 Go to previous messageGo to next message
Richard Gronback is currently offline Richard GronbackFriend
Messages: 605
Registered: July 2009
Senior Member
Yes, this is a known issue. You'll need to use the latest build, if not
await our 2.1M6 build.

http://emft.eclipse.org/modeling/gmf/downloads/?project=gmf& amp;showAll=0&showMa
x=5&sortBy=date

Thanks,
Rich


On 4/2/08 5:57 AM, in article
7671207e5ec109e4ee0548d10cc7e3e1$1@www.eclipse.org, "Markus"
<info@mtiede.de> wrote:

> Hi Team,
>
> are there any known problems with eclipse 3.4M6 and GMF (GMF SDK
> 2.0.1.v20071003)? I tried to switch from eclipse 3.4M5 to eclipse 3.4M6
> and now, although I haven't changed anything in my model files:
> * the generation of the source (model, edit and diagram) files works
> * the validation of the model files doesn't show up any errors.
> * the generated diagram starts up and I'm also able to add some notes
> to my model editor.
>
> But when I try to add any of my own defined entities into the generated
> diagram editor it doesn't work. The symbol to add these entities has
> always been labeled with a "plus [+]" but now it's said to be forbidden.
> I also saw The same behavior in the mindmap example (with eclipse 3.4M6)
> which earlier also worked fine.
>
> I tried to focus the error and found a problem with a null-parameter which
> is generated in the diagram plugin
> (org.eclipse.gmf.examples.mindmap.mindmap.diagram.edit.helpe rs) line 35:
> * CompositeCommand command = new CompositeCommand(null);
>
> Can you tell me what I should do?
>
> With best regards
> Markus
>
> the corresponding log-entry:
>
> !ENTRY org.eclipse.ui 4 0 2008-04-02 11:25:59.481
> !MESSAGE Unhandled event loop exception
> !STACK 0
> org.eclipse.core.runtime.AssertionFailedException: null argument:
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:84)
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:72)
> at
> org.eclipse.core.commands.operations.AbstractOperation.<init >(AbstractOperatio
> n.java:49)
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand. <init>(AbstractCom
> mand.java:75)
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand . <init>(CompositeC
> ommand.java:88)
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand . <init>(CompositeC
> ommand.java:76)
> at
> org.eclipse.gmf.examples.mindmap.mindmap.diagram.edit.helper s.MindmapBaseEditH
> elper.getInsteadCommand(MindmapBaseEditHelper.java:35)
> at
> org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditCom
> mand(AbstractEditHelper.java:186)
> at
> org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditCom
> mand(AbstractEditHelper.java:138)
> at
> org.eclipse.gmf.runtime.emf.type.core.MetamodelType.getEditC ommand(MetamodelTy
> pe.java:106)
> at
> org.eclipse.gmf.runtime.emf.type.core.requests.CreateElement Request.getEditCon
> textCommand(CreateElementRequest.java:314)
> at
> org.eclipse.gmf.runtime.emf.type.core.requests.CreateElement Request.getEditHel
> perContext(CreateElementRequest.java:438)
> at
> org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditHel
> perAdvice(AbstractEditHelper.java:317)
> at
> org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditCom
> mand(AbstractEditHelper.java:126)
> ...
>
>
Re: eclipse 3.4M6 problem [message #180528 is a reply to message #180337] Wed, 02 April 2008 16:23 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Markus,

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=218467#c8 and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=224706

I swept the GMF Runtime to address this issue already.

Richard, was there a Bugzilla for the tooling templates?

Cheers...
Anthony


"Markus" <info@mtiede.de> wrote in message
news:7671207e5ec109e4ee0548d10cc7e3e1$1@www.eclipse.org...
> Hi Team,
>
> are there any known problems with eclipse 3.4M6 and GMF (GMF SDK
> 2.0.1.v20071003)? I tried to switch from eclipse 3.4M5 to eclipse 3.4M6
> and now, although I haven't changed anything in my model files:
> * the generation of the source (model, edit and diagram) files works
> * the validation of the model files doesn't show up any errors.
> * the generated diagram starts up and I'm also able to add some notes
> to my model editor.
>
> But when I try to add any of my own defined entities into the generated
> diagram editor it doesn't work. The symbol to add these entities has
> always been labeled with a "plus [+]" but now it's said to be forbidden.
> I also saw The same behavior in the mindmap example (with eclipse 3.4M6)
> which earlier also worked fine.
>
> I tried to focus the error and found a problem with a null-parameter which
> is generated in the diagram plugin
> (org.eclipse.gmf.examples.mindmap.mindmap.diagram.edit.helpe rs) line 35:
> * CompositeCommand command = new CompositeCommand(null);
>
> Can you tell me what I should do?
>
> With best regards
> Markus
>
> the corresponding log-entry:
>
> !ENTRY org.eclipse.ui 4 0 2008-04-02 11:25:59.481
> !MESSAGE Unhandled event loop exception
> !STACK 0
> org.eclipse.core.runtime.AssertionFailedException: null argument:
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:84)
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:72)
> at
> org.eclipse.core.commands.operations.AbstractOperation.<init >(AbstractOperation.java:49)
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand. <init>(AbstractCommand.java:75)
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand . <init>(CompositeCommand.java:88)
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand . <init>(CompositeCommand.java:76)
> at
> org.eclipse.gmf.examples.mindmap.mindmap.diagram.edit.helper s.MindmapBaseEditHelper.getInsteadCommand(MindmapBaseEditHel per.java:35)
> at
> org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditCommand(AbstractEditHelper.java:186)
> at
> org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditCommand(AbstractEditHelper.java:138)
> at
> org.eclipse.gmf.runtime.emf.type.core.MetamodelType.getEditC ommand(MetamodelType.java:106)
> at
> org.eclipse.gmf.runtime.emf.type.core.requests.CreateElement Request.getEditContextCommand(CreateElementRequest.java:314)
> at
> org.eclipse.gmf.runtime.emf.type.core.requests.CreateElement Request.getEditHelperContext(CreateElementRequest.java:438)
> at
> org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditHelperAdvice(AbstractEditHelper.java:317)
> at
> org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditCommand(AbstractEditHelper.java:126)
> ...
>
Re: eclipse 3.4M6 problem [message #180570 is a reply to message #180528] Wed, 02 April 2008 17:31 Go to previous message
Richard Gronback is currently offline Richard GronbackFriend
Messages: 605
Registered: July 2009
Senior Member
Hi Anthony,

I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=225381

Thanks,
Rich


On 4/2/08 12:23 PM, in article ft0buq$sk3$1@build.eclipse.org, "Anthony
Hunter" <anthonyh@ca.ibm.com> wrote:

> Hi Markus,
>
> See https://bugs.eclipse.org/bugs/show_bug.cgi?id=218467#c8 and
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=224706
>
> I swept the GMF Runtime to address this issue already.
>
> Richard, was there a Bugzilla for the tooling templates?
>
> Cheers...
> Anthony
>
>
> "Markus" <info@mtiede.de> wrote in message
> news:7671207e5ec109e4ee0548d10cc7e3e1$1@www.eclipse.org...
>> Hi Team,
>>
>> are there any known problems with eclipse 3.4M6 and GMF (GMF SDK
>> 2.0.1.v20071003)? I tried to switch from eclipse 3.4M5 to eclipse 3.4M6
>> and now, although I haven't changed anything in my model files:
>> * the generation of the source (model, edit and diagram) files works
>> * the validation of the model files doesn't show up any errors.
>> * the generated diagram starts up and I'm also able to add some notes
>> to my model editor.
>>
>> But when I try to add any of my own defined entities into the generated
>> diagram editor it doesn't work. The symbol to add these entities has
>> always been labeled with a "plus [+]" but now it's said to be forbidden.
>> I also saw The same behavior in the mindmap example (with eclipse 3.4M6)
>> which earlier also worked fine.
>>
>> I tried to focus the error and found a problem with a null-parameter which
>> is generated in the diagram plugin
>> (org.eclipse.gmf.examples.mindmap.mindmap.diagram.edit.helpe rs) line 35:
>> * CompositeCommand command = new CompositeCommand(null);
>>
>> Can you tell me what I should do?
>>
>> With best regards
>> Markus
>>
>> the corresponding log-entry:
>>
>> !ENTRY org.eclipse.ui 4 0 2008-04-02 11:25:59.481
>> !MESSAGE Unhandled event loop exception
>> !STACK 0
>> org.eclipse.core.runtime.AssertionFailedException: null argument:
>> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:84)
>> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:72)
>> at
>> org.eclipse.core.commands.operations.AbstractOperation.<init >(AbstractOperati
>> on.java:49)
>> at
>> org.eclipse.gmf.runtime.common.core.command.AbstractCommand. <init>(AbstractCo
>> mmand.java:75)
>> at
>> org.eclipse.gmf.runtime.common.core.command.CompositeCommand . <init>(Composite
>> Command.java:88)
>> at
>> org.eclipse.gmf.runtime.common.core.command.CompositeCommand . <init>(Composite
>> Command.java:76)
>> at
>> org.eclipse.gmf.examples.mindmap.mindmap.diagram.edit.helper s.MindmapBaseEdit
>> Helper.getInsteadCommand(MindmapBaseEditHelper.java:35)
>> at
>> org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditCo
>> mmand(AbstractEditHelper.java:186)
>> at
>> org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditCo
>> mmand(AbstractEditHelper.java:138)
>> at
>> org.eclipse.gmf.runtime.emf.type.core.MetamodelType.getEditC ommand(MetamodelT
>> ype.java:106)
>> at
>> org.eclipse.gmf.runtime.emf.type.core.requests.CreateElement Request.getEditCo
>> ntextCommand(CreateElementRequest.java:314)
>> at
>> org.eclipse.gmf.runtime.emf.type.core.requests.CreateElement Request.getEditHe
>> lperContext(CreateElementRequest.java:438)
>> at
>> org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditHe
>> lperAdvice(AbstractEditHelper.java:317)
>> at
>> org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEdi tHelper.getEditCo
>> mmand(AbstractEditHelper.java:126)
>> ...
>>
>
>
Previous Topic:Dragging out and in a compartment changes containment feature
Next Topic:Problem with compartment + affixedParentSide
Goto Forum:
  


Current Time: Fri Apr 26 21:59:04 GMT 2024

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

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

Back to the top