[Uml-devel] [Bug 162821] KDE Crash Handler on umbrello when importing source code

Ralf Habacker ralf.habacker at gmail.com
Tue Jan 17 14:11:38 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=162821





--- Comment #5 from Ralf Habacker <ralf habacker gmail com>  2012-01-17 14:11:38 ---
Further investigations shows that in void CmdCreateUMLObject::redo() the
package is added to it's parent package

        UMLPackage *pkg = m_obj->umlPackage();
        if (pkg == NULL) {
          // object does not belong to any package

        } else {
          // add this object to its parent package
          pkg->addObject(m_obj);
        }

In the crash case the parent package is of type ot_Association which do not
have UMLPackage as base class and therefore no UMLObject list member. Accessing
this unavailable member causes the crash. 

The conclusion of this is that somewhere in the code an UMLAssociation is
created where in truth an UMLPackage should be created.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the umbrello-devel mailing list