Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » mwe Workflow xmi Writer error(Writer can't write to xmi file.)
mwe Workflow xmi Writer error [message #490992] Mon, 12 October 2009 13:18 Go to next message
Eclipse UserFriend
Hello,

I am doing a M2M transformation with eclipse modeling tools, using oaw. I am on a WindowsXP machine and have full admin permissions. The transformation part is going fine but when the Writer tries to write the generated target model to the xmi file I am getting a null point exception (at least that is what I think is going on).

This is the output of the console:

INFO: Reader(xmiHilesParser): Loading model from platform:/resource/MyProject.generator/models/System.xmi
12/10/2009 12:12:42 PM org.eclipse.emf.mwe.core.container.CompositeComponent internalInvoke
INFO: XtendComponent: executing 'transformations::M2M'
12/10/2009 12:12:43 PM org.eclipse.emf.mwe.core.container.CompositeComponent internalInvoke
INFO: Writer: Writing model to platform:/resource/MyProject.generator/models/Buzzer.xmi
12/10/2009 12:12:43 PM org.eclipse.emf.mwe.core.WorkflowRunner executeWorkflow
GRAVE: null
java.lang.NullPointerException

Even with this error the Buzzer.xmi file is generated but nothing gets written to it.

Any ideas?
Re: mwe Workflow xmi Writer error [message #491006 is a reply to message #490992] Mon, 12 October 2009 14:38 Go to previous message
Eclipse UserFriend
It happened to be an attribute in the target model that didn't have the EType attribute set. The wierd thing is that it validated ok.

Any ideas on what to configure on the validator options to make it check for EType attribute set?

Previous Topic:[QVTO] How to call different mappings based on some predicate?
Next Topic:[ATL]Anybody knows how to make comments for a section?
Goto Forum:
  


Current Time: Wed Jul 16 08:21:07 EDT 2025

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

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

Back to the top