[umbrello-devel] [umbrello] [Bug 232528] Umbrello crashed when generating C# code.

Ralf Habacker ralf.habacker at freenet.de
Tue Aug 18 17:15:41 UTC 2015


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

Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ralf.habacker at freenet.de

--- Comment #1 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to Atli Þór Jónsson from comment #0)
> #6  UMLObject::getUMLPackage (this=0xbfdab538) at ../../../umbrello/umbrello/umlobject.cpp:606
This call is performed from 
QString CSharpWriter::makeLocalTypeName(UMLClassifierListItem *cl)
{
    UMLPackage *p = cl->getType()->getUmlPackage();

where  
UMLClassifier * UMLClassifierListItem::getType() const
is defined as
{
    return static_cast<UMLClassifier*>(m_pSecondary);
}
m_pSecondary could be zero, but isn't checked against in the statement

    UMLPackage *p = cl->getType()->getUmlPackage();

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list