I have been running this in debug mode. I figured what happened. This is how I got it to crash.
Opened UMLPad.
Click on the class icon (green).
I added a class to the current pad.
I doubled clicked on the class, and it crashed.
The problem is that there is nothing in the Diagrams tree. This is where the problem occurs. I never actually added a new class diagram. I just started building one. The problem line is:
(wxUmlClassDlg.cpp line 77 {or 76 I have edited this file})
readOnly= dynamic_cast<umlMainWindow*>(GetParent())->GetCurrDiag()->IsReadOnly();
Since there is no item in the tree, GetCurrDiag, or GetParent, returns NULL. I am too tired to remember which one. If you do a File->New->Class Diagram and actually add something, then you don't get a crash. If you don't do that, then it crashes because the NULL pointer is not handled properly. Also it points out a possible design flaw. I thought it automatically had 1 class diagram.
jmccay