-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wouter Zoons Sent: Friday, December 03, 2004 1:31 AM To: 'Martin West'; 'andromda devel' Cc: 'Matthias K�spert' Subject: RE: [Andromda-devel] 3. endless loop problem in bpm, this one is very tricky
We have been trying to solve it since weeks .. the strange thing is that everything works without the validation, it's the part where the ocl validation code kicks in that's producing the endless loop 300 levels deep is no that bad .. it's a lot but the XMI has a LOT of elements too so it's to be expected Also, Chad was able to get rid of the endless loop when he rewrote the generated validation code in regular java (rather than using reflection emitted by the validation translation library), but I'm not sure if we can do that automatically. [CB] Unfortunately we can't do that automatically the main reason being we don't know what methods to translate boolean attributes into for OCL constraints: they could start with "is" or "get" according to java bean notation. -- Wouter > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:andromda-devel- > [EMAIL PROTECTED] On Behalf Of Martin West > Sent: Friday, December 03, 2004 12:26 AM > To: [EMAIL PROTECTED]; andromda devel > Cc: Matthias K�spert > Subject: [Andromda-devel] 3. endless loop problem in bpm, this one is very > tricky > > I looked into this a little bit at the weekend. I instrumented some of > the code with call/exit tracing. > > There seems to be a recursion explosion. When I got the classcast > exception the stack trace was around 300 calls deep when it was doing > isControllerParameter, it look liked the cache was not working. Ill > investigate a bit more this weekend. > > > -- > Martin West > Head of Product Design and Development > http://www.star-map.net > +44(0)207 318 0308 > +44(0)787 968 0096 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
