[Uml-devel] [Bug 77645] Umbrello crashes on code generation and on save when class "Widget" in model

Tobias König tokoe at kde.org
Thu Aug 12 00:09:02 UTC 2004


------- 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=77645      




------- Additional Comments From tokoe kde org  2004-08-11 15:15 -------
According to the backtrace, the document (m_doc) of the CodeGenerationWizard has
no CodeGenerator set, so in showPage() a null pointer is accessed in line
  CodeGenerationPolicy *policy = m_doc->getCurrentCodeGenerator()->getPolicy()

Is it enough to check for null pointer here or is the null pointer itself the bug?

Ciao,
Tobias




More information about the umbrello-devel mailing list