eclipse 3.4M6 problem [message #180337] |
Wed, 02 April 2008 09:57 |
Eclipse User |
|
|
|
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 #180570 is a reply to message #180528] |
Wed, 02 April 2008 17:31 |
Richard Gronback 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)
>> ...
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02484 seconds