[umbrello-devel] [umbrello] [Bug 204035] Crash when trying to create a function of the type Vector<package.class>. (JavaClassifierCodeDocument::addCodeOperation)

Ralf Habacker ralf.habacker at freenet.de
Tue Apr 15 07:14:19 UTC 2014


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

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

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

--- Comment #9 from Ralf Habacker <ralf.habacker at freenet.de> ---
The function mentioned in the last stack frame is shown below: 

bool JavaClassifierCodeDocument::addCodeOperation (CodeOperation * op)
{
    if(!op->getParentOperation()->isLifeOperation())
        return operationsBlock->addTextBlock(op);
    else
        return constructorBlock->addTextBlock(op);
}

There may be three places where a crash can happen:
1. op->getParentOperation() == 0
2. operationsBlock == 0
3. constructorBlock == 0

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


More information about the umbrello-devel mailing list