[Uml-devel] [Bug 63897] Crash when trying to associate two classes in a collaboration diagram

Sebastian Stein seb_stein at gmx.de
Thu Sep 18 09:45:04 UTC 2003


David Faure <faure at kde.org> [030918 17:18]:
> After looking at the source, I found out that I could do what I wanted
> (set a text on an association in a collaboration diagram) by using "set
> sequence number". This is really confusing (since I'm entering a text, not
> a number), but it works.
> 
> There are many uses of null pointers in umbrello, I wonder if the design
> is right.  Shouldn't "text in a message" and "text in an association" be
> subclasses of FloatingText, to avoid having to check "in which case are
> we?" in each method of FloatingText? Apologies if this makes no sense, I
> don't know the overall design of umbrello (or else I'd be fixing those
> bugs myself :) It just seems far too common to have nil-pointer crashes
> currently...

I can't really comment on this, because I didn't had a closer look at this
part of the code either. I hope maybe Oliver could jump in! Nevertheless,
you are right that there are a lot of different places where a lot of
pointer-art is done and I think this is one reason why Umbrello is unstable.

Steinchen
-- 
Umbrello UML Modeller
Description     : UML diagram drawing tool for KDE with code generation
Homepage        : http://www.umbrello.org/
Bug Reports     : http://bugs.kde.org/
CVS             : kdesdk/umbrello on cvs.kde.org:/home/kde




More information about the umbrello-devel mailing list