Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [qvto]failed to create object
[qvto]failed to create object [message #808806] Tue, 28 February 2012 01:49 Go to next message
Allen Zhang is currently offline Allen Zhang
Messages: 14
Registered: February 2012
Junior Member
I want to create an object when doing transformation, e.g.
var a := object Invoke {
...
};

but exception happened:

org.eclipse.m2m.internal.qvt.oml.emf.util.EmfException: Failed to save model to platform:/resource/Bpel to Bpel 1/transforms/OrderProcessing.bpel
Failed to save model to platform:/resource/Bpel to Bpel 1/transforms/OrderProcessing.bpel
eObject cannot be null in getNamespaceMap()

can anybody tell me why?
Re: [qvto]failed to create object [message #808830 is a reply to message #808806] Tue, 28 February 2012 02:31 Go to previous message
Ed Willink is currently offline Ed Willink
Messages: 4026
Registered: July 2009
Senior Member
Hi

I suspect that "eObject cannot be null" is the clue. Somehow one of your
contributions produced OCL-null or OCL-invalid.

Regards

Ed Willink

On 28/02/2012 06:49, Allen Zhang wrote:
> I want to create an object when doing transformation, e.g.
> var a := object Invoke {
> ...
> };
>
> but exception happened:
>
> org.eclipse.m2m.internal.qvt.oml.emf.util.EmfException: Failed to save
> model to platform:/resource/Bpel to Bpel
> 1/transforms/OrderProcessing.bpel Failed to save model to
> platform:/resource/Bpel to Bpel 1/transforms/OrderProcessing.bpel
> eObject cannot be null in getNamespaceMap()
>
> can anybody tell me why?
Previous Topic:[qvto]How to add a node in one doc to another doc
Next Topic:[ATL] [Solved] Calling a rule a fixed number of times
Goto Forum:
  


Current Time: Thu Aug 21 12:05:06 EDT 2014

Powered by FUDForum. Page generated in 0.01791 seconds