Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Error validating and converting Ecore model
Error validating and converting Ecore model [message #501084] Mon, 30 November 2009 22:52 Go to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Hi,

I want to generate genmodel in Eclipse Modeling Galileo from my ecore file, created in some earlier version (Eclipse 3.2.1). I manually adapted this ecore to latest version used in Galileo. When I try to create new EMF Project, and select ecore model, I get multiple errors like this:

The namespace prefix 'null' is not well formed
The namespace URI 'null' is not well formed


However, when I check the file in text and Sample Ecore editor, it is O.K. There is no error. Also, when I right click that ecore file and choose Validate, it validates correctly.

I also tried this conversion with ecore model created in Ecore Tools shiped with Eclipse Galileo Modeling, however I get the same errors as above, with several more like these two:

There may not be two features named 'name'
The feature Feature of [email]org.eclipse.emf.ecore.impl.EClassImpl@....[/email] contains an unresolved proxy [email]org.eclipse.emf.ecore.impl.EclassImpl@...[/email]


What is the problem here?


--
Thanks in advance, Milan

[Updated on: Mon, 30 November 2009 23:47]

Report message to a moderator

Re: Error validating and converting Ecore model [message #501165 is a reply to message #501084] Tue, 01 December 2009 11:34 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

Comments below.

Milan Milanovich wrote:
> Hi,
>
> I want to generate genmodel in Eclipse Modeling Galileo from my ecore
> file, created in some earlier version (Eclipse 3.2.1). I manually
> adapted this ecore to latest version used in Galileo. When I try to
> create new EMF Project, and select ecore model, I get multiple errors
> like this:
>
> The namespace prefix 'null' is not well formed
> The namespace URI 'null' is not well formed
So there is an EPackage without an nsPrefix and nsURI.
>
> However, when I check the file in text and Sample Ecore editor, it is
> O.K. There is no error. Also, when I right click that ecore file and
> choose Validate, it validates correctly.
>
> What is the problem?
Perhaps one of the referenced models has this problem?
>
> --
> Thanks in advance, Milan
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #501318 is a reply to message #501165] Tue, 01 December 2009 20:32 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

Ed Merks wrote on Tue, 01 December 2009 06:34
Milan,

Comments below.

Milan Milanovich wrote:
> Hi,
>
> I want to generate genmodel in Eclipse Modeling Galileo from my ecore
> file, created in some earlier version (Eclipse 3.2.1). I manually
> adapted this ecore to latest version used in Galileo. When I try to
> create new EMF Project, and select ecore model, I get multiple errors
> like this:
>
> The namespace prefix 'null' is not well formed
> The namespace URI 'null' is not well formed
So there is an EPackage without an nsPrefix and nsURI.


Thank you on your answer.

I cheked all my (sub)packages and all of them have nsPrefix and nsURI.

Ed Merks wrote on Tue, 01 December 2009 06:34

> However, when I check the file in text and Sample Ecore editor, it is
> O.K. There is no error. Also, when I right click that ecore file and
> choose Validate, it validates correctly.
>
> What is the problem?
Perhaps one of the referenced models has this problem?
>


Well, I don't have referenced models in this ecore metamodel. This is wierd, because I only used EcoreTools shipped with Eclipse Galileo to create the metamodel.

--
Thank you in advance, Milan

[Updated on: Fri, 18 December 2009 07:43]

Report message to a moderator

Re: Error validating and converting Ecore model [message #501340 is a reply to message #501318] Tue, 01 December 2009 21:32 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

Rapidshare is proving to be less that rapid, unless I fork over some
money, which I'm not feeling inclined to do. I'll try again later or
tomorrow.


Milan Milanovich wrote:
> Dear Mr. Merks,
>
> Ed Merks wrote on Tue, 01 December 2009 06:34
>> Milan,
>>
>> Comments below.
>>
>> Milan Milanovich wrote:
>> > Hi,
>> >
>> > I want to generate genmodel in Eclipse Modeling Galileo from my
>> ecore > file, created in some earlier version (Eclipse 3.2.1). I
>> manually > adapted this ecore to latest version used in Galileo. When
>> I try to > create new EMF Project, and select ecore model, I get
>> multiple errors > like this:
>> >
>> > The namespace prefix 'null' is not well formed
>> > The namespace URI 'null' is not well formed
>> So there is an EPackage without an nsPrefix and nsURI.
>
>
> Thank you on your answer.
>
> I cheked all my (sub)packages and all of them have nsPrefix and nsURI.
>
> Ed Merks wrote on Tue, 01 December 2009 06:34
>> > However, when I check the file in text and Sample Ecore editor, it
>> is > O.K. There is no error. Also, when I right click that ecore file
>> and > choose Validate, it validates correctly.
>> >
>> > What is the problem?
>> Perhaps one of the referenced models has this problem?
>> >
>
>
> Well, I don't have referenced models in this ecore metamodel. This is
> wierd, because I only used EcoreTools shipped with Eclipse Galileo to
> create the metamodel.
>
> Here is my metamodel file:
> http://rapidshare.com/files/314929834/BPMN2.ecore.html
>
> For some reason, I cannot attach file here, so I attached it to the
> rapidshare.
>
> --
> Thank you in advance, Milan
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #501341 is a reply to message #501340] Tue, 01 December 2009 21:45 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

I finally downloaded it. But I see all kinds of problems caused by
references such as rBPMN.ecore#//aoBPMN/AspectDot" which I can't
resolve. So clearly there are references to other models. But I don't
see the error about the nsURI/nsPrefix. I really need to see something
complete that reproduces the problem... Does the wizard let you
complete? Can you find the problems in the copied Ecore that's saved
after the wizard completes?


Ed Merks wrote:
> Milan,
>
> Rapidshare is proving to be less that rapid, unless I fork over some
> money, which I'm not feeling inclined to do. I'll try again later or
> tomorrow.
>
>
> Milan Milanovich wrote:
>> Dear Mr. Merks,
>>
>> Ed Merks wrote on Tue, 01 December 2009 06:34
>>> Milan,
>>>
>>> Comments below.
>>>
>>> Milan Milanovich wrote:
>>> > Hi,
>>> >
>>> > I want to generate genmodel in Eclipse Modeling Galileo from my
>>> ecore > file, created in some earlier version (Eclipse 3.2.1). I
>>> manually > adapted this ecore to latest version used in Galileo.
>>> When I try to > create new EMF Project, and select ecore model, I
>>> get multiple errors > like this:
>>> >
>>> > The namespace prefix 'null' is not well formed
>>> > The namespace URI 'null' is not well formed
>>> So there is an EPackage without an nsPrefix and nsURI.
>>
>>
>> Thank you on your answer.
>>
>> I cheked all my (sub)packages and all of them have nsPrefix and nsURI.
>>
>> Ed Merks wrote on Tue, 01 December 2009 06:34
>>> > However, when I check the file in text and Sample Ecore editor, it
>>> is > O.K. There is no error. Also, when I right click that ecore
>>> file and > choose Validate, it validates correctly.
>>> >
>>> > What is the problem?
>>> Perhaps one of the referenced models has this problem?
>>> >
>>
>>
>> Well, I don't have referenced models in this ecore metamodel. This is
>> wierd, because I only used EcoreTools shipped with Eclipse Galileo to
>> create the metamodel.
>>
>> Here is my metamodel file:
>> http://rapidshare.com/files/314929834/BPMN2.ecore.html
>>
>> For some reason, I cannot attach file here, so I attached it to the
>> rapidshare.
>>
>> --
>> Thank you in advance, Milan
>>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #501360 is a reply to message #501341] Tue, 01 December 2009 23:07 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

Ed Merks wrote on Tue, 01 December 2009 16:45
Milan,

I finally downloaded it. But I see all kinds of problems caused by
references such as rBPMN.ecore#//aoBPMN/AspectDot" which I can't
resolve. So clearly there are references to other models. But I don't
see the error about the nsURI/nsPrefix. I really need to see something
complete that reproduces the problem... Does the wizard let you
complete? Can you find the problems in the copied Ecore that's saved
after the wizard completes?


It shouldn't be many references to the rBPMN.ecore file. I attached this file too (http://rapidshare.com/files/314986645/rBPMN.ecore).

I see those errors when I try to create new EMF model from this one. And no, wizard doesn't let me complete, because it show me a lot of errors when I try to create genmodel from this BPMN2.ecore.

--
Thanks, Milan
Re: Error validating and converting Ecore model [message #501472 is a reply to message #501360] Wed, 02 December 2009 13:53 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

What about r2ml.ecore? That's needed too. Note that all the subpackages
in rBPMN2.ecore have no nsPrefix and no nsURI.


Milan Milanovich wrote:
> Dear Mr. Merks,
>
> Ed Merks wrote on Tue, 01 December 2009 16:45
>> Milan,
>>
>> I finally downloaded it. But I see all kinds of problems caused by
>> references such as rBPMN.ecore#//aoBPMN/AspectDot" which I can't
>> resolve. So clearly there are references to other models. But I
>> don't see the error about the nsURI/nsPrefix. I really need to see
>> something complete that reproduces the problem... Does the wizard
>> let you complete? Can you find the problems in the copied Ecore
>> that's saved after the wizard completes?
>
>
> It shouldn't be many references to the rBPMN.ecore file. I attached
> this file too (http://rapidshare.com/files/314986645/rBPMN.ecore).
> I see those errors when I try to create new EMF model from this one.
> And no, wizard doesn't let me complete, because it show me a lot of
> errors when I try to create genmodel from this BPMN2.ecore.
>
> --
> Thanks, Milan
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #501501 is a reply to message #501472] Wed, 02 December 2009 15:16 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

Ed Merks wrote on Wed, 02 December 2009 08:53
Milan,

What about r2ml.ecore? That's needed too. Note that all the subpackages
in rBPMN2.ecore have no nsPrefix and no nsURI.



Well, rBPMN includes r2ml and bpmn2, however I need now first to create genmodel for bpmn2 only, and later for rbpmn. When I try to create an ecore model for bpmn2 I get errors.

I attached rBPMN.ecore again, with nsPrefix and nsURI:
http://rapidshare.com/files/315269918/rBPMN.ecore

and also r2ml.ecore: http://rapidshare.com/files/315272963/r2ml.ecore

--
Thank you, Milan Milanovic
Re: Error validating and converting Ecore model [message #501509 is a reply to message #501501] Wed, 02 December 2009 15:27 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

What exactly is the problem you're hoping I'll help resolve? I just
keep seeing inconsistencies. E.g.,

$ grep StructureDefinition BPMN2.ecore rBPMN.ecore r2ml.ecore
rBPMN.ecore: <eClassifiers xsi:type="ecore:EClass"
name="R2MLMessageType"
eSuperTypes="BPMN2.ecore#//Common/StructureDefinition
BPMN2.ecore#//Common/ItemDefinition">
rBPMN.ecore: <eClassifiers xsi:type="ecore:EClass"
name="ParticipantReferenceSet"
eSuperTypes="BPMN2.ecore#//Common/StructureDefinition
r2ml.ecore#//Vocabulary/VocBasic/Class
BPMN2.ecore#//Process/Data/DataObject">

So there are references to StructureDefinition but not actual definition
of it. The Sample Ecore Editor can help you track down all these
problems and fix them...


Milan Milanovich wrote:
> Dear Mr. Merks,
>
> Ed Merks wrote on Wed, 02 December 2009 08:53
>> Milan,
>>
>> What about r2ml.ecore? That's needed too. Note that all the
>> subpackages in rBPMN2.ecore have no nsPrefix and no nsURI.
>
>
> Well, rBPMN includes r2ml and bpmn2, however I need now first to
> create genmodel for bpmn2 only, and later for rbpmn. When I try to
> create an ecore model for bpmn2 I get errors.
>
> I attached rBPMN.ecore again, with nsPrefix and nsURI:
> http://rapidshare.com/files/315269918/rBPMN.ecore
>
> and also r2ml.ecore: http://rapidshare.com/files/315272963/r2ml.ecore
>
> --
> Thank you, Milan Milanovic


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #501522 is a reply to message #501509] Wed, 02 December 2009 16:23 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

Ed Merks wrote on Wed, 02 December 2009 10:27

What exactly is the problem you're hoping I'll help resolve?


For now I'm trying to create genmodel for BPMN2.ecore. R2ML.ecore is O.K. rBPMN includes elements from both, but I will try to generate genmodel for it later, when I create BPMN2 genmodel.

Ed Merks wrote on Wed, 02 December 2009 10:27

I just
keep seeing inconsistencies. E.g.,

$ grep StructureDefinition BPMN2.ecore rBPMN.ecore r2ml.ecore
rBPMN.ecore: <eClassifiers xsi:type="ecore:EClass"
name="R2MLMessageType"
eSuperTypes="BPMN2.ecore#//Common/StructureDefinition
BPMN2.ecore#//Common/ItemDefinition">
rBPMN.ecore: <eClassifiers xsi:type="ecore:EClass"
name="ParticipantReferenceSet"
eSuperTypes="BPMN2.ecore#//Common/StructureDefinition
r2ml.ecore#//Vocabulary/VocBasic/Class
BPMN2.ecore#//Process/Data/DataObject">

So there are references to StructureDefinition but not actual definition
of it. The Sample Ecore Editor can help you track down all these
problems and fix them...



This is some problem with EcoreTools, as I had StructureDefinition class in my BPMN2 and I used it in rBPMN later. However, when I changed the name of that class to ItemDefinition, EcoreTools didn't change it in rBPMN (as noted above).

Now, what is the problem, when I try to open BPMN2.ecore Ecore Import of New EMF Project, in order to create genmodel, I get an Error message box with a list of errors below. However, the problem is that I have some errors, like:

The typed element must have a type, or
There may not be two features named 'name' 


But from this I cannot see where is the problem in my ecore file, e.g. on which class?

--
Thank you, Milan
Re: Error validating and converting Ecore model [message #501528 is a reply to message #501522] Wed, 02 December 2009 16:33 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

Open each ecore resource in the Sample Ecore Editor and validate it.
Opening the main one BMPN2.ecore and validating that should load the
other two when all the proxies are resolved during validation. Then you
can validate the others as well. You can choose to create markers for
these problems. Double clicking those markers will navigate to the
object with that problem so you can fix it.


Milan Milanovich wrote:
> Dear Mr. Merks,
>
> Ed Merks wrote on Wed, 02 December 2009 10:27
>> What exactly is the problem you're hoping I'll help resolve?
>
>
> For now I'm trying to create genmodel for BPMN2.ecore. R2ML.ecore is
> O.K. rBPMN includes elements from both, but I will try to generate
> genmodel for it later, when I create BPMN2 genmodel.
> Ed Merks wrote on Wed, 02 December 2009 10:27
>> I just keep seeing inconsistencies. E.g.,
>>
>> $ grep StructureDefinition BPMN2.ecore rBPMN.ecore r2ml.ecore
>> rBPMN.ecore: <eClassifiers xsi:type="ecore:EClass"
>> name="R2MLMessageType"
>> eSuperTypes="BPMN2.ecore#//Common/StructureDefinition
>> BPMN2.ecore#//Common/ItemDefinition">
>> rBPMN.ecore: <eClassifiers xsi:type="ecore:EClass"
>> name="ParticipantReferenceSet"
>> eSuperTypes="BPMN2.ecore#//Common/StructureDefinition
>> r2ml.ecore#//Vocabulary/VocBasic/Class
>> BPMN2.ecore#//Process/Data/DataObject">
>>
>> So there are references to StructureDefinition but not actual
>> definition of it. The Sample Ecore Editor can help you track down
>> all these problems and fix them...
>
>
> This is some problem with EcoreTools, as I had StructureDefinition
> class in my BPMN2 and I used it in rBPMN later. However, when I
> changed the name of that class to ItemDefinition, EcoreTools didn't
> change it in rBPMN (as noted above).
>
> Now, what is the problem, when I try to open BPMN2.ecore Ecore Import
> of New EMF Project, in order to create genmodel, I get an Error
> message box with a list of errors below. However, the problem is that
> I have some errors, like:
>
> The typed element must have a type, or
> There may not be two features named 'name'
> But from this I cannot see where is the problem in my ecore file, e.g.
> on which class?
>
> --
> Thank you, Milan
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #501539 is a reply to message #501528] Wed, 02 December 2009 17:14 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

Ed Merks wrote on Wed, 02 December 2009 11:33
Milan,

Open each ecore resource in the Sample Ecore Editor and validate it.
Opening the main one BMPN2.ecore and validating that should load the
other two when all the proxies are resolved during validation. Then you
can validate the others as well. You can choose to create markers for
these problems. Double clicking those markers will navigate to the
object with that problem so you can fix it.



O.K. Thank you very much.

--
Best regards, Milan Milanovic
Re: Error validating and converting Ecore model [message #501547 is a reply to message #501539] Wed, 02 December 2009 17:53 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

just one more thing, I have a class that have two superclasses. But both superclasses have the 'name' attribute. However, when I subclass those two classes the validator generates me an error with info that I cannot have two attributes with the same name?

--
Thank you in advance, Milan
Re: Error validating and converting Ecore model [message #501553 is a reply to message #501547] Wed, 02 December 2009 18:51 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

Yes the union of the all features in the class' hierarchy must not
contain features with duplicate names. You could define a class with
just a name feature and have them both inherit from that.


Milan Milanovich wrote:
> Dear Mr. Merks,
>
> just one more thing, I have a class that have two superclasses. But
> both superclasses have the 'name' attribute. However, when I subclass
> those two classes the validator generates me an error with info that I
> cannot have two attributes with the same name?
>
> --
> Thank you in advance, Milan


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #501559 is a reply to message #501553] Wed, 02 December 2009 19:15 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,
Ed Merks wrote on Wed, 02 December 2009 13:51
Milan,

Yes the union of the all features in the class' hierarchy must not
contain features with duplicate names. You could define a class with
just a name feature and have them both inherit from that.


O.K. Thank you.

The problem is that both classes that are inherited comes from different metamodels, and that particular attribute (name) is defined somewhere upper in hierarchy of both metamodels. As they are defined based on a spec. I cannot change their structure.

Is there some other way to do this?

--
Regards, Milan
Re: Error validating and converting Ecore model [message #501570 is a reply to message #501559] Wed, 02 December 2009 20:02 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

There is no other way. Perhaps trying to be an instance of two
different things from two different specifications is already a bit
questionable... Perhaps you should be trying to achieve your goal
through composition rather than inheritance...



Milan Milanovich wrote:
> Dear Mr. Merks,
> Ed Merks wrote on Wed, 02 December 2009 13:51
>> Milan,
>>
>> Yes the union of the all features in the class' hierarchy must not
>> contain features with duplicate names. You could define a class with
>> just a name feature and have them both inherit from that.
>
>
> O.K. Thank you.
>
> The problem is that both classes that are inherited comes from
> different metamodels, and that particular attribute (name) is defined
> somewhere upper in hierarchy of both metamodels. As they are defined
> based on a spec. I cannot change their structure.
>
> Is there some other way to do this?
>
> --
> Regards, Milan
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #503505 is a reply to message #501084] Mon, 14 December 2009 09:37 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

thank you very much.

I have generated a model code, edit and editor from this rBPMN.ecore (which includes R2ML.ecore and BPMN2.ecore), however when I run this editor as a new Eclipse Application, and choose EMF Example Model Creation Wizards, I see in this list all my packages. When I select one and click next, it generates me an error window:

The selected wizard could not be started.
  Plug-in "rBPMN_editor.editor" was unable to instantiate class "org.editor.rbpmn.presentation.RbpmnModelWizard".
  Could not initialize class org.editor.rbpmn.RbpmnPackage


However, it does not write anything my log file. In addition, I d o not have any errors in my project.

Do you know what is the problem?

--
Thank you in advance, Milan

[Updated on: Mon, 14 December 2009 14:38]

Report message to a moderator

Re: Error validating and converting Ecore model [message #503516 is a reply to message #503505] Mon, 14 December 2009 15:08 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

I'd expect the full stack trace to appear in the log file. You're
looking in the right place? The Error Log view or
<workspace>/.metadata/.log?


Milan Milanovich wrote:
> Dear Mr. Merks,
>
> thank you very much.
>
> I have generated a model code, edit and editor from this rBPMN.ecore
> (which includes R2ML.ecore and BPMN2.ecore), however when I run this
> editor as a new Eclipse Application, and choose EMF Example Model
> Creation Wizards, I see in this list all my packages. When I select
> one and click next, it generates me an error window:
>
> The selected wizard could not be started.
> Plug-in "rBPMN_editor.editor" was unable to instantiate class
> "org.editor.rbpmn.presentation.RbpmnModelWizard".
> Could not initialize class org.editor.rbpmn.RbpmnPackage
>
> However, it does not write anything my log file. In addition, I d o
> not have any errors in my project.
>
> Do you know what is the problem?
>
> --
> Thank you in advance, Milan
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #503528 is a reply to message #503516] Mon, 14 December 2009 15:36 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

no there is nothing in my log file for runtime-EclipseApp. This is complete content of .log file:

!SESSION 2009-10-14 17:57:55.593 -----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.5.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=sr_CS
Framework arguments:  -product org.eclipse.platform.ide
Command-line arguments:  -product org.eclipse.platform.ide -data E:\eclipse\workspace/../runtime-EclipseApplication -dev file:E:/eclipse/workspace/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.equinox.registry 2 0 2009-10-14 17:58:29.671
!MESSAGE The extensions and extension-points from the bundle "org.eclipse.gmf.runtime.common.ui.printing.win32" are ignored. The host bundle "org.eclipse.gmf.runtime.common.ui.printing" is not marked as singleton. 

!ENTRY org.eclipse.osgi 2 0 2009-10-14 17:58:36.625
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-10-14 17:58:36.625
!MESSAGE Bundle Strelka_Self_1.0.0 [4] was not resolved.
!SUBENTRY 2 Strelka_Self 2 0 2009-10-14 17:58:36.625
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-10-14 17:58:36.625
!MESSAGE Bundle Strelka_Self.diagram_1.0.0.qualifier [5] was not resolved.
!SUBENTRY 2 Strelka_Self.diagram 2 0 2009-10-14 17:58:36.625
!MESSAGE Missing required bundle Strelka_Self_0.0.0.
!SUBENTRY 2 Strelka_Self.diagram 2 0 2009-10-14 17:58:36.625
!MESSAGE Missing required bundle Strelka_Self.edit_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-10-14 17:58:36.625
!MESSAGE Bundle Strelka_Self.edit_1.0.0 [6] was not resolved.
!SUBENTRY 2 Strelka_Self.edit 2 0 2009-10-14 17:58:36.625
!MESSAGE Missing required bundle Strelka_Self_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-10-14 17:58:36.625
!MESSAGE Bundle org.eclipse.jdt.apt.pluggable.core_1.0.201.R35x_v20090818-0225 [374] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-10-14 17:58:36.625
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-10-14 17:58:36.625
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-10-14 17:58:36.625
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-10-14 17:58:36.625
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-10-14 17:58:36.625
!MESSAGE Bundle org.eclipse.jdt.compiler.apt_1.0.201.R35x_v20090825-1530 [376] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2009-10-14 17:58:36.625
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-10-14 17:58:36.625
!MESSAGE Bundle org.eclipse.jdt.compiler.tool_1.0.100.v_972_R35x [377] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2009-10-14 17:58:36.625
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6

!ENTRY com.atlassian.connector.eclipse.directclickthrough.ui 4 0 2009-10-14 17:59:26.296
!MESSAGE Unable to run embedded web server, Direct Click Through will not be available
!STACK 0
java.net.BindException: Address already in use: JVM_Bind
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.PlainSocketImpl.bind(Unknown Source)
	at java.net.ServerSocket.bind(Unknown Source)
	at java.net.ServerSocket.<init>(Unknown Source)
	at org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:80)
	at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
	at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:283)
	at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:147)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.Server.doStart(Server.java:233)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at com.atlassian.connector.eclipse.internal.directclickthrough.ui.DirectClickThroughUiPlugin$2.run(DirectClickThroughUiPlugin.java:88)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SESSION 2009-12-14 15:27:22.578 -----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=sr_CS
Framework arguments:  -product org.eclipse.platform.ide
Command-line arguments:  -product org.eclipse.platform.ide -data E:\eclipse\workspace/../runtime-EclipseApplication -dev file:E:/eclipse/workspace/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.equinox.registry 2 0 2009-12-14 15:27:43.218
!MESSAGE The extensions and extension-points from the bundle "org.eclipse.gmf.runtime.common.ui.printing.win32" are ignored. The host bundle "org.eclipse.gmf.runtime.common.ui.printing" is not marked as singleton. 

!ENTRY org.eclipse.emf.ecore 2 0 2009-12-14 15:27:52.578
!MESSAGE Both 'org.eclipse.emf.ecore' and 'rBPMN_editor' register a package for 'http://www.eclipse.org/emf/2002/Ecore'


Even if I click on the "Show Log Error", there is nothing written.

btw - I first noticed this when I tried to use model code and edit code in my GMF app. However, there I get this error when I tried to run GMF diagram:

org.osgi.framework.BundleException: Exception in org.editor.rbpmn.diagram.part.RBPMNDiagramEditorPlugin.start() of bundle rBPMN_editor.diagram.
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)
	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
	at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:267)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:263)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.createExecutableExtension(WorkbenchWizardElement.java:117)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.createWizard(WorkbenchWizardElement.java:261)
	at org.eclipse.ui.internal.dialogs.NewWizardNewPage$5.createWizard(NewWizardNewPage.java:729)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$2.run(WorkbenchWizardNode.java:151)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$1.run(WorkbenchWizardNode.java:135)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizard(WorkbenchWizardNode.java:132)
	at org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(WizardSelectionPage.java:104)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardSelectionPage.getNextPage(WorkbenchWizardSelectionPage.java:100)
	at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:823)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at org.eclipse.ui.actions.NewExampleAction.run(NewExampleAction.java:123)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
	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:368)
	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:559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: java.lang.ExceptionInInitializerError
	at org.editor.rbpmn.util.RbpmnSwitch.<init>(RbpmnSwitch.java:53)
	at org.editor.rbpmn.util.RbpmnAdapterFactory$1.<init>(RbpmnAdapterFactory.java:80)
	at org.editor.rbpmn.util.RbpmnAdapterFactory.<init>(RbpmnAdapterFactory.java:80)
	at org.editor.rbpmn.provider.RbpmnItemProviderAdapterFactory.<init>(RbpmnItemProviderAdapterFactory.java:70)
	at org.editor.rbpmn.diagram.part.RBPMNDiagramEditorPlugin.fillItemProviderFactories(RBPMNDiagramEditorPlugin.java:122)
	at org.editor.rbpmn.diagram.part.RBPMNDiagramEditorPlugin.createAdapterFactory(RBPMNDiagramEditorPlugin.java:114)
	at org.editor.rbpmn.diagram.part.RBPMNDiagramEditorPlugin.start(RBPMNDiagramEditorPlugin.java:89)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
	... 73 more
Caused by: org.eclipse.emf.common.util.WrappedException: java.lang.ClassNotFoundException: rbpmn.Common.CommonPackage
	at org.eclipse.emf.ecore.plugin.RegistryReader$EPackageDescriptor.getEPackage(RegistryReader.java:279)
	at org.eclipse.emf.ecore.impl.EPackageRegistryImpl.getEPackage(EPackageRegistryImpl.java:133)
	at org.editor.rbpmn.impl.RbpmnPackageImpl.init(RbpmnPackageImpl.java:260)
	at org.editor.rbpmn.RbpmnPackage.<clinit>(RbpmnPackage.java:62)
	... 83 more
Caused by: java.lang.ClassNotFoundException: rbpmn.Common.CommonPackage
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:494)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)
	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
	at org.eclipse.emf.ecore.plugin.RegistryReader$EPackageDescriptor.getEPackage(RegistryReader.java:272)
	... 86 more
Root exception:
java.lang.ExceptionInInitializerError
	at org.editor.rbpmn.util.RbpmnSwitch.<init>(RbpmnSwitch.java:53)
	at org.editor.rbpmn.util.RbpmnAdapterFactory$1.<init>(RbpmnAdapterFactory.java:80)
	at org.editor.rbpmn.util.RbpmnAdapterFactory.<init>(RbpmnAdapterFactory.java:80)
	at org.editor.rbpmn.provider.RbpmnItemProviderAdapterFactory.<init>(RbpmnItemProviderAdapterFactory.java:70)
	at org.editor.rbpmn.diagram.part.RBPMNDiagramEditorPlugin.fillItemProviderFactories(RBPMNDiagramEditorPlugin.java:122)
	at org.editor.rbpmn.diagram.part.RBPMNDiagramEditorPlugin.createAdapterFactory(RBPMNDiagramEditorPlugin.java:114)
	at org.editor.rbpmn.diagram.part.RBPMNDiagramEditorPlugin.start(RBPMNDiagramEditorPlugin.java:89)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)
	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
	at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:267)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:263)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.createExecutableExtension(WorkbenchWizardElement.java:117)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.createWizard(WorkbenchWizardElement.java:261)
	at org.eclipse.ui.internal.dialogs.NewWizardNewPage$5.createWizard(NewWizardNewPage.java:729)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$2.run(WorkbenchWizardNode.java:151)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$1.run(WorkbenchWizardNode.java:135)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizard(WorkbenchWizardNode.java:132)
	at org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(WizardSelectionPage.java:104)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardSelectionPage.getNextPage(WorkbenchWizardSelectionPage.java:100)
	at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:823)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at org.eclipse.ui.actions.NewExampleAction.run(NewExampleAction.java:123)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
	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:368)
	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:559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: org.eclipse.emf.common.util.WrappedException: java.lang.ClassNotFoundException: rbpmn.Common.CommonPackage
	at org.eclipse.emf.ecore.plugin.RegistryReader$EPackageDescriptor.getEPackage(RegistryReader.java:279)
	at org.eclipse.emf.ecore.impl.EPackageRegistryImpl.getEPackage(EPackageRegistryImpl.java:133)
	at org.editor.rbpmn.impl.RbpmnPackageImpl.init(RbpmnPackageImpl.java:260)
	at org.editor.rbpmn.RbpmnPackage.<clinit>(RbpmnPackage.java:62)
	... 83 more
