Those errors don't appear to be related to the diagram that you are creating. Is the appropriate information getting saved in the PGML file (inside the .zargo jar)? Knowing that would help you determine whether to focus on the saving side or the loading side of things. If you aren't already doing so, you should be running with DEBUG level logging so that you see any other messages which might be giving a hint as to what is going on. Tom
-----Original Message----- From: David Orejuela [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007 6:51 AM To: [email protected] Subject: [argouml-dev] Adding a diagram to a model problems Hello, I have a problem when I create a diagram. Its a role model diagram created by me that I want to build related with a state machine. At first, all seems to be created fine, but when I save the project and load it again, my diagram disappears. The following messages are showed in the console: Encountered deleted object during delete of StateMachine$Impl ID: 10-101-3--4-44cdbb0f:1141bd1b900:-8000:0000000000000781 MID: (not available) OPCKG: (not available) (UmlFactoryMDRImpl.java :737) WARN: Object already deleted StateMachine$Impl ID: 10-101-3--4-44cdbb0f:1141bd1b900:-8000:0000000000000781 MID: (not available) OPCKG: (not available) (UmlFactoryMDRImpl.java :757) INFO: Getting the members there are 5 (Project.java:319) INFO: There are 5 members in the current project (ProjectBrowser.java:1624) INFO: Removing a member (MemberList.java :78) The diagram creation happens during an ActionNavigation action, the diagram creation code is the following: public UMLDiagram createDiagram(Object ns){ Object target = TargetManager.getInstance().getModelTarget(); if (target instanceof MACMASRoleModelDiagram) target = ((MACMASRoleModelDiagram)TargetManager.getInstance().getTarget()).getOwner() ; Object/*MStateMachine*/ machine = ModelMacmas.getFactoryMacmas().getPlansFactoryMacmas().buildRoleModelPlan(ta rget); return (UMLDiagram) DiagramFactoryMacmas.getInstance ().createDiagram( MACMASRoleModelPlanDiagram.class, Model.getFacade().getNamespace(machine), machine); } At first, I thought that maybe the namespace that I give to the DiagramFactoryMacmas.getInstance().createDiagram function was wrong, but now I don't know what can I do
