Hi Tom, I continued testing this problem and repeating it from several ways. As 
a matter of fact I found the following behavior: If I have two classes related 
by a simple association 1:1 with both direction navigability and suddenly I 
change both associationend visibility and caridinality to false, then the 
Source code tab stop working properly for the two classes, and then no matter 
what do you do ... you will never can do it to work again for this two classes, 
I tried enabling the navigability and cardinality for the associationend , 
deleting the association and recreating it, and always the problem stay, and it 
is showing the following error in the eclipse console (the other classes, no 
related directly, appears not be affected): 
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: 
Unrecognized object [null]
at org.argouml.model.mdr.FacadeMDRImpl.illegalArgument(FacadeMDRImpl.java:4446)
at org.argouml.model.mdr.FacadeMDRImpl.getUpper(FacadeMDRImpl.java:3650)
at 
org.argouml.language.java.generator.GeneratorJava.generateConstraintEnrichedDocComment(GeneratorJava.java:1171)
at 
org.argouml.language.java.generator.GeneratorJava.generateAssociationFrom(GeneratorJava.java:1365)
at 
org.argouml.language.java.generator.GeneratorJava.generateClassifierBody(GeneratorJava.java:906)
at 
org.argouml.language.java.generator.GeneratorJava.generateClassifier(GeneratorJava.java:840)
at 
org.argouml.language.java.generator.GeneratorJava.generateFile(GeneratorJava.java:219)
at 
org.argouml.language.java.generator.GeneratorJava.generateFiles(GeneratorJava.java:2053)
at 
org.argouml.language.java.generator.GeneratorJava.generate(GeneratorJava.java:2033)
at org.argouml.uml.generator.GeneratorHelper.generate(GeneratorHelper.java:58)
at org.argouml.uml.generator.GeneratorHelper.generate(GeneratorHelper.java:75)
at org.argouml.uml.ui.TabSrc.generateSource(TabSrc.java:110)
at org.argouml.uml.ui.TabSrc.genText(TabSrc.java:129)
at org.argouml.ui.TabText.doGenerateText(TabText.java:115)at 
org.argouml.ui.TabText.setVisible(TabText.java:283)........After other test, I 
found that the problem occurs when the cardinality is disabled in both 
associationend of a relation between two classes (odd, but possible in the 
tool). Well, I supposed that with a simple re-enabling of cardinality it could 
be ok again, but unfortunately it's not possible. You need to delete the 
classes, completely from the model. Btw, in the 0.24 stable version when you 
had selected some class and the Source tab and changed the focus to other 
class, the Source tab (and other tabs too) it remained visible; in the new 
vpre-0.26beta2 it doesn't occurs, instead the property tab is activated, 
always, when some class is selected in the diagram. I don't if it's a choice 
commited by all you, but I thing that it's a little anoying, because when you 
are looking into some specific tab for a class it's so possible to do look the 
same for other class, not the properties always. Regards,
Hayrol R. Reyes Mejía

> Date: Mon, 8 Sep 2008 14:38:22 -0400> From: [EMAIL PROTECTED]> To: [EMAIL 
> PROTECTED]; [email protected]> Subject: Re: [argouml-dev] Problem into 
> the Source Tab of Classes> > On Mon, Sep 8, 2008 at 1:13 PM, Hayrol Reyes 
> Mejía <[EMAIL PROTECTED]> wrote:> > > Hello, I don't know where to expose 
> this problem so I'm sending it to both> > address.> > The general rule is:> 
> issue database - for reporting definite bugs> user list - for questions about 
> using ArgoUML or to clarify possible bugs> dev list - for 
> questions/suggestions/etc about developing or extending ArgoUML> > > I have a 
> problem with the vPRE-0.26.beta2. I have updated the Ganymede> > projects 
> lately (from SVN), so I opened my test project as usual to continue> > 
> modeling some domain model using the class diagram, but I noticed that the> > 
> Source tab is not working properly, it's not refreshing when I have selected> 
> > other class (the project has the Java profile, also UML).> > I don't see 
> this behavior with 0.26.BETA_1 or the current SVN. If you> can reproduce it 
> with the beta release or an unmodified copy of the> sources from the SVN 
> repository, please open a bug report in the issue> database and include as 
> many details as possible. If it requires your> ArgoUML project to reproduce 
> (ie it can't be reproduced with a small> number of steps from a fresh ArgoUML 
> session), please attach that> project to the bug report.> > If you've 
> modified ArgoUML and introduced this bug yourself and you> need help 
> debugging the problem, you can ask for help on the dev list.> > Tom> > 
> ---------------------------------------------------------------------> To 
> unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: 
> [EMAIL PROTECTED]> 
_________________________________________________________________
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008

Reply via email to