Skip to main content


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 06:49 Go to next message
Allen Zhang is currently offline Allen ZhangFriend
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 07:31 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7680
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: Sat Dec 07 08:43:05 GMT 2024

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

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

Back to the top