Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [xtext] Couldn't load xmi file (org/openarchitectureware/xtext/xtext.xmi)
[xtext] Couldn't load xmi file (org/openarchitectureware/xtext/xtext.xmi) [message #381952] Mon, 21 April 2008 10:47 Go to next message
Eclipse UserFriend
Originally posted by: philipp.kutter.org

Hi.
I posted the same message on the 14th April on
www.openarchtectureware.org, and I assume no answer will come.

Thus I repost here:

I installed the newest oaw4.3b on eclipse 3.4m6 and EMF 2.4m6
Then I try an example xtxt file, and get the following.
Any ideas, what I am doing wrong?

Best, Philipp



0 INFO WorkflowRunner -
------------------------------------------------------------ --------------------------
16 INFO WorkflowRunner - openArchitectureWare 4.2.1, Build 200803080335NGT
16 INFO WorkflowRunner - (c) 2005-2007 openarchitectureware.org and
contributors
16 INFO WorkflowRunner -
------------------------------------------------------------ --------------------------
16 INFO WorkflowRunner - running workflow: generate.oaw
16 INFO WorkflowRunner -
1359 INFO StandaloneSetup - Registering platform uri 'C:\workspaces\xtext'
1406 INFO StandaloneSetup - Adding generated EPackage
'org.openarchitectureware.xtext.XtextPackage'
1438 INFO WorkflowComponent - grammar :
...//cmpwk.dsl/src-gen//org/example/dsl/cmpwk/parser/cmpwkds l.g
1438 INFO WorkflowComponent - -o
1438 INFO WorkflowComponent - .
1641 INFO CompositeComponent - Workflow: executing workflow
org/openarchitectureware/xtext/Generator.oaw in generate.oaw:3
1641 INFO CompositeComponent - Workflow: executing workflow
org/openarchitectureware/xtext/parser/Parser.oaw in
org/openarchitectureware/xtext/Generator.oaw:8
1641 INFO CompositeComponent - ParserComponent
Couldn't load xmi file (org/openarchitectureware/xtext/xtext.xmi)
Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@1ebd75b
(cardinality: NULL)Alternatives: with Group:
Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@ec4a87
(cardinality: ANY)Alternatives: ANY with
Assignment:CapabilityModel.capabilityTree ANY
Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@110fe28
(cardinality: ANY)Alternatives: ANY with
Assignment:CapabilityModel.connectors ANY
Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@9e29fb
(cardinality: ANY)Alternatives: ANY with
Assignment:CapabilityModel.valueChains ANY
Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@1d64c37
(cardinality: NULL)Alternatives: with Group:
1875 ERROR WorkflowRunner - java.lang.IllegalStateException
java.lang.RuntimeException: java.lang.IllegalStateException
at
org.openarchitectureware.xtext.parser.impl.AbstractParserCom ponent.invokeInternal(AbstractParserComponent.java:55)
at
org.openarchitectureware.workflow.lib.AbstractWorkflowCompon ent2.invoke(AbstractWorkflowComponent2.java:38)
at
org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:95)
at
org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:84)
at
org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:95)
at
org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:84)
at
org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:95)
at
org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:84)
at
org.openarchitectureware.workflow.WorkflowRunner.executeWork flow(WorkflowRunner.java:335)
at
org.openarchitectureware.workflow.WorkflowRunner.run(Workflo wRunner.java:252)
at
org.openarchitectureware.workflow.WorkflowRunner.main(Workfl owRunner.java:204)
Caused by: java.lang.IllegalStateException
at
org.openarchitectureware.xtext.parser.model.XtextGrammarUtil .normalize(XtextGrammarUtil.java:165)
at
org.openarchitectureware.xtext.parser.model.XtextGrammarUtil .normalize(XtextGrammarUtil.java:150)
at
org.openarchitectureware.xtext.parser.XtextParser.replace(Xt extParser.java:56)
at
org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:29)
at
org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
at
org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
at
org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
at
org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
at
org.openarchitectureware.xtext.parser.XtextParser.internalPr eLink(XtextParser.java:21)
at
org.openarchitectureware.xtext.parser.impl.AbstractXtextPars er.preLinking(AbstractXtextParser.java:58)
at
org.openarchitectureware.xtext.resource.AbstractXtextResourc e.doLoad(AbstractXtextResource.java:27)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1414)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1210)
at
org.openarchitectureware.xtext.parser.impl.AbstractParserCom ponent.invokeInternal(AbstractParserComponent.java:42)
.... 10 more
Re: [xtext] Couldn't load xmi file (org/openarchitectureware/xtext/xtext.xmi) [message #381953 is a reply to message #381952] Mon, 21 April 2008 13:49 Go to previous messageGo to next message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1771
Registered: July 2009
Senior Member
Hi Phillip,

