Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Re: 'EStructuralFeature' is not a valid classifier
Re: 'EStructuralFeature' is not a valid classifier [message #62363] Tue, 25 September 2007 12:39
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Swetha,

EStructuralFeature is an abstract EClass so you cannot create an
instance of it. You need to create either an EReference or an
EAttribute depending on the eType; if the eType is an EClass, you should
create an EReference and if the eType is an EDataType you should create
an EAttribute. When you have questions that involve ATL please use the
m2m newsgroup which I've added to the "to" list of the reply.


Swetha wrote:
> Hi,
>
> I am working on a UML to Ecore converter.I am getting the below error
>
>
> SEVERE: ****** BEGIN Stack Trace
> SEVERE: exception: SEVERE: The class 'EStructuralFeature' is not a
> valid classifier
> java.lang.IllegalArgumentException: The class 'EStructuralFeature' is
> not a valid classifier
> at
> org.eclipse.emf.ecore.impl.EcoreFactoryImpl.create(EcoreFact oryImpl.java:104)
>
> at
> org.eclipse.m2m.atl.drivers.emf4atl.ASMEMFModel.newModelElem ent(ASMEMFModel.java:186)
>
> at
> org.eclipse.m2m.atl.engine.vm.nativelib.ASMModel.newModelEle ment(ASMModel.java:76)
>
> at
> org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:209)
>
> at
> org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:325)
>
> at
> org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation .java:161)
> at
> org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:133)
>
> at
> org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:91)
>
> at
> org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:230)
>
> at
> org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation .java:161)
> at
> org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:133)
>
> at
> org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:91)
>
> at
> org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:230)
>
> at
> org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation .java:161)
> at
> org.eclipse.m2m.atl.engine.vm.ASMInterpreter.<init>(ASMInterpreter.java:289)
>
> at
> org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.ja va:155)
> at
> org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.ja va:105)
> at org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.ja va:81)
> at
> org.eclipse.m2m.atl.adt.launching.AtlRegularVM.runAtlLaunche r(AtlRegularVM.java:351)
>
> at
> org.eclipse.m2m.atl.adt.launching.AtlRegularVM.runAtlLaunche r(AtlRegularVM.java:453)
>
> at
> org.eclipse.m2m.atl.adt.launching.AtlRegularVM.launch(AtlReg ularVM.java:425)
>
> at
> org.eclipse.m2m.atl.adt.launching.AtlLaunchConfigurationDele gate.launch(AtlLaunchConfigurationDelegate.java:35)
>
> at
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:766)
>
> at
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:608)
>
> at
> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:899)
>
> at
> org.eclipse.debug.internal.ui.DebugUIPlugin$7.run(DebugUIPlu gin.java:1102)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
>
>
>
>
>
> Can you please suggest a solution to this problem at the earliest.
>
> Regards,
> Swetha.
>
>
Previous Topic:[ATL] Error injecting KM3 with Ant
Next Topic:Re: Help with .ecore files, please
Goto Forum:
  


Current Time: Thu Nov 14 12:12:32 GMT 2024

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

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

Back to the top