Today, I encountered a very depressing problem when I used eclipseuml to draw and save a class chart. For the sake of safety, I drew and saved it for a morning. I once closed the editor, the prompt "impossible to load the dimo-xxx" is displayed. ". I am sweating all at once. A morning's work! Check the errorlog of eclipse. The exception information is as follows:
Java. Lang. nullpointerexception
At com. omondo. UML. OBF. CBA. setinput (sourcefile: 1153 )
At com. omondo. UML. OBF. CBA. INIT (sourcefile: 1109 )
At com. omondo. UML. EMF. classdiagrameditor. INIT (sourcefile: 1013 )
At org. Eclipse. UI. Internal. editormanager. createsite (editormanager. Java: 784 )
At org. Eclipse. UI. Internal. editorreference. createparelper (editorreference. Java: 585 )
At org. Eclipse. UI. Internal. editorreference. createpart (editorreference. Java: 374 )
At org. Eclipse. UI. Internal. workbenchpartreference. getpart (workbenchpartreference. Java: 552 )
At org. Eclipse. UI. Internal. partpane. setvisible (partpane. Java: 285 )
At org. Eclipse. UI. Internal. Presentations. presentablepart. setvisible (presentablepart. Java: 140 )
At org. Eclipse. UI. Internal. Presentations. util. presentablepartfolder. Select (presentablepartfolder. Java: 264 )
At org. Eclipse. UI. Internal. Presentations. util. lefttorighttaborder. Select (lefttorighttaborder. Java: 65 )
At org. Eclipse. UI. Internal. Presentations. util. tabbedstackpresentation. selectpart (tabbedstackpresentation. Java: 394 )
At org. Eclipse. UI. Internal. partstack. refreshpresentationselection (partstack. Java: 1140 )
At org. Eclipse. UI. Internal. partstack. setselection (partstack. Java: 1093 )
No information related to the class chart can be found. Try to modify the. mcm and. ecore files, and the results will not work several times. I had to restore the class chart to re-draw it when I thought of a backup last night (fortunately. After saving the painting, I tried to close the editor and open it again. The prompt "impossible to load the dimo-xxx. MCM" was displayed "!!
I am not going to be able to solve this problem. In the final way, I want to save and back up while drawing and looking at what operations caused this problem. Finally, I found the root cause. I defined an enumeration named operator, which contains four enumeration items: "+", "-", "*", and, the "/" number will cause. the primary.
We recommend that you always take care of your models as you do for your own eyes. Regular backup is necessary. Currently, free graphical editors are not very stable.