I'm sorry for not giving feedback earlier, we've been working on the 4.3
release the last days.
It seems there's an issue with your grammar.
Could you please provide the example xtxt file as well?

thanks,
Sven

Philipp W. Kutter wrote:
> Hi.
> I posted the same message on the 14th April on
> www.openarchtectureware.org, and I assume no answer will come.
>
> Thus I repost here:
>
> I installed the newest oaw4.3b on eclipse 3.4m6 and EMF 2.4m6
> Then I try an example xtxt file, and get the following.
> Any ideas, what I am doing wrong?
>
> Best, Philipp
>
>
>
> 0 INFO WorkflowRunner -
> ------------------------------------------------------------ --------------------------
>
> 16 INFO WorkflowRunner - openArchitectureWare 4.2.1, Build 200803080335NGT
> 16 INFO WorkflowRunner - (c) 2005-2007 openarchitectureware.org and
> contributors
> 16 INFO WorkflowRunner -
> ------------------------------------------------------------ --------------------------
>
> 16 INFO WorkflowRunner - running workflow: generate.oaw
> 16 INFO WorkflowRunner -
> 1359 INFO StandaloneSetup - Registering platform uri 'C:\workspaces\xtext'
> 1406 INFO StandaloneSetup - Adding generated EPackage
> 'org.openarchitectureware.xtext.XtextPackage'
> 1438 INFO WorkflowComponent - grammar :
> ..//cmpwk.dsl/src-gen//org/example/dsl/cmpwk/parser/cmpwkdsl .g
> 1438 INFO WorkflowComponent - -o
> 1438 INFO WorkflowComponent - .
> 1641 INFO CompositeComponent - Workflow: executing workflow
> org/openarchitectureware/xtext/Generator.oaw in generate.oaw:3
> 1641 INFO CompositeComponent - Workflow: executing workflow
> org/openarchitectureware/xtext/parser/Parser.oaw in
> org/openarchitectureware/xtext/Generator.oaw:8
> 1641 INFO CompositeComponent - ParserComponent
> Couldn't load xmi file (org/openarchitectureware/xtext/xtext.xmi)
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@1ebd75b
> (cardinality: NULL)Alternatives: with Group:
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@ec4a87
> (cardinality: ANY)Alternatives: ANY with
> Assignment:CapabilityModel.capabilityTree ANY
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@110fe28
> (cardinality: ANY)Alternatives: ANY with
> Assignment:CapabilityModel.connectors ANY
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@9e29fb
> (cardinality: ANY)Alternatives: ANY with
> Assignment:CapabilityModel.valueChains ANY
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@1d64c37
> (cardinality: NULL)Alternatives: with Group:
> 1875 ERROR WorkflowRunner - java.lang.IllegalStateException
> java.lang.RuntimeException: java.lang.IllegalStateException
> at
> org.openarchitectureware.xtext.parser.impl.AbstractParserCom ponent.invokeInternal(AbstractParserComponent.java:55)
>
> at
> org.openarchitectureware.workflow.lib.AbstractWorkflowCompon ent2.invoke(AbstractWorkflowComponent2.java:38)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:95)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:84)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:95)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:84)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:95)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:84)
>
> at
> org.openarchitectureware.workflow.WorkflowRunner.executeWork flow(WorkflowRunner.java:335)
>
> at
> org.openarchitectureware.workflow.WorkflowRunner.run(Workflo wRunner.java:252)
>
> at
> org.openarchitectureware.workflow.WorkflowRunner.main(Workfl owRunner.java:204)
>
> Caused by: java.lang.IllegalStateException
> at
> org.openarchitectureware.xtext.parser.model.XtextGrammarUtil .normalize(XtextGrammarUtil.java:165)
>
> at
> org.openarchitectureware.xtext.parser.model.XtextGrammarUtil .normalize(XtextGrammarUtil.java:150)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.replace(Xt extParser.java:56)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:29)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.internalPr eLink(XtextParser.java:21)
>
> at
> org.openarchitectureware.xtext.parser.impl.AbstractXtextPars er.preLinking(AbstractXtextParser.java:58)
>
> at
> org.openarchitectureware.xtext.resource.AbstractXtextResourc e.doLoad(AbstractXtextResource.java:27)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1414)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1210)
>
> at
> org.openarchitectureware.xtext.parser.impl.AbstractParserCom ponent.invokeInternal(AbstractParserComponent.java:42)
>
> ... 10 more


