Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] MetaModelEvolution & Update

Hi Amalia,

I checked this bug and found the following: The co-evolution rule WAS applies, but only once instead of "as often as possible".
The bug was, that the co-evolution rule was put into an independent unit which had a former semantics of "as often as possible choose one unit non-deterministically". We changed its semantics to "choose one unit non-deterministically" some month ago.

Consequently, I simply changed the unit from an IndependentUnit to a CountedUnit(count=-1). Now everything works fine. Please perform a repository checkout and try again.

Best regards,
Stefan


Am 05.09.2011 23:43, schrieb NA S:
Hi,

Now, everything works fine except that the Co-Evolution of instance model is not successful. I'm not sure what's wrong?

Amalia

> Date: Mon, 5 Sep 2011 16:12:32 +0200
> From: Riegerf@xxxxxxxxxxxxxxxxxxxxxxx
> To: henshin-dev@xxxxxxxxxxx
> Subject: Re: [henshin-dev] MetaModelEvolution & Update
>
> Hi Amalia,
>
> Quoting NA S <anoniems@xxxxxxxx>:
> >> > I'm trying to run the MetaModelEvolution example but I get an error at
> >> > the evolveMetaModel_ReplaceRefWithRefclass method, when mm_unit1App is
> >> > executed. Am I missing something?
> > Yes, I got an exception, because MM_CreateRefClass is not applied.
> >
> > Exception in thread "main" java.lang.NullPointerException
> > at
> > statechart.diagram.metamodelevolution.Evolution1.start(Evolution1.java:132)
> > at
> > statechart.diagram.metamodelevolution.Evolution1.main(Evolution1.java:493)
>
> I tried reproducing your problem and would suggest you try to copy the
> files from the "backup" folder into the "model" folder before running
> the example. I could not reproduce your problem with the original
> contents of the "model" folder, but after I ran the program and the
> model folder's contents were replaced during the transformation and
> then tried running the program again, I got exactly your error, so I'd
> try if replacing the contents works.
>
> Felix
>
> _______________________________________________
> henshin-dev mailing list
> henshin-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/henshin-dev


_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev

Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top