Get a hibernate config with one mapping (tested *.hbm.xml), with one entity class.
Open ER diagram. Entity is shown.
Do add a subelement (tested Property, Version). Provide name.
Then you get a dialog with files to modify: mapping.hbm.xml and Entity.java. Select both. Ok.
Result: you get the trace.
Bug happens, when entity on diagram has menu with "Property" and without "Basic" item. Otherwise bug does not happen.
Bug does not happen, if you select only mapping file or only entity class java.