--
Need professional support on Xtext or Xtend?
Mail to: xtext (at) itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Re: [xtext] Couldn't load xmi file (org/openarchitectureware/xtext/xtext.xmi) [message #381954 is a reply to message #381952] Mon, 21 April 2008 13:51 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1771
Registered: July 2009
Senior Member
And please post it to www.openrchitectureware.org again.
We'll switch to Eclipse newsgroups (eclipse.modeling.tmf) late summer.

thanks,
Sven

Philipp W. Kutter wrote:
> Hi.
> I posted the same message on the 14th April on
> www.openarchtectureware.org, and I assume no answer will come.
>
> Thus I repost here:
>
> I installed the newest oaw4.3b on eclipse 3.4m6 and EMF 2.4m6
> Then I try an example xtxt file, and get the following.
> Any ideas, what I am doing wrong?
>
> Best, Philipp
>
>
>
> 0 INFO WorkflowRunner -
> ------------------------------------------------------------ --------------------------
>
> 16 INFO WorkflowRunner - openArchitectureWare 4.2.1, Build 200803080335NGT
> 16 INFO WorkflowRunner - (c) 2005-2007 openarchitectureware.org and
> contributors
> 16 INFO WorkflowRunner -
> ------------------------------------------------------------ --------------------------
>
> 16 INFO WorkflowRunner - running workflow: generate.oaw
> 16 INFO WorkflowRunner -
> 1359 INFO StandaloneSetup - Registering platform uri 'C:\workspaces\xtext'
> 1406 INFO StandaloneSetup - Adding generated EPackage
> 'org.openarchitectureware.xtext.XtextPackage'
> 1438 INFO WorkflowComponent - grammar :
> ..//cmpwk.dsl/src-gen//org/example/dsl/cmpwk/parser/cmpwkdsl .g
> 1438 INFO WorkflowComponent - -o
> 1438 INFO WorkflowComponent - .
> 1641 INFO CompositeComponent - Workflow: executing workflow
> org/openarchitectureware/xtext/Generator.oaw in generate.oaw:3
> 1641 INFO CompositeComponent - Workflow: executing workflow
> org/openarchitectureware/xtext/parser/Parser.oaw in
> org/openarchitectureware/xtext/Generator.oaw:8
> 1641 INFO CompositeComponent - ParserComponent
> Couldn't load xmi file (org/openarchitectureware/xtext/xtext.xmi)
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@1ebd75b
> (cardinality: NULL)Alternatives: with Group:
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@ec4a87
> (cardinality: ANY)Alternatives: ANY with
> Assignment:CapabilityModel.capabilityTree ANY
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@110fe28
> (cardinality: ANY)Alternatives: ANY with
> Assignment:CapabilityModel.connectors ANY
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@9e29fb
> (cardinality: ANY)Alternatives: ANY with
> Assignment:CapabilityModel.valueChains ANY
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@1d64c37
> (cardinality: NULL)Alternatives: with Group:
> 1875 ERROR WorkflowRunner - java.lang.IllegalStateException
> java.lang.RuntimeException: java.lang.IllegalStateException
> at
> org.openarchitectureware.xtext.parser.impl.AbstractParserCom ponent.invokeInternal(AbstractParserComponent.java:55)
>
> at
> org.openarchitectureware.workflow.lib.AbstractWorkflowCompon ent2.invoke(AbstractWorkflowComponent2.java:38)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:95)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:84)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:95)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:84)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:95)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:84)
>
> at
> org.openarchitectureware.workflow.WorkflowRunner.executeWork flow(WorkflowRunner.java:335)
>
> at
> org.openarchitectureware.workflow.WorkflowRunner.run(Workflo wRunner.java:252)
>
> at
> org.openarchitectureware.workflow.WorkflowRunner.main(Workfl owRunner.java:204)
>
> Caused by: java.lang.IllegalStateException
> at
> org.openarchitectureware.xtext.parser.model.XtextGrammarUtil .normalize(XtextGrammarUtil.java:165)
>
> at
> org.openarchitectureware.xtext.parser.model.XtextGrammarUtil .normalize(XtextGrammarUtil.java:150)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.replace(Xt extParser.java:56)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:29)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.internalPr eLink(XtextParser.java:21)
>
> at
> org.openarchitectureware.xtext.parser.impl.AbstractXtextPars er.preLinking(AbstractXtextParser.java:58)
>
> at
> org.openarchitectureware.xtext.resource.AbstractXtextResourc e.doLoad(AbstractXtextResource.java:27)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1414)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1210)
>
> at
> org.openarchitectureware.xtext.parser.impl.AbstractParserCom ponent.invokeInternal(AbstractParserComponent.java:42)
>
> ... 10 more


