[Uml-devel] [Bug 126262] Crashes while loading file (Advanced Code Generators enabled)
Oliver Kellogg
okellogg at users.sourceforge.net
Mon Mar 26 16:55:48 UTC 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=126262
okellogg users sourceforge net changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|uml- |okellogg users sourceforge n
|devel lists sourceforge net |et
Status|NEW |ASSIGNED
------- Additional Comments From okellogg users sourceforge net 2007-03-26 18:55 -------
Same pattern as described in comment #12. Using dynamic_cast instead of
C style pointer cast reveals that the type is not what was expected.
In this case, the
CPPCodeClassField * hcppcf = dynamic_cast<CPPCodeClassField*>(cf);
in CPPHeaderCodeClassFieldDeclarationBlock::updateContent() yields NULL
for the hcppcf:
#0 0x082e9a40 in CPPHeaderCodeClassFieldDeclarationBlock::updateContent
(this=0x89c8058)
at codegenerators/cppheadercodeclassfielddeclarationblock.cpp:63
#1 0x082e96fd in CPPHeaderCodeClassFieldDeclarationBlock (this=0x89c8058,
parent=0x89f08b0)
at codegenerators/cppheadercodeclassfielddeclarationblock.cpp:28
#2 0x082c3283 in CodeGenFactory::newDeclarationCodeBlock (cd=0x89c7c20,
cf=0x89f08b0)
at codegenerators/codegenfactory.cpp:316
#3 0x08152881 in CodeClassField::initFields (this=0x89f08b0, inConstructor=true)
at codeclassfield.cpp:598
#4 0x08150a3e in CodeClassField (this=0x89f08b0, doc=0x89c7c20,
attrib=0x8954870)
at codeclassfield.cpp:49
#5 0x082d92aa in CPPCodeClassField (this=0x89f08b0, parentDoc=0x89c7c20,
attrib=0x8954870)
at codegenerators/cppcodeclassfield.cpp:43
#6 0x082c2ec1 in CodeGenFactory::newCodeClassField (ccd=0x89c7c20,
at=0x8954870)
at codegenerators/codegenfactory.cpp:234
#7 0x08147e7b in ClassifierCodeDocument::initCodeClassFields (this=0x89c7c20)
at classifiercodedocument.cpp:497
#8 0x082d7bfe in CPPCodeGenerator::newHeaderClassifierCodeDocument
(this=0x89e7200, classifier=0x8954720)
at codegenerators/cppcodegenerator.cpp:256
#9 0x082d7d2b in CPPCodeGenerator::initFromParentDocument (this=0x89e7200)
at codegenerators/cppcodegenerator.cpp:293
#10 0x082c287f in CodeGenFactory::createObject (pl=pl_Cpp)
at codegenerators/codegenfactory.cpp:176
#11 0x081b718d in UMLApp::setGenerator (this=0x84cdc38, pl=pl_Cpp)
at uml.cpp:1237
#12 0x081c6e48 in UMLDoc::loadExtensionsFromXMI (this=0x84dd5f0,
node= 0xbfffe970)
at umldoc.cpp:1782
#13 0x081c4910 in UMLDoc::loadFromXMI (this=0x84dd5f0, file= 0xbfffeb90,
encode=1)
at umldoc.cpp:1474
#14 0x081beb9c in UMLDoc::openDocument (this=0x84dd5f0, url= 0xbfffec80)
at umldoc.cpp:481
More information about the umbrello-devel
mailing list