Caused by: java.lang.ClassNotFoundException: rbpmn.Common.CommonPackage
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:494)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)
	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
	at org.eclipse.emf.ecore.plugin.RegistryReader$EPackageDescriptor.getEPackage(RegistryReader.java:272)
	... 86 more


When I tracked down the problem it seem to me that the problem is actually with EMF. Then I tried to generate the simple
EMF editor, and the problem remained.

--
Best regards, Milan
Re: Error validating and converting Ecore model [message #503549 is a reply to message #501084] Mon, 14 December 2009 16:47 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

I tried to re-generate the model, edit and editor code on another machine, also in the Eclipse Modeling Galileo, however the problem remains.

Here are my model files (I sent to you earlier) from which I generate all the code: http://rapidshare.com/files/320794235/model.zip.

Could you tell me what I did wrong?

--
Thank you in advance, Milan
Re: Error validating and converting Ecore model [message #503551 is a reply to message #503528] Mon, 14 December 2009 11:52 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

You might try removing all the plugin.xmls and regenerating them.
Things like rbpmn.Common.CommonPackage look to be very odd. Is this
really the qualified name of the actual class?


Milan Milanovich wrote:
> Dear Mr. Merks,
>
> no there is nothing in my log file for runtime-EclipseApp. This is
> complete content of .log file:
>
> !SESSION 2009-10-14 17:57:55.593
> -----------------------------------------------
> eclipse.buildId=M20090917-0800
> java.version=1.5.0_16
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=sr_CS
> Framework arguments: -product org.eclipse.platform.ide
> Command-line arguments: -product org.eclipse.platform.ide -data
> E:\eclipse\workspace/../runtime-EclipseApplication -dev
> file:E:/eclipse/workspace/.metadata/.plugins/org.eclipse.pde .core/Eclipse
> Application/dev.properties -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.equinox.registry 2 0 2009-10-14 17:58:29.671
> !MESSAGE The extensions and extension-points from the bundle
> "org.eclipse.gmf.runtime.common.ui.printing.win32" are ignored. The
> host bundle "org.eclipse.gmf.runtime.common.ui.printing" is not marked
> as singleton.
> !ENTRY org.eclipse.osgi 2 0 2009-10-14 17:58:36.625
> !MESSAGE The following is a complete list of bundles which are not
> resolved, see the prior log entry for the root cause if it exists:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2009-10-14 17:58:36.625
> !MESSAGE Bundle Strelka_Self_1.0.0 [4] was not resolved.
> !SUBENTRY 2 Strelka_Self 2 0 2009-10-14 17:58:36.625
> !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment:
> JavaSE-1.6
> !SUBENTRY 1 org.eclipse.osgi 2 0 2009-10-14 17:58:36.625
> !MESSAGE Bundle Strelka_Self.diagram_1.0.0.qualifier [5] was not
> resolved.
> !SUBENTRY 2 Strelka_Self.diagram 2 0 2009-10-14 17:58:36.625
> !MESSAGE Missing required bundle Strelka_Self_0.0.0.
> !SUBENTRY 2 Strelka_Self.diagram 2 0 2009-10-14 17:58:36.625
> !MESSAGE Missing required bundle Strelka_Self.edit_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2009-10-14 17:58:36.625
> !MESSAGE Bundle Strelka_Self.edit_1.0.0 [6] was not resolved.
> !SUBENTRY 2 Strelka_Self.edit 2 0 2009-10-14 17:58:36.625
> !MESSAGE Missing required bundle Strelka_Self_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2009-10-14 17:58:36.625
> !MESSAGE Bundle
> org.eclipse.jdt.apt.pluggable.core_1.0.201.R35x_v20090818-02 25 [374]
> was not resolved.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-10-14
> 17:58:36.625
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.tool_0.0.0.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-10-14
> 17:58:36.625
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-10-14
> 17:58:36.625
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-10-14
> 17:58:36.625
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2009-10-14 17:58:36.625
> !MESSAGE Bundle
> org.eclipse.jdt.compiler.apt_1.0.201.R35x_v20090825-1530 [376] was not
> resolved.
> !SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2009-10-14 17:58:36.625
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.tool_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2009-10-14 17:58:36.625
> !MESSAGE Bundle org.eclipse.jdt.compiler.tool_1.0.100.v_972_R35x [377]
> was not resolved.
> !SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2009-10-14 17:58:36.625
> !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment:
> JavaSE-1.6
>
> !ENTRY com.atlassian.connector.eclipse.directclickthrough.ui 4 0
> 2009-10-14 17:59:26.296
> !MESSAGE Unable to run embedded web server, Direct Click Through will
> not be available
> !STACK 0
> java.net.BindException: Address already in use: JVM_Bind
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(Unknown Source)
> at java.net.ServerSocket.bind(Unknown Source)
> at java.net.ServerSocket.<init>(Unknown Source)
> at
> org.mortbay.jetty.bio.SocketConnector.newServerSocket(Socket Connector.java:80)
>
> at
> org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.j ava:73)
> at
> org.mortbay.jetty.AbstractConnector.doStart(AbstractConnecto r.java:283)
> at
> org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnecto r.java:147)
> at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCy cle.java:50)
> at org.mortbay.jetty.Server.doStart(Server.java:233)
> at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCy cle.java:50)
> at
> com.atlassian.connector.eclipse.internal.directclickthrough. ui.DirectClickThroughUiPlugin$2.run(DirectClickThroughUiPlug in.java:88)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> !SESSION 2009-12-14 15:27:22.578
> -----------------------------------------------
> eclipse.buildId=M20090917-0800
> java.version=1.6.0_16
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=sr_CS
> Framework arguments: -product org.eclipse.platform.ide
> Command-line arguments: -product org.eclipse.platform.ide -data
> E:\eclipse\workspace/../runtime-EclipseApplication -dev
> file:E:/eclipse/workspace/.metadata/.plugins/org.eclipse.pde .core/Eclipse
> Application/dev.properties -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.equinox.registry 2 0 2009-12-14 15:27:43.218
> !MESSAGE The extensions and extension-points from the bundle
> "org.eclipse.gmf.runtime.common.ui.printing.win32" are ignored. The
> host bundle "org.eclipse.gmf.runtime.common.ui.printing" is not marked
> as singleton.
> !ENTRY org.eclipse.emf.ecore 2 0 2009-12-14 15:27:52.578
> !MESSAGE Both 'org.eclipse.emf.ecore' and 'rBPMN_editor' register a
> package for 'http://www.eclipse.org/emf/2002/Ecore'
>
> Even if I click on the "Show Log Error", there is nothing written.
>
> btw - I first noticed this when I tried to use model code and edit
> code in my GMF app. However, there I get this error when I tried to
> run GMF diagram:
>
> org.osgi.framework.BundleException: Exception in
> org.editor.rbpmn.diagram.part.RBPMNDiagramEditorPlugin.start () of
> bundle rBPMN_editor.diagram.
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:806)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:755)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:381)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:457)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:398)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:326)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>
> at
> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at
> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>
> at
> org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.creat eExecutableExtension(WorkbenchWizardElement.java:117)
>
> at
> org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.creat eWizard(WorkbenchWizardElement.java:261)
>
> at
> org.eclipse.ui.internal.dialogs.NewWizardNewPage$5.createWiz ard(NewWizardNewPage.java:729)
>
> at
> org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$2.run(Wo rkbenchWizardNode.java:151)
>
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at
> org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$1.run(Wo rkbenchWizardNode.java:135)
>
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at
> org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizar d(WorkbenchWizardNode.java:132)
>
> at
> org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(Wiz ardSelectionPage.java:104)
>
> at
> org.eclipse.ui.internal.dialogs.WorkbenchWizardSelectionPage .getNextPage(WorkbenchWizardSelectionPage.java:100)
>
> at
> org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:823)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:369)
>
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:624)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
> at org.eclipse.jface.window.Window.open(Window.java:801)
> at
> org.eclipse.ui.actions.NewExampleAction.run(NewExampleAction .java:123)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
> at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>
> 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(EclipseS tarter.java:368)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
> Caused by: java.lang.ExceptionInInitializerError
> at org.editor.rbpmn.util.RbpmnSwitch.<init>(RbpmnSwitch.java:53)
> at
> org.editor.rbpmn.util.RbpmnAdapterFactory$1.<init>(RbpmnAdapterFactory.java:80)
>
> at
> org.editor.rbpmn.util.RbpmnAdapterFactory.<init>(RbpmnAdapterFactory.java:80)
>
> at
> org.editor.rbpmn.provider.RbpmnItemProviderAdapterFactory.<init >(RbpmnItemProviderAdapterFactory.java:70)
>
> at
> org.editor.rbpmn.diagram.part.RBPMNDiagramEditorPlugin.fillI temProviderFactories(RBPMNDiagramEditorPlugin.java:122)
>
> at
> org.editor.rbpmn.diagram.part.RBPMNDiagramEditorPlugin.creat eAdapterFactory(RBPMNDiagramEditorPlugin.java:114)
>
> at
> org.editor.rbpmn.diagram.part.RBPMNDiagramEditorPlugin.start (RBPMNDiagramEditorPlugin.java:89)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:783)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:774)
>
> ... 73 more
> Caused by: org.eclipse.emf.common.util.WrappedException:
> java.lang.ClassNotFoundException: rbpmn.Common.CommonPackage
> at
> org.eclipse.emf.ecore.plugin.RegistryReader$EPackageDescript or.getEPackage(RegistryReader.java:279)
>
> at
> org.eclipse.emf.ecore.impl.EPackageRegistryImpl.getEPackage( EPackageRegistryImpl.java:133)
>
> at
> org.editor.rbpmn.impl.RbpmnPackageImpl.init(RbpmnPackageImpl .java:260)
> at org.editor.rbpmn.RbpmnPackage.<clinit>(RbpmnPackage.java:62)
> ... 83 more
> Caused by: java.lang.ClassNotFoundException: rbpmn.Common.CommonPackage
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:494)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:398)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:326)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>
> at
> org.eclipse.emf.ecore.plugin.RegistryReader$EPackageDescript or.getEPackage(RegistryReader.java:272)
>
> ... 86 more
> Root exception:
> java.lang.ExceptionInInitializerError
> at org.editor.rbpmn.util.RbpmnSwitch.<init>(RbpmnSwitch.java:53)
> at
> org.editor.rbpmn.util.RbpmnAdapterFactory$1.<init>(RbpmnAdapterFactory.java:80)
>
> at
> org.editor.rbpmn.util.RbpmnAdapterFactory.<init>(RbpmnAdapterFactory.java:80)
>
> at
> org.editor.rbpmn.provider.RbpmnItemProviderAdapterFactory.<init >(RbpmnItemProviderAdapterFactory.java:70)
>
> at
> org.editor.rbpmn.diagram.part.RBPMNDiagramEditorPlugin.fillI temProviderFactories(RBPMNDiagramEditorPlugin.java:122)
>
> at
> org.editor.rbpmn.diagram.part.RBPMNDiagramEditorPlugin.creat eAdapterFactory(RBPMNDiagramEditorPlugin.java:114)
>
> at
> org.editor.rbpmn.diagram.part.RBPMNDiagramEditorPlugin.start (RBPMNDiagramEditorPlugin.java:89)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:783)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:774)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:755)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:381)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:457)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:398)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:326)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>
> at
> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at
> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>
> at
> org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.creat eExecutableExtension(WorkbenchWizardElement.java:117)
>
> at
> org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.creat eWizard(WorkbenchWizardElement.java:261)
>
> at
> org.eclipse.ui.internal.dialogs.NewWizardNewPage$5.createWiz ard(NewWizardNewPage.java:729)
>
> at
> org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$2.run(Wo rkbenchWizardNode.java:151)
>
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at
> org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$1.run(Wo rkbenchWizardNode.java:135)
>
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at
> org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizar d(WorkbenchWizardNode.java:132)
>
> at
> org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(Wiz ardSelectionPage.java:104)
>
> at
> org.eclipse.ui.internal.dialogs.WorkbenchWizardSelectionPage .getNextPage(WorkbenchWizardSelectionPage.java:100)
>
> at
> org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:823)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:369)
>
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:624)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
> at org.eclipse.jface.window.Window.open(Window.java:801)
> at
> org.eclipse.ui.actions.NewExampleAction.run(NewExampleAction .java:123)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
> at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>
> 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(EclipseS tarter.java:368)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
> Caused by: org.eclipse.emf.common.util.WrappedException:
> java.lang.ClassNotFoundException: rbpmn.Common.CommonPackage
> at
> org.eclipse.emf.ecore.plugin.RegistryReader$EPackageDescript or.getEPackage(RegistryReader.java:279)
>
> at
> org.eclipse.emf.ecore.impl.EPackageRegistryImpl.getEPackage( EPackageRegistryImpl.java:133)
>
> at
> org.editor.rbpmn.impl.RbpmnPackageImpl.init(RbpmnPackageImpl .java:260)
> at org.editor.rbpmn.RbpmnPackage.<clinit>(RbpmnPackage.java:62)
> ... 83 more
> Caused by: java.lang.ClassNotFoundException: rbpmn.Common.CommonPackage
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:494)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:398)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:326)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>
> at
> org.eclipse.emf.ecore.plugin.RegistryReader$EPackageDescript or.getEPackage(RegistryReader.java:272)
>
> ... 86 more
>
> When I tracked down the problem it seem to me that the problem is
> actually with EMF. Then I tried to generate the simple
> EMF editor, and the problem remained.
>
> --
> Best regards, Milan


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #503554 is a reply to message #501084] Mon, 14 December 2009 17:00 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