--
Need professional support on Xtext or Xtend?
Mail to: xtext (at) itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Re: [xtext] Couldn't load xmi file (org/openarchitectureware/xtext/xtext.xmi) [message #614903 is a reply to message #381952] Mon, 21 April 2008 13:49 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1771
Registered: July 2009
Senior Member
Hi Phillip,

I'm sorry for not giving feedback earlier, we've been working on the 4.3
release the last days.
It seems there's an issue with your grammar.
Could you please provide the example xtxt file as well?

thanks,
Sven

Philipp W. Kutter wrote:
> Hi.
> I posted the same message on the 14th April on
> www.openarchtectureware.org, and I assume no answer will come.
>
> Thus I repost here:
>
> I installed the newest oaw4.3b on eclipse 3.4m6 and EMF 2.4m6
> Then I try an example xtxt file, and get the following.
> Any ideas, what I am doing wrong?
>
> Best, Philipp
>
>
>
> 0 INFO WorkflowRunner -
> ------------------------------------------------------------ --------------------------
>
> 16 INFO WorkflowRunner - openArchitectureWare 4.2.1, Build 200803080335NGT
> 16 INFO WorkflowRunner - (c) 2005-2007 openarchitectureware.org and
> contributors
> 16 INFO WorkflowRunner -
> ------------------------------------------------------------ --------------------------
>
> 16 INFO WorkflowRunner - running workflow: generate.oaw
> 16 INFO WorkflowRunner -
> 1359 INFO StandaloneSetup - Registering platform uri 'C:\workspaces\xtext'
> 1406 INFO StandaloneSetup - Adding generated EPackage
> 'org.openarchitectureware.xtext.XtextPackage'
> 1438 INFO WorkflowComponent - grammar :
> ..//cmpwk.dsl/src-gen//org/example/dsl/cmpwk/parser/cmpwkdsl .g
> 1438 INFO WorkflowComponent - -o
> 1438 INFO WorkflowComponent - .
> 1641 INFO CompositeComponent - Workflow: executing workflow
> org/openarchitectureware/xtext/Generator.oaw in generate.oaw:3
> 1641 INFO CompositeComponent - Workflow: executing workflow
> org/openarchitectureware/xtext/parser/Parser.oaw in
> org/openarchitectureware/xtext/Generator.oaw:8
> 1641 INFO CompositeComponent - ParserComponent
> Couldn't load xmi file (org/openarchitectureware/xtext/xtext.xmi)
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@1ebd75b
> (cardinality: NULL)Alternatives: with Group:
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@ec4a87
> (cardinality: ANY)Alternatives: ANY with
> Assignment:CapabilityModel.capabilityTree ANY
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@110fe28
> (cardinality: ANY)Alternatives: ANY with
> Assignment:CapabilityModel.connectors ANY
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@9e29fb
> (cardinality: ANY)Alternatives: ANY with
> Assignment:CapabilityModel.valueChains ANY
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@1d64c37
> (cardinality: NULL)Alternatives: with Group:
> 1875 ERROR WorkflowRunner - java.lang.IllegalStateException
> java.lang.RuntimeException: java.lang.IllegalStateException
> at
> org.openarchitectureware.xtext.parser.impl.AbstractParserCom ponent.invokeInternal(AbstractParserComponent.java:55)
>
> at
> org.openarchitectureware.workflow.lib.AbstractWorkflowCompon ent2.invoke(AbstractWorkflowComponent2.java:38)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:95)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:84)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:95)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:84)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:95)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:84)
>
> at
> org.openarchitectureware.workflow.WorkflowRunner.executeWork flow(WorkflowRunner.java:335)
>
> at
> org.openarchitectureware.workflow.WorkflowRunner.run(Workflo wRunner.java:252)
>
> at
> org.openarchitectureware.workflow.WorkflowRunner.main(Workfl owRunner.java:204)
>
> Caused by: java.lang.IllegalStateException
> at
> org.openarchitectureware.xtext.parser.model.XtextGrammarUtil .normalize(XtextGrammarUtil.java:165)
>
> at
> org.openarchitectureware.xtext.parser.model.XtextGrammarUtil .normalize(XtextGrammarUtil.java:150)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.replace(Xt extParser.java:56)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:29)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.internalPr eLink(XtextParser.java:21)
>
> at
> org.openarchitectureware.xtext.parser.impl.AbstractXtextPars er.preLinking(AbstractXtextParser.java:58)
>
> at
> org.openarchitectureware.xtext.resource.AbstractXtextResourc e.doLoad(AbstractXtextResource.java:27)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1414)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1210)
>
> at
> org.openarchitectureware.xtext.parser.impl.AbstractParserCom ponent.invokeInternal(AbstractParserComponent.java:42)
>
> ... 10 more


