hmm, if that's the case it would mean we have recursion in the validation module 
(which is not unlikely), if we could pinpoint where it happens (which metafacade) we 
could perhaps rewrite the offending OCL constraint in an attempt to fix it

-- Wouter

Carlos Cuenca <[EMAIL PROTECTED]> wrote:

>Hi Davin,
>it is for sure in the file that it is in the root folder of the proyect:
>maven.andromda.modelValidation=false
>and it is just to turn off validation, so if you are sure the model is 
>OK it works...
>
>Carlos
>
>
>
>Coleman, Davin wrote:
>
>> Thanks for that but it has not worked. Which project.properties file 
>> did you put it in?
>>
>>  
>>
>> Technical Lead
>>
>> 1 Kingsway / London
>>
>> Phone: 0207 8442816
>>
>> -----Original Message-----
>> From: Carlos Cuenca [mailto:[EMAIL PROTECTED]
>> Sent: 04 October 2004 16:04
>> To: Coleman, Davin; andromda-user
>> Subject: Re: [Andromda-user] AndroMDA throwing StackOverflowError on 
>> large ~100 class model
>>
>>  
>>
>> Hi,
>>
>> I had the same problem and I had turned of model validation 
>> (maven.andromda.modelValidation=false) within the proyect.properties 
>> of the root folder...
>>
>> Carlos
>>
>> Coleman, Davin wrote:
>>
>> Help please.
>>
>>  
>>
>> We have invested over 3 months successfully building our model and 
>> generating code using AndroMDA 3.0.3. Recently, AndroMDA has started 
>> throwing StackOverflowError on the webservices cartridge. If I remove 
>> a few classes, then OK add them back and it fails. Problem must be 
>> related to the number of classes in the model. I have added the 
>> following to setup memory on maven and ant
>>
>>  
>>
>> Maven
>>
>> MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m -Xss1m
>>
>>  
>>
>> ANT
>>
>> ANT_OPTS=-Xms256m -Xmx384m -Xss1m
>>
>>  
>>
>> Any ideas????
>>
>>  
>>
>> Top part of the stack trace...
>>
>> ERROR [webservice] Failed to construct a meta facade of type 'class 
>> org.andromda.cartridges.webservice.metafacades.WSDLTypeLogicImpl' with 
>> metaObject of type --> 'class org.omg.uml.foundation.core.DataType$Impl'
>>
>> org.andromda.translation.validation.OCLIntrospectorException: 
>> java.lang.reflect.InvocationTargetException
>>
>>             at 
>> org.andromda.translation.validation.OCLIntrospector.invoke(OCLIntrospector.java:46)
>>
>>             at 
>> org.andromda.cartridges.webservice.metafacades.WSDLTypeLogic.validateInvariants(WSDLTypeLogic.java:489)
>>
>>             at 
>> org.andromda.core.metafacade.MetafacadeBase.validate(MetafacadeBase.java:68)
>>
>>             at 
>> org.andromda.core.metafacade.MetafacadeFactory.internalCreateMetafacade(MetafacadeFactory.java:322)
>>
>>             at 
>> org.andromda.core.metafacade.MetafacadeFactory.createMetafacades(MetafacadeFactory.java:560)
>>
>>             at 
>> org.andromda.core.metafacade.MetafacadeBase.shieldedElements(MetafacadeBase.java:133)
>>
>>             at 
>> org.andromda.metafacades.uml14.PackageFacadeLogic.getModelElements(PackageFacadeLogic.java:120)
>>
>>             at 
>> org.andromda.metafacades.uml14.PackageFacadeLogicImpl.handleFindModelElement(PackageFacadeLogicImpl.java:71)
>>
>>             at 
>> org.andromda.metafacades.uml14.PackageFacadeLogic.findModelElement(PackageFacadeLogic.java:58)
>>
>>             at 
>> org.andromda.metafacades.uml14.ClassifierFacadeLogicImpl.handleGetArray(ClassifierFacadeLogicImpl.java:364)
>>
>>             at 
>> org.andromda.metafacades.uml14.ClassifierFacadeLogic.getArray(ClassifierFacadeLogic.java:412)
>>
>>             at 
>> org.andromda.cartridges.webservice.metafacades.WSDLTypeLogic.getArray(WSDLTypeLogic.java:163)
>>
>>             at sun.reflect.GeneratedMethodAccessor197.invoke(Unknown 
>> Source)
>>
>>             at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>>             at java.lang.reflect.Method.invoke(Method.java:324)
>>
>>             at 
>> org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1773)
>>
>>             at 
>> org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1132)
>>
>>             at 
>> org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686)
>>
>>             at 
>> org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)
>>
>>             at 
>> org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290)
>>
>>             at 
>> org.andromda.translation.validation.OCLIntrospector.invoke(OCLIntrospector.java:39)
>>
>>             at 
>> org.andromda.cartridges.webservice.metafacades.WSDLTypeLogic.validateInvariants(WSDLTypeLogic.java:489)
>>
>>             at 
>> org.andromda.core.metafacade.MetafacadeBase.validate(MetafacadeBase.java:68)
>>
>>             at 
>> org.andromda.core.metafacade.MetafacadeFactory.internalCreateMetafacade(MetafacadeFactory.java:322)
>>
>>             at 
>> org.andromda.core.metafacade.MetafacadeFactory.createMetafacades(MetafacadeFactory.java:560)
>>
>>             at 
>> org.andromda.core.metafacade.MetafacadeBase.shieldedElements(MetafacadeBase.java:133)
>>
>>             at 
>> org.andromda.metafacades.uml14.PackageFacadeLogic.getModelElements(PackageFacadeLogic.java:120)
>>
>>             at 
>> org.andromda.metafacades.uml14.PackageFacadeLogicImpl.handleFindModelElement(PackageFacadeLogicImpl.java:71)
>>
>>             at 
>> org.andromda.metafacades.uml14.PackageFacadeLogic.findModelElement(PackageFacadeLogic.java:58)
>>
>>
>>
>> ------------------------------------------------------------
>> The information contained in or attached to this email is
>> intended only for the use of the individual or entity to
>> which it is addressed. If you are not the intended
>> recipient, or a person responsible for delivering it to the
>> intended recipient, you are not authorised to and must not
>> disclose, copy, distribute, or retain this message or any
>> part of it. It may contain information which is confidential
>> and/or covered by legal professional or other privilege (or
>> other rules or laws with similar effect in jurisdictions
>> outside England and Wales).
>> The views expressed in this email are not necessarily the
>> views of Centrica plc, and the company, its directors,
>> officers or employees make no representation or accept any
>> liability for its accuracy or completeness unless expressly
>> stated to the contrary.
>>
>

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to