No, rbpmn.Common is a package, not a class. I attached my model files in the post above.

O.K. I deleted plugin.xml and manifest.mf and regenerated them and it works now.

--
Thanks, Milan

[Updated on: Tue, 15 December 2009 10:18]

Report message to a moderator

Re: Error validating and converting Ecore model [message #503983 is a reply to message #503549] Wed, 16 December 2009 17:13 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

I guess you got this working? I've had to travel unexpectedly and have
had limited connectivity for two days...


Milan Milanovich wrote:
> Dear Mr. Merks,
>
> I tried to re-generate the model, edit and editor code on another
> machine, also in the Eclipse Modeling Galileo, however the problem
> remains.
>
> Here are my model files (I sent to you earlier) from which I generate
> all the code: http://rapidshare.com/files/320794235/model.zip
>
> Could you tell me what I did wrong?
>
> --
> Thank you in advance, Milan
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #504040 is a reply to message #503983] Wed, 16 December 2009 21:56 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

yes, that works now, thanks.

However, I have another problem with generating edit code. In my R2ML.ecore I have Primitivetypes package, which consists of some basic primitive DataTypes. And all works fine, however, when I generate GMF diagram code, in RBPMNDiagramEditorPlugin there is a missing reference to:

ca.athabascau.semtech.r2ml.primitivetypes.provider.Primitive typesItemProviderAdapterFactory;

It seems that this class is not generated at all in my edit code. Do you maybe know what is the problem here?

Here are my model files: http://rapidshare.com/files/321815479/model.zip

--
Best regards, Milan
Re: Error validating and converting Ecore model [message #504134 is a reply to message #504040] Thu, 17 December 2009 07:00 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

Comments below.

Milan Milanovich wrote:
> Dear Mr. Merks,
>
> yes, that works now, thanks.
>
> However, I have another problem with generating edit code. In my
> R2ML.ecore I have Primitivetypes package, which consists of some basic
> primitive DataTypes. And all works fine, however, when I generate GMF
> diagram code, in RBPMNDiagramEditorPlugin there is a missing reference
> to:
>
> ca.athabascau.semtech.r2ml.primitivetypes.provider.Primitive
> typesItemProviderAdapterFactory;
>
> It seems that this class is not generated at all in my edit code. Do
> you maybe know what is the problem here?
What's the value of the GenPackage's Prefix property? Does it contain a
space? That would be bad.
>
> Here are my model files: http://rapidshare.com/files/321815479/model.zip
>
> --
> Best regards, Milan


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #504146 is a reply to message #504134] Thu, 17 December 2009 12:36 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

the value of GenModel prefix property is Primitivetypes in my genmodel, and there is no spaces.

btw - my model code for this package is generated properly, however ItemProviderAdapterFactory in the edit is not.

I also see that one of my packages is genereated in model code like this: ca...r2ml.abstract_. It have a bottom line in the end of the package name, but I do not know why. However, there are no errors for this packge.

--
Best regards, Milan
Re: Error validating and converting Ecore model [message #504163 is a reply to message #504146] Thu, 17 December 2009 14:10 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

Comments below.


Milan Milanovich wrote:
> Dear Mr. Merks,
>
> the value of GenModel prefix property is Primitivetypes in my
> genmodel, and there is no spaces.
Is the space in the other post, i.e.,
" ca.athabascau.semtech.r2ml.primitivetypes.provider.Primitive
typesItemProviderAdapterFactory", part of the problem or a copy and
paste glitch? This value comes from the value of the Prefix property
for that package the same way as XyzPackage, XyzFactory for the package.
> btw - my model code for this package is generated properly, however
> ItemProviderAdapterFactory in the edit is not.
That doesn't make so much sense. The space is coming from the Prefix
you've specified like this in GenPackageImpl.

public String getItemProviderAdapterFactoryClassName()
{
return getPrefixedName("ItemProviderAdapterFactory");
}

protected String getPrefixedName(String name)
{
if (getPrefix() != null)
{
return getPrefix() + name;
}
return name;


> I also see that one of my packages is genereated in model code like
> this: ca...r2ml.abstract_. It have a bottom line in the end of the
> package name, but I do not know why.
Because abstract is a keyword so using it as a package name would
produce a syntax error.
> However, there are no errors for this packge.
>
> --
> Best regards, Milan


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #504185 is a reply to message #504163] Thu, 17 December 2009 15:42 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

Ed Merks wrote on Thu, 17 December 2009 09:10

Milan Milanovich wrote:
> Dear Mr. Merks,
>
> the value of GenModel prefix property is Primitivetypes in my
> genmodel, and there is no spaces.
Is the space in the other post, i.e.,
" ca.athabascau.semtech.r2ml.primitivetypes.provider.Primitive
typesItemProviderAdapterFactory", part of the problem or a copy and
paste glitch? This value comes from the value of the Prefix property
for that package the same way as XyzPackage, XyzFactory for the package.


Yes, I know that. This is a copy-paste glitch. This is correct code:

import ca.athabascau.semtech.r2ml.primitivetypes.provider.PrimitivetypesItemProviderAdapterFactory;


and later in fillItemProviderFactories() method, I have the error on this lane too:

factories.add(new PrimitivetypesItemProviderAdapterFactory());


Ed Merks wrote on Thu, 17 December 2009 09:10
> btw - my model code for this package is generated properly, however
> ItemProviderAdapterFactory in the edit is not.
That doesn't make so much sense. The space is coming from the Prefix
you've specified like this in GenPackageImpl.

public String getItemProviderAdapterFactoryClassName()
{
return getPrefixedName("ItemProviderAdapterFactory");
}

protected String getPrefixedName(String name)
{
if (getPrefix() != null)
{
return getPrefix() + name;
}
return name;



Well, In my generated model code I have:

package ca.athabascau.semtech.r2ml.primitivetypes;
and
package ca.athabascau.semtech.r2ml.primitivetypes.impl;

However, when I generate the edit code, it doesn't generate:

ca.athabascau.semtech.r2ml.primitivetypes.provider package and its classes.

--
Best regards, Milan Milanovic
Re: Error validating and converting Ecore model [message #504191 is a reply to message #504185] Thu, 17 December 2009 15:55 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

Does it generate the *.edit project at all? Are there errors in the
log? Did you look closely at the values of the Edit category properties
for your model?


Milan Milanovich wrote:
> Dear Mr. Merks,
>
> Ed Merks wrote on Thu, 17 December 2009 09:10
>> Milan Milanovich wrote:
>> > Dear Mr. Merks,
>> >
>> > the value of GenModel prefix property is Primitivetypes in my >
>> genmodel, and there is no spaces.
>> Is the space in the other post, i.e., "
>> ca.athabascau.semtech.r2ml.primitivetypes.provider.Primitive
>> typesItemProviderAdapterFactory", part of the problem or a copy and
>> paste glitch? This value comes from the value of the Prefix property
>> for that package the same way as XyzPackage, XyzFactory for the package.
>
>
> Yes, I know that. This is a copy-paste glitch. This is correct code:
>
> import
> ca.athabascau.semtech.r2ml.primitivetypes.provider.Primitive typesItemProviderAdapterFactory;
>
>
> and later in fillItemProviderFactories() method, I have the error on
> this lane too:
>
> factories.add(new PrimitivetypesItemProviderAdapterFactory());
>
> Ed Merks wrote on Thu, 17 December 2009 09:10
>> > btw - my model code for this package is generated properly, however
>> > ItemProviderAdapterFactory in the edit is not.
>> That doesn't make so much sense. The space is coming from the Prefix
>> you've specified like this in GenPackageImpl.
>>
>> public String getItemProviderAdapterFactoryClassName()
>> {
>> return getPrefixedName("ItemProviderAdapterFactory");
>> }
>>
>> protected String getPrefixedName(String name)
>> {
>> if (getPrefix() != null)
>> {
>> return getPrefix() + name;
>> }
>> return name;
>
>
> Well, In my generated model code I have:
>
> package ca.athabascau.semtech.r2ml.primitivetypes;
> and
> package ca.athabascau.semtech.r2ml.primitivetypes.impl;
>
> However, when I generate the edit code, it doesn't generate:
>
> ca.athabascau.semtech.r2ml.primitivetypes.provider package and its
> classes.
>
> --
> Best regards, Milan Milanovic
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #504198 is a reply to message #504191] Thu, 17 December 2009 16:22 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

Ed Merks wrote on Thu, 17 December 2009 10:55

Does it generate the *.edit project at all? Are there errors in the
log?

Yes, it does generate edit project correctly. And no, there are no errors in log.

Ed Merks wrote on Thu, 17 December 2009 10:55

Did you look closely at the values of the Edit category properties
for your model?


Do you mean in genmodel? If so, yes, I haven't changed anything, just generated genmodel from ecore, and then generated model and edit code.

--
Best regards, Milan


Re: Error validating and converting Ecore model [message #504210 is a reply to message #504198] Thu, 17 December 2009 16:58 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

Is this just a problem of missing plugin dependencies to help resolve
the imports. Keep in mind that plugin.xml and MANIFEST.MF don't
regenerate once they exist so if you've changed dependencies over time,
you'll need to delete and regenerate them or update them by hand.


Milan Milanovich wrote:
> Dear Mr. Merks,
>
> Ed Merks wrote on Thu, 17 December 2009 10:55
>> Does it generate the *.edit project at all? Are there errors in the
>> log?
>
> Yes, it does generate edit project correctly. And no, there are no
> errors in log.
>
> Ed Merks wrote on Thu, 17 December 2009 10:55
>> Did you look closely at the values of the Edit category properties
>> for your model?
>
>
> Do you mean in genmodel? If so, yes, I haven't changed anything, just
> generated genmodel from ecore, and then generated model and edit code.
>
> --
> Best regards, Milan
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #504213 is a reply to message #504210] Thu, 17 December 2009 17:14 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

no, it is not a problem. I just start from a clear project, and genmodel: http://rapidshare.com/files/321815479/model.zip. And yes, I delete plugin.xml and manifest.mf before I regenerate my model code.

I generate first, the model code and then the edit code. Later, I also generate diagram code for GMF.

However, ca.athabascau.semtech.r2ml.primitivetypes.provider package and its classes in edit code are missing.

--
Best regards, Milan Milanovic

[Updated on: Thu, 17 December 2009 17:15]

Report message to a moderator

Re: Error validating and converting Ecore model [message #504216 is a reply to message #504213] Thu, 17 December 2009 12:34 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

As usual, Rapidshare seems not so rapid; I might have time to look again
tomorrow.

By clear project you mean you've also deleted the underlying projects in
the file system, not just deleted the references to them from the workspace?


Milan Milanovich wrote:
> Dear Mr. Merks,
>
> no, it is not a problem. I just start from a clear project, and
> genmodel: http://rapidshare.com/files/321815479/model.zip And yes, I
> delete plugin.xml and manifest.mf before I regenerate my model code.
> I generate first, the model code and then the edit code. Later, I also
> generate diagram code for GMF.
>
> --
> Best regards, Milan Milanovic


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #504232 is a reply to message #504216] Thu, 17 December 2009 19:02 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

Ed Merks wrote on Thu, 17 December 2009 07:34
Milan,

As usual, Rapidshare seems not so rapid; I might have time to look again
tomorrow.

By clear project you mean you've also deleted the underlying projects in
the file system, not just deleted the references to them from the workspace?


Yes, I deleted all generated model packages in the file system, as well as the edit project.

Here is a static link to my project: http://milan.milanovic.org/model.zip.

--
Thank you, Milan



Re: Error validating and converting Ecore model [message #504323 is a reply to message #504232] Fri, 18 December 2009 05:32 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

It works fine for me.


Milan Milanovich wrote:
> Dear Mr. Merks,
>
> Ed Merks wrote on Thu, 17 December 2009 07:34
>> Milan,
>>
>> As usual, Rapidshare seems not so rapid; I might have time to look
>> again tomorrow.
>>
>> By clear project you mean you've also deleted the underlying projects
>> in the file system, not just deleted the references to them from the
>> workspace?
>
>
> Yes, I deleted all generated model packages in the file system, as
> well as the edit project.
>
> Here is a static link to my project:
> http://milan.milanovic.org/model.zip
>
> --
> Thank you, Milan
>
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #504328 is a reply to message #504323] Fri, 18 December 2009 05:58 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

it generates the ca.athabascau.semtech.r2ml.primitivetypes.provider package in the edit project ?

--
Best regards, Milan
Re: Error validating and converting Ecore model [message #504331 is a reply to message #504328] Fri, 18 December 2009 11:23 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

No, but I wouldn't expect it to given there are no EClasses in that
package. I wonder which version of EMF you're using.


Milan Milanovich wrote:
> Dear Mr. Merks,
>
> it generates the ca.athabascau.semtech.r2ml.primitivetypes.provider
> package in the edit project ?
>
> --
> Best regards, Milan


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #504337 is a reply to message #504331] Fri, 18 December 2009 07:04 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

I'm using Eclipse Modeling Galileo, and EMF which shipped with it, v2.5.0.

So, EMF does not generate ItemProviderAdapterFactory for package which does not contain EClasses ? But it generated the model code?

This is O.K. to me, but I don't know why GMF generated RBPMNDiagramEditorPlugin say that there is a missing reference to:

....r2ml.primitivetypes.provider.Primitive typesItemProviderAdapterFactory;
?

--
Thanks, Milan

Re: Error validating and converting Ecore model [message #504342 is a reply to message #504337] Fri, 18 December 2009 12:16 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Milan,

Comments below.


Milan Milanovich wrote:
> Dear Mr. Merks,
>
> I'm using Eclipse Modeling Galileo, and EMF which shipped with it,
> v2.5.0.
>
> So, EMF does not generate ItemProviderAdapterFactory for package which
> does not contain EClasses ? But it generated the model code?
Yes, because the model will have a generated factory for dealing with
the EDataTypes.
>
> This is O.K. to me, but I don't know why GMF generated
> RBPMNDiagramEditorPlugin say that there is a missing reference to:
>
> ...r2ml.primitivetypes.provider.Primitive
> typesItemProviderAdapterFactory;
Me either, but that's not an EMF question. Likely they don't have the
same guard to check that the package has EClasses.
> ?
>
> --
> Thanks, Milan
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error validating and converting Ecore model [message #504344 is a reply to message #504342] Fri, 18 December 2009 12:42 Go to previous message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Dear Mr. Merks,

O.K. Thank you very much for your help.

I removed primitivepackages package from my model, and replaced the types from this package with Ecore native E-types.

--
Best regards, Milan
Previous Topic:Dialog for attribute which is a list of strings (properties view)
Next Topic:[EMF/Teneo/Hibernate] "transient" emf model
Goto Forum:
  


Current Time: Fri Mar 29 15:36:45 GMT 2024

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

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

Back to the top