--
Need professional support on Xtext or Xtend?
Mail to: xtext (at) itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Re: [xtext] Couldn't load xmi file (org/openarchitectureware/xtext/xtext.xmi) [message #615765 is a reply to message #381952] Mon, 21 April 2008 13:51 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1771
Registered: July 2009
Senior Member
And please post it to www.openrchitectureware.org again.
We'll switch to Eclipse newsgroups (eclipse.modeling.tmf) late summer.

thanks,
Sven

Philipp W. Kutter wrote:
> Hi.
> I posted the same message on the 14th April on
> www.openarchtectureware.org, and I assume no answer will come.
>
> Thus I repost here:
>
> I installed the newest oaw4.3b on eclipse 3.4m6 and EMF 2.4m6
> Then I try an example xtxt file, and get the following.
> Any ideas, what I am doing wrong?
>
> Best, Philipp
>
>
>
> 0 INFO WorkflowRunner -
> ------------------------------------------------------------ --------------------------
>
> 16 INFO WorkflowRunner - openArchitectureWare 4.2.1, Build 200803080335NGT
> 16 INFO WorkflowRunner - (c) 2005-2007 openarchitectureware.org and
> contributors
> 16 INFO WorkflowRunner -
> ------------------------------------------------------------ --------------------------
>
> 16 INFO WorkflowRunner - running workflow: generate.oaw
> 16 INFO WorkflowRunner -
> 1359 INFO StandaloneSetup - Registering platform uri 'C:\workspaces\xtext'
> 1406 INFO StandaloneSetup - Adding generated EPackage
> 'org.openarchitectureware.xtext.XtextPackage'
> 1438 INFO WorkflowComponent - grammar :
> ..//cmpwk.dsl/src-gen//org/example/dsl/cmpwk/parser/cmpwkdsl .g
> 1438 INFO WorkflowComponent - -o
> 1438 INFO WorkflowComponent - .
> 1641 INFO CompositeComponent - Workflow: executing workflow
> org/openarchitectureware/xtext/Generator.oaw in generate.oaw:3
> 1641 INFO CompositeComponent - Workflow: executing workflow
> org/openarchitectureware/xtext/parser/Parser.oaw in
> org/openarchitectureware/xtext/Generator.oaw:8
> 1641 INFO CompositeComponent - ParserComponent
> Couldn't load xmi file (org/openarchitectureware/xtext/xtext.xmi)
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@1ebd75b
> (cardinality: NULL)Alternatives: with Group:
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@ec4a87
> (cardinality: ANY)Alternatives: ANY with
> Assignment:CapabilityModel.capabilityTree ANY
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@110fe28
> (cardinality: ANY)Alternatives: ANY with
> Assignment:CapabilityModel.connectors ANY
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@9e29fb
> (cardinality: ANY)Alternatives: ANY with
> Assignment:CapabilityModel.valueChains ANY
> Replacing org.openarchitectureware.xtext.impl.AlternativesImpl@1d64c37
> (cardinality: NULL)Alternatives: with Group:
> 1875 ERROR WorkflowRunner - java.lang.IllegalStateException
> java.lang.RuntimeException: java.lang.IllegalStateException
> at
> org.openarchitectureware.xtext.parser.impl.AbstractParserCom ponent.invokeInternal(AbstractParserComponent.java:55)
>
> at
> org.openarchitectureware.workflow.lib.AbstractWorkflowCompon ent2.invoke(AbstractWorkflowComponent2.java:38)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:95)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:84)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:95)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:84)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:95)
>
> at
> org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:84)
>
> at
> org.openarchitectureware.workflow.WorkflowRunner.executeWork flow(WorkflowRunner.java:335)
>
> at
> org.openarchitectureware.workflow.WorkflowRunner.run(Workflo wRunner.java:252)
>
> at
> org.openarchitectureware.workflow.WorkflowRunner.main(Workfl owRunner.java:204)
>
> Caused by: java.lang.IllegalStateException
> at
> org.openarchitectureware.xtext.parser.model.XtextGrammarUtil .normalize(XtextGrammarUtil.java:165)
>
> at
> org.openarchitectureware.xtext.parser.model.XtextGrammarUtil .normalize(XtextGrammarUtil.java:150)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.replace(Xt extParser.java:56)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:29)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.normalize( XtextParser.java:49)
>
> at
> org.openarchitectureware.xtext.parser.XtextParser.internalPr eLink(XtextParser.java:21)
>
> at
> org.openarchitectureware.xtext.parser.impl.AbstractXtextPars er.preLinking(AbstractXtextParser.java:58)
>
> at
> org.openarchitectureware.xtext.resource.AbstractXtextResourc e.doLoad(AbstractXtextResource.java:27)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1414)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1210)
>
> at
> org.openarchitectureware.xtext.parser.impl.AbstractParserCom ponent.invokeInternal(AbstractParserComponent.java:42)
>
> ... 10 more


--
Need professional support on Xtext or Xtend?
Mail to: xtext (at) itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Previous Topic:[xtext] Couldn't load xmi file (org/openarchitectureware/xtext/xtext.xmi)
Next Topic:[TCS]
Goto Forum:
  


Current Time: Fri Nov 21 18:05:55 GMT 2014

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

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