Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/383957/#msg_383957
I'm trying to use HUTN in order to define a SQL model, but when I save the
file I just get this error:
org.epsilon.hutn.exceptions.HutnGenerationException:
java.lang.NullPointerException
The URI of the metamodel I'm using is 'http:///SQLModel.ecore', from the
main package of the ecore file (it has child packages). First I thougth it
failed because of the chidren packages, but I managed to define a QVT
model and another I made for proofs (both with child packages).
My code where I specify de metamodel is just:
=================================================
@Spec{
MetaModel "sqmodel"{
nsUri = "http:///SQLModel.ecore"
}
}
=================================================
Do you know something about this error?
Thanks,
Héctor.]]>Hector Iturria2008-07-17T07:57:06-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/383958/#msg_383958
I suspect that this problem is fixed in some recent changes made to
HUTN. I will investigate your problem this afternoon and post an update.
Cheers,
Louis.
Héctor Iturria wrote:
> Hello,
> I'm trying to use HUTN in order to define a SQL model, but when I save
> the file I just get this error:
> org.epsilon.hutn.exceptions.HutnGenerationException:
> java.lang.NullPointerException
>
> The URI of the metamodel I'm using is 'http:///SQLModel.ecore', from the
> main package of the ecore file (it has child packages). First I thougth
> it failed because of the chidren packages, but I managed to define a QVT
> model and another I made for proofs (both with child packages).
>
> My code where I specify de metamodel is just:
> =================================================
> @Spec{
> MetaModel "sqmodel"{
> nsUri = "http:///SQLModel.ecore"
> }
> } =================================================
>
> Do you know something about this error?
>
> Thanks,
> Héctor.]]>Louis Rose2008-07-17T10:59:28-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618237/#msg_618237
I suspect that this problem is fixed in some recent changes made to
HUTN. I will investigate your problem this afternoon and post an update.
Cheers,
Louis.
Héctor Iturria wrote:
> Hello,
> I'm trying to use HUTN in order to define a SQL model, but when I save
> the file I just get this error:
> org.epsilon.hutn.exceptions.HutnGenerationException:
> java.lang.NullPointerException
>
> The URI of the metamodel I'm using is 'http:///SQLModel.ecore', from the
> main package of the ecore file (it has child packages). First I thougth
> it failed because of the chidren packages, but I managed to define a QVT
> model and another I made for proofs (both with child packages).
>
> My code where I specify de metamodel is just:
> =================================================
> @Spec{
> MetaModel "sqmodel"{
> nsUri = "http:///SQLModel.ecore"
> }
> } =================================================
>
> Do you know something about this error?
>
> Thanks,
> Héctor.]]>Louis Rose2008-07-17T10:59:28-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384228/#msg_384228
Recently, we have performing some migration activities on Epsilon, and
the HUTN test suite is currently being migrated. I aim to finish this
tomorrow, and will have a better idea of the cause of your problem then.
In the meantime, here are some things to check:
1) Ensure that your metamodel is registered with Epsilon. (Right-click
the Ecore file and click Register EPackages).
2) Ensure that you specify a body after your HUTN header. For example:
(The above example assumes that a Table classifier exists in your
metamodel, and that the Table classifier defines a String attribute
called name).
Finally, if you could send me your metamodel and HUTN source, I will
continue to investigate your problem over the next few days.
Many thanks,
Louis.
Louis Rose wrote:
> Hi Héctor,
>
> I suspect that this problem is fixed in some recent changes made to
> HUTN. I will investigate your problem this afternoon and post an update.
>
> Cheers,
> Louis.
>
> Héctor Iturria wrote:
>> Hello,
>> I'm trying to use HUTN in order to define a SQL model, but when I save
>> the file I just get this error:
>> org.epsilon.hutn.exceptions.HutnGenerationException:
>> java.lang.NullPointerException
>>
>> The URI of the metamodel I'm using is 'http:///SQLModel.ecore', from
>> the main package of the ecore file (it has child packages). First I
>> thougth it failed because of the chidren packages, but I managed to
>> define a QVT model and another I made for proofs (both with child
>> packages).
>>
>> My code where I specify de metamodel is just:
>> =================================================
>> @Spec{
>> MetaModel "sqmodel"{
>> nsUri = "http:///SQLModel.ecore"
>> }
>> } =================================================
>>
>> Do you know something about this error?
>>
>> Thanks,
>> Héctor.]]>Louis Rose2008-07-17T19:32:52-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618239/#msg_618239
Recently, we have performing some migration activities on Epsilon, and
the HUTN test suite is currently being migrated. I aim to finish this
tomorrow, and will have a better idea of the cause of your problem then.
In the meantime, here are some things to check:
1) Ensure that your metamodel is registered with Epsilon. (Right-click
the Ecore file and click Register EPackages).
2) Ensure that you specify a body after your HUTN header. For example:
(The above example assumes that a Table classifier exists in your
metamodel, and that the Table classifier defines a String attribute
called name).
Finally, if you could send me your metamodel and HUTN source, I will
continue to investigate your problem over the next few days.
Many thanks,
Louis.
Louis Rose wrote:
> Hi Héctor,
>
> I suspect that this problem is fixed in some recent changes made to
> HUTN. I will investigate your problem this afternoon and post an update.
>
> Cheers,
> Louis.
>
> Héctor Iturria wrote:
>> Hello,
>> I'm trying to use HUTN in order to define a SQL model, but when I save
>> the file I just get this error:
>> org.epsilon.hutn.exceptions.HutnGenerationException:
>> java.lang.NullPointerException
>>
>> The URI of the metamodel I'm using is 'http:///SQLModel.ecore', from
>> the main package of the ecore file (it has child packages). First I
>> thougth it failed because of the chidren packages, but I managed to
>> define a QVT model and another I made for proofs (both with child
>> packages).
>>
>> My code where I specify de metamodel is just:
>> =================================================
>> @Spec{
>> MetaModel "sqmodel"{
>> nsUri = "http:///SQLModel.ecore"
>> }
>> } =================================================
>>
>> Do you know something about this error?
>>
>> Thanks,
>> Héctor.]]>Louis Rose2008-07-17T19:32:52-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618240/#msg_618240
--------------030401080703080603070203
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Hi!
Both things are done. I registered the main package and after its
children. The feedback I got when I did it was that the main package was
registered succesfully. Even for the children packages.
I have tried the HUNT file with and without body and I get the same
error, so I think the problem should be with the meta model. However,
when I define the body, HUTN recognises the classifiers and the types of
its attributes. I have already tried another HUTN model without body
with another ecore, and it works.
I send you the metamodel and the HUTN file.
Thanks!
H]]>Hector Iturria2008-07-18T06:55:07-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384239/#msg_384239
--------------030401080703080603070203
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Hi!
Both things are done. I registered the main package and after its
children. The feedback I got when I did it was that the main package was
registered succesfully. Even for the children packages.
I have tried the HUNT file with and without body and I get the same
error, so I think the problem should be with the meta model. However,
when I define the body, HUTN recognises the classifiers and the types of
its attributes. I have already tried another HUTN model without body
with another ecore, and it works.
I send you the metamodel and the HUTN file.
Thanks!
H]]>Hector Iturria2008-07-18T06:55:07-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618242/#msg_618242
Many thanks for the debug information. I now suspect that you may have a
buggy version of HUTN.
Could you tell us what version of HUTN you are running?
This information can be obtained by:
1) Selecting the Help | About Eclipse option from Eclipse.
2) Clicking the Plugin Details button.
3) Locating the table row with plugin ID
"org.eclipse.epsilon.hutn.engine" or "org.epsilon.hutn.engine"
4) Noting the version number in the version column.
Many thanks,
Louis.
Héctor Iturria wrote:
> Hi!
>
> Both things are done. I registered the main package and after its
> children. The feedback I got when I did it was that the main package was
> registered succesfully. Even for the children packages.
>
> I have tried the HUNT file with and without body and I get the same
> error, so I think the problem should be with the meta model. However,
> when I define the body, HUTN recognises the classifiers and the types of
> its attributes. I have already tried another HUTN model without body
> with another ecore, and it works.
>
> I send you the metamodel and the HUTN file.
>
> Thanks!
> Héctor
>
>
>
>
> Louis Rose escribió:
>> Hi again,
>>
>> Recently, we have performing some migration activities on Epsilon, and
>> the HUTN test suite is currently being migrated. I aim to finish this
>> tomorrow, and will have a better idea of the cause of your problem then.
>>
>> In the meantime, here are some things to check:
>>
>> 1) Ensure that your metamodel is registered with Epsilon. (Right-click
>> the Ecore file and click Register EPackages).
>>
>> 2) Ensure that you specify a body after your HUTN header. For example:
>>
>> SqModelPackage {
>> Table "sample" {
>> name: "Sample"
>> }
>> }
>>
>> (The above example assumes that a Table classifier exists in your
>> metamodel, and that the Table classifier defines a String attribute
>> called name).
>>
>> Finally, if you could send me your metamodel and HUTN source, I will
>> continue to investigate your problem over the next few days.
>>
>> Many thanks,
>> Louis.
>>
>> Louis Rose wrote:
>>> Hi Héctor,
>>>
>>> I suspect that this problem is fixed in some recent changes made to
>>> HUTN. I will investigate your problem this afternoon and post an update.
>>>
>>> Cheers,
>>> Louis.
>>>
>>> Héctor Iturria wrote:
>>>> Hello,
>>>> I'm trying to use HUTN in order to define a SQL model, but when I
>>>> save the file I just get this error:
>>>> org.epsilon.hutn.exceptions.HutnGenerationException:
>>>> java.lang.NullPointerException
>>>>
>>>> The URI of the metamodel I'm using is 'http:///SQLModel.ecore', from
>>>> the main package of the ecore file (it has child packages). First I
>>>> thougth it failed because of the chidren packages, but I managed to
>>>> define a QVT model and another I made for proofs (both with child
>>>> packages).
>>>>
>>>> My code where I specify de metamodel is just:
>>>> =================================================
>>>> @Spec{
>>>> MetaModel "sqmodel"{
>>>> nsUri = "http:///SQLModel.ecore"
>>>> }
>>>> } =================================================
>>>>
>>>> Do you know something about this error?
>>>>
>>>> Thanks,
>>>> Héctor.
>]]>Louis Rose2008-07-18T19:05:02-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384244/#msg_384244
Many thanks for the debug information. I now suspect that you may have a
buggy version of HUTN.
Could you tell us what version of HUTN you are running?
This information can be obtained by:
1) Selecting the Help | About Eclipse option from Eclipse.
2) Clicking the Plugin Details button.
3) Locating the table row with plugin ID
"org.eclipse.epsilon.hutn.engine" or "org.epsilon.hutn.engine"
4) Noting the version number in the version column.
Many thanks,
Louis.
Héctor Iturria wrote:
> Hi!
>
> Both things are done. I registered the main package and after its
> children. The feedback I got when I did it was that the main package was
> registered succesfully. Even for the children packages.
>
> I have tried the HUNT file with and without body and I get the same
> error, so I think the problem should be with the meta model. However,
> when I define the body, HUTN recognises the classifiers and the types of
> its attributes. I have already tried another HUTN model without body
> with another ecore, and it works.
>
> I send you the metamodel and the HUTN file.
>
> Thanks!
> Héctor
>
>
>
>
> Louis Rose escribió:
>> Hi again,
>>
>> Recently, we have performing some migration activities on Epsilon, and
>> the HUTN test suite is currently being migrated. I aim to finish this
>> tomorrow, and will have a better idea of the cause of your problem then.
>>
>> In the meantime, here are some things to check:
>>
>> 1) Ensure that your metamodel is registered with Epsilon. (Right-click
>> the Ecore file and click Register EPackages).
>>
>> 2) Ensure that you specify a body after your HUTN header. For example:
>>
>> SqModelPackage {
>> Table "sample" {
>> name: "Sample"
>> }
>> }
>>
>> (The above example assumes that a Table classifier exists in your
>> metamodel, and that the Table classifier defines a String attribute
>> called name).
>>
>> Finally, if you could send me your metamodel and HUTN source, I will
>> continue to investigate your problem over the next few days.
>>
>> Many thanks,
>> Louis.
>>
>> Louis Rose wrote:
>>> Hi Héctor,
>>>
>>> I suspect that this problem is fixed in some recent changes made to
>>> HUTN. I will investigate your problem this afternoon and post an update.
>>>
>>> Cheers,
>>> Louis.
>>>
>>> Héctor Iturria wrote:
>>>> Hello,
>>>> I'm trying to use HUTN in order to define a SQL model, but when I
>>>> save the file I just get this error:
>>>> org.epsilon.hutn.exceptions.HutnGenerationException:
>>>> java.lang.NullPointerException
>>>>
>>>> The URI of the metamodel I'm using is 'http:///SQLModel.ecore', from
>>>> the main package of the ecore file (it has child packages). First I
>>>> thougth it failed because of the chidren packages, but I managed to
>>>> define a QVT model and another I made for proofs (both with child
>>>> packages).
>>>>
>>>> My code where I specify de metamodel is just:
>>>> =================================================
>>>> @Spec{
>>>> MetaModel "sqmodel"{
>>>> nsUri = "http:///SQLModel.ecore"
>>>> }
>>>> } =================================================
>>>>
>>>> Do you know something about this error?
>>>>
>>>> Thanks,
>>>> Héctor.
>]]>Louis Rose2008-07-18T19:05:02-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618244/#msg_618244
The version number of the HUTN engine is 1.0.1
Best regards,
Héctor
Louis Rose escribió:
> Hi Héctor,
>
> Many thanks for the debug information. I now suspect that you may have a
> buggy version of HUTN.
>
> Could you tell us what version of HUTN you are running?
>
> This information can be obtained by:
>
> 1) Selecting the Help | About Eclipse option from Eclipse.
> 2) Clicking the Plugin Details button.
> 3) Locating the table row with plugin ID
> "org.eclipse.epsilon.hutn.engine" or "org.epsilon.hutn.engine"
> 4) Noting the version number in the version column.
>
> Many thanks,
> Louis.
>
> Héctor Iturria wrote:
>> Hi!
>>
>> Both things are done. I registered the main package and after its
>> children. The feedback I got when I did it was that the main package
>> was registered succesfully. Even for the children packages.
>>
>> I have tried the HUNT file with and without body and I get the same
>> error, so I think the problem should be with the meta model. However,
>> when I define the body, HUTN recognises the classifiers and the types
>> of its attributes. I have already tried another HUTN model without
>> body with another ecore, and it works.
>>
>> I send you the metamodel and the HUTN file.
>>
>> Thanks!
>> Héctor
>>
>>
>>
>>
>> Louis Rose escribió:
>>> Hi again,
>>>
>>> Recently, we have performing some migration activities on Epsilon,
>>> and the HUTN test suite is currently being migrated. I aim to finish
>>> this tomorrow, and will have a better idea of the cause of your
>>> problem then.
>>>
>>> In the meantime, here are some things to check:
>>>
>>> 1) Ensure that your metamodel is registered with Epsilon.
>>> (Right-click the Ecore file and click Register EPackages).
>>>
>>> 2) Ensure that you specify a body after your HUTN header. For example:
>>>
>>> SqModelPackage {
>>> Table "sample" {
>>> name: "Sample"
>>> }
>>> }
>>>
>>> (The above example assumes that a Table classifier exists in your
>>> metamodel, and that the Table classifier defines a String attribute
>>> called name).
>>>
>>> Finally, if you could send me your metamodel and HUTN source, I will
>>> continue to investigate your problem over the next few days.
>>>
>>> Many thanks,
>>> Louis.
>>>
>>> Louis Rose wrote:
>>>> Hi Héctor,
>>>>
>>>> I suspect that this problem is fixed in some recent changes made to
>>>> HUTN. I will investigate your problem this afternoon and post an
>>>> update.
>>>>
>>>> Cheers,
>>>> Louis.
>>>>
>>>> Héctor Iturria wrote:
>>>>> Hello,
>>>>> I'm trying to use HUTN in order to define a SQL model, but when I
>>>>> save the file I just get this error:
>>>>> org.epsilon.hutn.exceptions.HutnGenerationException:
>>>>> java.lang.NullPointerException
>>>>>
>>>>> The URI of the metamodel I'm using is 'http:///SQLModel.ecore',
>>>>> from the main package of the ecore file (it has child packages).
>>>>> First I thougth it failed because of the chidren packages, but I
>>>>> managed to define a QVT model and another I made for proofs (both
>>>>> with child packages).
>>>>>
>>>>> My code where I specify de metamodel is just:
>>>>> =================================================
>>>>> @Spec{
>>>>> MetaModel "sqmodel"{
>>>>> nsUri = "http:///SQLModel.ecore"
>>>>> }
>>>>> } =================================================
>>>>>
>>>>> Do you know something about this error?
>>>>>
>>>>> Thanks,
>>>>> Héctor.
>>]]>Hector Iturria2008-07-21T06:37:09-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384248/#msg_384248
The version number of the HUTN engine is 1.0.1
Best regards,
Héctor
Louis Rose escribió:
> Hi Héctor,
>
> Many thanks for the debug information. I now suspect that you may have a
> buggy version of HUTN.
>
> Could you tell us what version of HUTN you are running?
>
> This information can be obtained by:
>
> 1) Selecting the Help | About Eclipse option from Eclipse.
> 2) Clicking the Plugin Details button.
> 3) Locating the table row with plugin ID
> "org.eclipse.epsilon.hutn.engine" or "org.epsilon.hutn.engine"
> 4) Noting the version number in the version column.
>
> Many thanks,
> Louis.
>
> Héctor Iturria wrote:
>> Hi!
>>
>> Both things are done. I registered the main package and after its
>> children. The feedback I got when I did it was that the main package
>> was registered succesfully. Even for the children packages.
>>
>> I have tried the HUNT file with and without body and I get the same
>> error, so I think the problem should be with the meta model. However,
>> when I define the body, HUTN recognises the classifiers and the types
>> of its attributes. I have already tried another HUTN model without
>> body with another ecore, and it works.
>>
>> I send you the metamodel and the HUTN file.
>>
>> Thanks!
>> Héctor
>>
>>
>>
>>
>> Louis Rose escribió:
>>> Hi again,
>>>
>>> Recently, we have performing some migration activities on Epsilon,
>>> and the HUTN test suite is currently being migrated. I aim to finish
>>> this tomorrow, and will have a better idea of the cause of your
>>> problem then.
>>>
>>> In the meantime, here are some things to check:
>>>
>>> 1) Ensure that your metamodel is registered with Epsilon.
>>> (Right-click the Ecore file and click Register EPackages).
>>>
>>> 2) Ensure that you specify a body after your HUTN header. For example:
>>>
>>> SqModelPackage {
>>> Table "sample" {
>>> name: "Sample"
>>> }
>>> }
>>>
>>> (The above example assumes that a Table classifier exists in your
>>> metamodel, and that the Table classifier defines a String attribute
>>> called name).
>>>
>>> Finally, if you could send me your metamodel and HUTN source, I will
>>> continue to investigate your problem over the next few days.
>>>
>>> Many thanks,
>>> Louis.
>>>
>>> Louis Rose wrote:
>>>> Hi Héctor,
>>>>
>>>> I suspect that this problem is fixed in some recent changes made to
>>>> HUTN. I will investigate your problem this afternoon and post an
>>>> update.
>>>>
>>>> Cheers,
>>>> Louis.
>>>>
>>>> Héctor Iturria wrote:
>>>>> Hello,
>>>>> I'm trying to use HUTN in order to define a SQL model, but when I
>>>>> save the file I just get this error:
>>>>> org.epsilon.hutn.exceptions.HutnGenerationException:
>>>>> java.lang.NullPointerException
>>>>>
>>>>> The URI of the metamodel I'm using is 'http:///SQLModel.ecore',
>>>>> from the main package of the ecore file (it has child packages).
>>>>> First I thougth it failed because of the chidren packages, but I
>>>>> managed to define a QVT model and another I made for proofs (both
>>>>> with child packages).
>>>>>
>>>>> My code where I specify de metamodel is just:
>>>>> =================================================
>>>>> @Spec{
>>>>> MetaModel "sqmodel"{
>>>>> nsUri = "http:///SQLModel.ecore"
>>>>> }
>>>>> } =================================================
>>>>>
>>>>> Do you know something about this error?
>>>>>
>>>>> Thanks,
>>>>> Héctor.
>>]]>Hector Iturria2008-07-21T06:37:09-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618245/#msg_618245
The plugin version I'm using is 1.0.1, but it has been patched for working
properly with UML and the search of URIs. Is the one you gave to Pau Giner.
Thanks!
Héctor]]>Hector Iturria2008-07-21T09:03:40-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384250/#msg_384250
The plugin version I'm using is 1.0.1, but it has been patched for working
properly with UML and the search of URIs. Is the one you gave to Pau Giner.
Thanks!
Héctor]]>Hector Iturria2008-07-21T09:03:40-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618512/#msg_618512
There are a couple of small problems in HUTN version 1.0.1 (as you have
noticed!) Dimitrios and I are currently assembling a new release of
Epsilon and HUTN that should fix your problem. We hope to have the
release ready in the next couple of days.
I'll post here once it's available.
Many thanks,
Louis.
Héctor Iturria wrote:
> Hi again!
>
> The plugin version I'm using is 1.0.1, but it has been patched for
> working properly with UML and the search of URIs. Is the one you gave to
> Pau Giner.
>
> Thanks!
> Héctor
>]]>Louis Rose2008-07-21T16:13:18-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384254/#msg_384254
There are a couple of small problems in HUTN version 1.0.1 (as you have
noticed!) Dimitrios and I are currently assembling a new release of
Epsilon and HUTN that should fix your problem. We hope to have the
release ready in the next couple of days.
I'll post here once it's available.
Many thanks,
Louis.
Héctor Iturria wrote:
> Hi again!
>
> The plugin version I'm using is 1.0.1, but it has been patched for
> working properly with UML and the search of URIs. Is the one you gave to
> Pau Giner.
>
> Thanks!
> Héctor
>]]>Louis Rose2008-07-21T16:13:18-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384259/#msg_384259
Thanks,
Héctor]]>Hector Iturria2008-07-22T07:10:39-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618521/#msg_618521
Thanks,
Héctor]]>Hector Iturria2008-07-22T07:10:39-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618540/#msg_618540
> Ok, I wait for it.
>
> Thanks,
> Héctor
>
Hi Héctor,
Dimitrios and I have finalised most of the details for the new release.
We've fixed the null pointer exception that you were encountering with HUTN.
We're going to investigate a further problem related to the nesting of
packages in your metamodel before we make a new release of Epsilon and
HUTN available.
I'll update this thread as soon as we have more information.
Cheers,
Louis.]]>Louis Rose2008-07-23T14:17:29-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384370/#msg_384370
> Ok, I wait for it.
>
> Thanks,
> Héctor
>
Hi Héctor,
Dimitrios and I have finalised most of the details for the new release.
We've fixed the null pointer exception that you were encountering with HUTN.
We're going to investigate a further problem related to the nesting of
packages in your metamodel before we make a new release of Epsilon and
HUTN available.
I'll update this thread as soon as we have more information.
Cheers,
Louis.]]>Louis Rose2008-07-23T14:17:29-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618543/#msg_618543
Best regards,
Héctor]]>Hector Iturria2008-07-24T06:33:49-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384372/#msg_384372
Best regards,
Héctor]]>Hector Iturria2008-07-24T06:33:49-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618547/#msg_618547
Dimitrios has just released a new version of HUTN. The version number is
0.7.0. Apologies if this seems a little counter-intuitive (the last
version was 1.3.6), but we've had to change the version numbers of all
Epsilon features to comply with the Eclipse incubation process.
You should find that the NullPointerException that you were encountering
no longer occurs.
However, we have had some problems instantiating your sqlmodel.ecore
metamodel using the built-in EMF editor. Could you try it too? If you
manage to successfully instantiate your model with the built-in editor,
and the same model cannot be constructed with HUTN, please let us know.
Many thanks,
Louis.]]>Louis Rose2008-07-25T13:55:25-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384374/#msg_384374
Dimitrios has just released a new version of HUTN. The version number is
0.7.0. Apologies if this seems a little counter-intuitive (the last
version was 1.3.6), but we've had to change the version numbers of all
Epsilon features to comply with the Eclipse incubation process.
You should find that the NullPointerException that you were encountering
no longer occurs.
However, we have had some problems instantiating your sqlmodel.ecore
metamodel using the built-in EMF editor. Could you try it too? If you
manage to successfully instantiate your model with the built-in editor,
and the same model cannot be constructed with HUTN, please let us know.
Many thanks,
Louis.]]>Louis Rose2008-07-25T13:55:25-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618551/#msg_618551
--------------080403070308060801050600
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Hi Louis,
I updated all the epsilon plugins and the UML Null point exception
doesn't apperar any more, but continued in the sqlmodel. I changed some
references of the metamodel to other ecores and now the error I get is
this one:
org.eclipse.epsilon.hutn.exceptions.HutnGenerationException: Could not
parse transformation: [Line: 267, Column: 15, Reason: mismatched input
'Sequence' expecting NAME]
I send you the changed metamodel too.
Many thanks,
H]]>Hector Iturria2008-07-28T09:21:00-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384375/#msg_384375
--------------080403070308060801050600
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Hi Louis,
I updated all the epsilon plugins and the UML Null point exception
doesn't apperar any more, but continued in the sqlmodel. I changed some
references of the metamodel to other ecores and now the error I get is
this one:
org.eclipse.epsilon.hutn.exceptions.HutnGenerationException: Could not
parse transformation: [Line: 267, Column: 15, Reason: mismatched input
'Sequence' expecting NAME]
I send you the changed metamodel too.
Many thanks,
H]]>Hector Iturria2008-07-28T09:21:00-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618616/#msg_618616
Sorry to hear you're still experiencing problems.
Could you also send the HUTN source from which you're trying to
construct a model?
Many thanks,
Louis.
Héctor Iturria wrote:
>
> Hi Louis,
>
> I updated all the epsilon plugins and the UML Null point exception
> doesn't apperar any more, but continued in the sqlmodel. I changed some
> references of the metamodel to other ecores and now the error I get is
> this one:
>
> org.eclipse.epsilon.hutn.exceptions.HutnGenerationException: Could not
> parse transformation: [Line: 267, Column: 15, Reason: mismatched input
> 'Sequence' expecting NAME]
>
> I send you the changed metamodel too.
>
> Many thanks,
> Héctor
>
>
>
>
> Louis Rose escribió:
>> Hi Héctor,
>>
>> Dimitrios has just released a new version of HUTN. The version number
>> is 0.7.0. Apologies if this seems a little counter-intuitive (the last
>> version was 1.3.6), but we've had to change the version numbers of all
>> Epsilon features to comply with the Eclipse incubation process.
>>
>> Please update your installation of Epsilon and HUTN from the new
>> update manager site:
>> http://download.eclipse.org/technology/gmt/epsilon/updates/
>>
>> You should find that the NullPointerException that you were
>> encountering no longer occurs.
>>
>> However, we have had some problems instantiating your sqlmodel.ecore
>> metamodel using the built-in EMF editor. Could you try it too? If you
>> manage to successfully instantiate your model with the built-in
>> editor, and the same model cannot be constructed with HUTN, please let
>> us know.
>>
>> Many thanks,
>> Louis.
>>
>]]>Louis Rose2008-07-28T10:00:11-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384376/#msg_384376
Sorry to hear you're still experiencing problems.
Could you also send the HUTN source from which you're trying to
construct a model?
Many thanks,
Louis.
Héctor Iturria wrote:
>
> Hi Louis,
>
> I updated all the epsilon plugins and the UML Null point exception
> doesn't apperar any more, but continued in the sqlmodel. I changed some
> references of the metamodel to other ecores and now the error I get is
> this one:
>
> org.eclipse.epsilon.hutn.exceptions.HutnGenerationException: Could not
> parse transformation: [Line: 267, Column: 15, Reason: mismatched input
> 'Sequence' expecting NAME]
>
> I send you the changed metamodel too.
>
> Many thanks,
> Héctor
>
>
>
>
> Louis Rose escribió:
>> Hi Héctor,
>>
>> Dimitrios has just released a new version of HUTN. The version number
>> is 0.7.0. Apologies if this seems a little counter-intuitive (the last
>> version was 1.3.6), but we've had to change the version numbers of all
>> Epsilon features to comply with the Eclipse incubation process.
>>
>> Please update your installation of Epsilon and HUTN from the new
>> update manager site:
>> http://download.eclipse.org/technology/gmt/epsilon/updates/
>>
>> You should find that the NullPointerException that you were
>> encountering no longer occurs.
>>
>> However, we have had some problems instantiating your sqlmodel.ecore
>> metamodel using the built-in EMF editor. Could you try it too? If you
>> manage to successfully instantiate your model with the built-in
>> editor, and the same model cannot be constructed with HUTN, please let
>> us know.
>>
>> Many thanks,
>> Louis.
>>
>]]>Louis Rose2008-07-28T10:00:11-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618617/#msg_618617
--------------060207020001050700000208
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Of course. This is simple one.
Thanks.
H]]>Hector Iturria2008-07-28T11:00:31-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384377/#msg_384377
--------------060207020001050700000208
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Of course. This is simple one.
Thanks.
H]]>Hector Iturria2008-07-28T11:00:31-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618618/#msg_618618
Regardless of the potential HUTN issue, the sqlmodel.ecore still appears
to be somewhat problematic. If I select sqlmodel->schema->Database in
the built-in EMF tree editor, right click and select "Create dynamic
instance", EMF raises an exception and complains that
"java.lang.IllegalArgumentException: The class 'ENamedElement' is not a
valid classifier". I'm not sure why this happens - perhaps the EMF
newsgroup would be a good place to ask. In any case, I believe we should
first resolve this issue before looking into HUTN.
If you have control over the metamodel (i.e. you are not required to use
it as-is) I would suggest removing all references to ECore (e.g.
extending the ECore ENamedElement class in SQLObject / using
EAnnotations) and trying again.
Cheers,
Dimitrios
Louis Rose wrote:
> Hi Héctor,
>
> Sorry to hear you're still experiencing problems.
>
> Could you also send the HUTN source from which you're trying to
> construct a model?
>
> Many thanks,
> Louis.
>
>
> Héctor Iturria wrote:
>>
>> Hi Louis,
>>
>> I updated all the epsilon plugins and the UML Null point exception
>> doesn't apperar any more, but continued in the sqlmodel. I changed
>> some references of the metamodel to other ecores and now the error I
>> get is this one:
>>
>> org.eclipse.epsilon.hutn.exceptions.HutnGenerationException: Could not
>> parse transformation: [Line: 267, Column: 15, Reason: mismatched input
>> 'Sequence' expecting NAME]
>>
>> I send you the changed metamodel too.
>>
>> Many thanks,
>> Héctor
>>
>>
>>
>>
>> Louis Rose escribió:
>>> Hi Héctor,
>>>
>>> Dimitrios has just released a new version of HUTN. The version number
>>> is 0.7.0. Apologies if this seems a little counter-intuitive (the
>>> last version was 1.3.6), but we've had to change the version numbers
>>> of all Epsilon features to comply with the Eclipse incubation process.
>>>
>>> Please update your installation of Epsilon and HUTN from the new
>>> update manager site:
>>> http://download.eclipse.org/technology/gmt/epsilon/updates/
>>>
>>> You should find that the NullPointerException that you were
>>> encountering no longer occurs.
>>>
>>> However, we have had some problems instantiating your sqlmodel.ecore
>>> metamodel using the built-in EMF editor. Could you try it too? If you
>>> manage to successfully instantiate your model with the built-in
>>> editor, and the same model cannot be constructed with HUTN, please
>>> let us know.
>>>
>>> Many thanks,
>>> Louis.
>>>
>>]]>Dimitrios Kolovos2008-07-28T11:06:42-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384378/#msg_384378
Regardless of the potential HUTN issue, the sqlmodel.ecore still appears
to be somewhat problematic. If I select sqlmodel->schema->Database in
the built-in EMF tree editor, right click and select "Create dynamic
instance", EMF raises an exception and complains that
"java.lang.IllegalArgumentException: The class 'ENamedElement' is not a
valid classifier". I'm not sure why this happens - perhaps the EMF
newsgroup would be a good place to ask. In any case, I believe we should
first resolve this issue before looking into HUTN.
If you have control over the metamodel (i.e. you are not required to use
it as-is) I would suggest removing all references to ECore (e.g.
extending the ECore ENamedElement class in SQLObject / using
EAnnotations) and trying again.
Cheers,
Dimitrios
Louis Rose wrote:
> Hi Héctor,
>
> Sorry to hear you're still experiencing problems.
>
> Could you also send the HUTN source from which you're trying to
> construct a model?
>
> Many thanks,
> Louis.
>
>
> Héctor Iturria wrote:
>>
>> Hi Louis,
>>
>> I updated all the epsilon plugins and the UML Null point exception
>> doesn't apperar any more, but continued in the sqlmodel. I changed
>> some references of the metamodel to other ecores and now the error I
>> get is this one:
>>
>> org.eclipse.epsilon.hutn.exceptions.HutnGenerationException: Could not
>> parse transformation: [Line: 267, Column: 15, Reason: mismatched input
>> 'Sequence' expecting NAME]
>>
>> I send you the changed metamodel too.
>>
>> Many thanks,
>> Héctor
>>
>>
>>
>>
>> Louis Rose escribió:
>>> Hi Héctor,
>>>
>>> Dimitrios has just released a new version of HUTN. The version number
>>> is 0.7.0. Apologies if this seems a little counter-intuitive (the
>>> last version was 1.3.6), but we've had to change the version numbers
>>> of all Epsilon features to comply with the Eclipse incubation process.
>>>
>>> Please update your installation of Epsilon and HUTN from the new
>>> update manager site:
>>> http://download.eclipse.org/technology/gmt/epsilon/updates/
>>>
>>> You should find that the NullPointerException that you were
>>> encountering no longer occurs.
>>>
>>> However, we have had some problems instantiating your sqlmodel.ecore
>>> metamodel using the built-in EMF editor. Could you try it too? If you
>>> manage to successfully instantiate your model with the built-in
>>> editor, and the same model cannot be constructed with HUTN, please
>>> let us know.
>>>
>>> Many thanks,
>>> Louis.
>>>
>>]]>Dimitrios Kolovos2008-07-28T11:06:42-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618619/#msg_618619
The exception you mention was due to an unescaped character being
created in the final transformation to the target model. I have now
fixed this. The fix will appear in a new release later on in the week.
If you need the patch before then, please let me know. (I can provide
you with an overlay, like we did for Pau).
However, resolving this problem uncovered an issue with instantiating
your metamodel with EMF. The following exception was raised:
Caused by: java.lang.IllegalArgumentException: The class 'ENamedElement'
is not a valid classifier
at
org.eclipse.emf.ecore.impl.EcoreFactoryImpl.create(EcoreFact oryImpl.java:104)
at org.eclipse.emf.ecore.impl.EFactoryImpl.create(EFactoryImpl. java:243)
This is the same exception that Dimitrios encountered. As Dimitrios
mentions below, HUTN will not be able to generate models with the
current version of the SQLModel metamodel. Once you can instantiate the
SQLModel metamodel with EMF reflexive editor, HUTN should be capable of
generating models too.
Cheers,
Louis.
Dimitrios Kolovos wrote:
> Hi Héctor,
>
> Regardless of the potential HUTN issue, the sqlmodel.ecore still appears
> to be somewhat problematic. If I select sqlmodel->schema->Database in
> the built-in EMF tree editor, right click and select "Create dynamic
> instance", EMF raises an exception and complains that
> "java.lang.IllegalArgumentException: The class 'ENamedElement' is not a
> valid classifier". I'm not sure why this happens - perhaps the EMF
> newsgroup would be a good place to ask. In any case, I believe we should
> first resolve this issue before looking into HUTN.
>
> If you have control over the metamodel (i.e. you are not required to use
> it as-is) I would suggest removing all references to ECore (e.g.
> extending the ECore ENamedElement class in SQLObject / using
> EAnnotations) and trying again.
>
> Cheers,
> Dimitrios
>
> Louis Rose wrote:
>> Hi Héctor,
>>
>> Sorry to hear you're still experiencing problems.
>>
>> Could you also send the HUTN source from which you're trying to
>> construct a model?
>>
>> Many thanks,
>> Louis.
>>
>>
>> Héctor Iturria wrote:
>>>
>>> Hi Louis,
>>>
>>> I updated all the epsilon plugins and the UML Null point exception
>>> doesn't apperar any more, but continued in the sqlmodel. I changed
>>> some references of the metamodel to other ecores and now the error I
>>> get is this one:
>>>
>>> org.eclipse.epsilon.hutn.exceptions.HutnGenerationException: Could
>>> not parse transformation: [Line: 267, Column: 15, Reason: mismatched
>>> input 'Sequence' expecting NAME]
>>>
>>> I send you the changed metamodel too.
>>>
>>> Many thanks,
>>> Héctor
>>>
>>>
>>>
>>>
>>> Louis Rose escribió:
>>>> Hi Héctor,
>>>>
>>>> Dimitrios has just released a new version of HUTN. The version
>>>> number is 0.7.0. Apologies if this seems a little counter-intuitive
>>>> (the last version was 1.3.6), but we've had to change the version
>>>> numbers of all Epsilon features to comply with the Eclipse
>>>> incubation process.
>>>>
>>>> Please update your installation of Epsilon and HUTN from the new
>>>> update manager site:
>>>> http://download.eclipse.org/technology/gmt/epsilon/updates/
>>>>
>>>> You should find that the NullPointerException that you were
>>>> encountering no longer occurs.
>>>>
>>>> However, we have had some problems instantiating your sqlmodel.ecore
>>>> metamodel using the built-in EMF editor. Could you try it too? If
>>>> you manage to successfully instantiate your model with the built-in
>>>> editor, and the same model cannot be constructed with HUTN, please
>>>> let us know.
>>>>
>>>> Many thanks,
>>>> Louis.
>>>>
>>>]]>Louis Rose2008-07-28T12:21:39-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384379/#msg_384379
The exception you mention was due to an unescaped character being
created in the final transformation to the target model. I have now
fixed this. The fix will appear in a new release later on in the week.
If you need the patch before then, please let me know. (I can provide
you with an overlay, like we did for Pau).
However, resolving this problem uncovered an issue with instantiating
your metamodel with EMF. The following exception was raised:
Caused by: java.lang.IllegalArgumentException: The class 'ENamedElement'
is not a valid classifier
at
org.eclipse.emf.ecore.impl.EcoreFactoryImpl.create(EcoreFact oryImpl.java:104)
at org.eclipse.emf.ecore.impl.EFactoryImpl.create(EFactoryImpl. java:243)
This is the same exception that Dimitrios encountered. As Dimitrios
mentions below, HUTN will not be able to generate models with the
current version of the SQLModel metamodel. Once you can instantiate the
SQLModel metamodel with EMF reflexive editor, HUTN should be capable of
generating models too.
Cheers,
Louis.
Dimitrios Kolovos wrote:
> Hi Héctor,
>
> Regardless of the potential HUTN issue, the sqlmodel.ecore still appears
> to be somewhat problematic. If I select sqlmodel->schema->Database in
> the built-in EMF tree editor, right click and select "Create dynamic
> instance", EMF raises an exception and complains that
> "java.lang.IllegalArgumentException: The class 'ENamedElement' is not a
> valid classifier". I'm not sure why this happens - perhaps the EMF
> newsgroup would be a good place to ask. In any case, I believe we should
> first resolve this issue before looking into HUTN.
>
> If you have control over the metamodel (i.e. you are not required to use
> it as-is) I would suggest removing all references to ECore (e.g.
> extending the ECore ENamedElement class in SQLObject / using
> EAnnotations) and trying again.
>
> Cheers,
> Dimitrios
>
> Louis Rose wrote:
>> Hi Héctor,
>>
>> Sorry to hear you're still experiencing problems.
>>
>> Could you also send the HUTN source from which you're trying to
>> construct a model?
>>
>> Many thanks,
>> Louis.
>>
>>
>> Héctor Iturria wrote:
>>>
>>> Hi Louis,
>>>
>>> I updated all the epsilon plugins and the UML Null point exception
>>> doesn't apperar any more, but continued in the sqlmodel. I changed
>>> some references of the metamodel to other ecores and now the error I
>>> get is this one:
>>>
>>> org.eclipse.epsilon.hutn.exceptions.HutnGenerationException: Could
>>> not parse transformation: [Line: 267, Column: 15, Reason: mismatched
>>> input 'Sequence' expecting NAME]
>>>
>>> I send you the changed metamodel too.
>>>
>>> Many thanks,
>>> Héctor
>>>
>>>
>>>
>>>
>>> Louis Rose escribió:
>>>> Hi Héctor,
>>>>
>>>> Dimitrios has just released a new version of HUTN. The version
>>>> number is 0.7.0. Apologies if this seems a little counter-intuitive
>>>> (the last version was 1.3.6), but we've had to change the version
>>>> numbers of all Epsilon features to comply with the Eclipse
>>>> incubation process.
>>>>
>>>> Please update your installation of Epsilon and HUTN from the new
>>>> update manager site:
>>>> http://download.eclipse.org/technology/gmt/epsilon/updates/
>>>>
>>>> You should find that the NullPointerException that you were
>>>> encountering no longer occurs.
>>>>
>>>> However, we have had some problems instantiating your sqlmodel.ecore
>>>> metamodel using the built-in EMF editor. Could you try it too? If
>>>> you manage to successfully instantiate your model with the built-in
>>>> editor, and the same model cannot be constructed with HUTN, please
>>>> let us know.
>>>>
>>>> Many thanks,
>>>> Louis.
>>>>
>>>]]>Louis Rose2008-07-28T12:21:39-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618622/#msg_618622
I'm sorry but nowadays I'm not able to change the Sql metamodel. I'll wait
for the new release, although it would be great if I could have the
patched version as you have told me.
Many thanks for your help!
Héctor]]>Hector Iturria2008-07-29T06:43:33-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384382/#msg_384382
I'm sorry but nowadays I'm not able to change the Sql metamodel. I'll wait
for the new release, although it would be great if I could have the
patched version as you have told me.
Many thanks for your help!
Héctor]]>Hector Iturria2008-07-29T06:43:33-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618623/#msg_618623
--------------030403080705040400000200
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Hi H]]>Louis Rose2008-07-30T17:28:13-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384383/#msg_384383
--------------030403080705040400000200
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Hi H]]>Louis Rose2008-07-30T17:28:13-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618624/#msg_618624
file is corrupted.]]>Hector Iturria2008-07-31T13:01:52-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384384/#msg_384384
file is corrupted.]]>Hector Iturria2008-07-31T13:01:52-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/618625/#msg_618625
--------------020805050706020202090507
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
H]]>Louis Rose2008-07-31T14:01:20-00:00Re: [Epsilon] Problem with HUTN and sqlmodel
https://www.eclipse.org/forums/index.php/mv/msg/125341/384385/#msg_384385
--------------020805050706020202090507
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit