- This topic has 8 replies, 4 voices, and was last updated 16 years, 10 months ago by Smaylle.
-
AuthorPosts
-
Robert JewettMember1. Created a generic project and added a UML Repository to it. Developed a number of UML diagrams.
2. Attempted to Export the project as backup and get: “Problems were encountered during the export:” There is not other information and the .metadata/.log file does not get any exception.
3. Decided that the project was corrupted and decided to use XMI to export and then import into a clean workspace. Note that -clean and closing re-opening the workspace and myEclipse do not help.
4. I created a New Workspace, new project and new UML Repository. Selecting the empty repository and “Import XMI” then selecting the file exported in step 3, does nothing. The respository tab in the UI is marked with and asterisk as though it were modified, but there is no content in the repository. There are also no messages in .metadata/.log.
5. If you attempt to save the project (or exit which asks if you want to save changes) you get the following two messages in the log.
!SESSION 2007-11-16 09:51:56.266 ———————————————–
eclipse.buildId=M20070921-1145
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -data C:\Documents and Settings\rwjewett\My Documents\My Eclipse Workspaces\UML -os win32 -ws win32 -arch x86!ENTRY com.genuitec.eclipse.uml 4 0 2007-11-16 09:54:47.023
!MESSAGE Exception thrown by the NSUML XMIWriter
!STACK 0
ru.novosoft.uml.xmi.IncompleteXMIException
at ru.novosoft.uml.xmi.XMIWriter.gen(XMIWriter.java:169)
at ru.novosoft.uml.xmi.XMIWriter.gen(XMIWriter.java:116)
at org.argouml.model.uml.XmiWriter.write(XmiWriter.java:69)
.
.
.
!ENTRY com.genuitec.eclipse.uml 4 0 2007-11-16 09:54:47.023
!MESSAGE Not contained in XMI: ru.novosoft.uml.foundation.core.MClassImpl[Class: Window]!ENTRY com.genuitec.eclipse.uml 4 0 2007-11-16 09:54:47.023
!MESSAGE Exception occured during save attempt
!STACK 0
org.argouml.persistence.SaveException
at org.argouml.persistence.ModelMemberFilePersister.save(ModelMemberFilePersister.java:210)
at org.argouml.persistence.ZargoFilePersister.doSave(ZargoFilePersister.java:225)
at org.argouml.persistence.AbstractFilePersister.save(AbstractFilePersister.java:180)
at com.genuitec.eclipse.uml.editor.UMLEditor$2.run(UMLEditor.java:519)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)6. I have opened the XMI file exported and at a high level it does appear to be correct and does parse.
Is there anyway of recovering the models in my seemingly corrupt project and creating a clean copy of the data??
——————–
*** Date:
Friday, November 16, 2007 10:01:13 AM EST** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.0.1 GA
Build id: 6.0.1-GA-200710*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 6.0.1 GA
Build id: 6.0.1-GA-200710Eclipse Graphical Editing Framework
Version: 3.3.1.v20070814
Build id: 20070814-1555Eclipse Platform
Version: 3.3.1.R33x_r20070911-_19UEkpF-B7Uh2hKy75y
Build id: M20070921-1145Eclipse RCP
Version: 3.3.1.R33x_r20070802-8y8eE8sEV3Fz0z0GlHJrXvTAUS
Build id: M20070921-1145Eclipse Java Development Tools
Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
Build id: M20070921-1145Eclipse Plug-in Development Environment
Version: 3.3.1.R33x_r20070802-7N7M3D1VIA_52JsDFsEC
Build id: M20070921-1145Eclipse Project SDK
Version: 3.3.1.R33x_r20070802-7M7J78_mu1mnlRa7A4Ns52XeZ6D0
Build id: M20070921-1145Eclipse startup command=-data
C:\Documents and Settings\rwjewett\My Documents\My Eclipse Workspaces\UML
-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.1.R33x_v20070828\eclipse_1020.dll
-startup
C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-exitdata
930_68
-vm
C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe
Loyal WaterMember4. I created a New Workspace, new project and new UML Repository. Selecting the empty repository and “Import XMI” then selecting the file exported in step 3, does nothing. The respository tab in the UI is marked with and asterisk as though it were modified, but there is no content in the repository. There are also no messages in .metadata/.log.
What steps did you follow to import the XMI file ?
Robert JewettMemberThis message has not been recovered.
Loyal WaterMemberThis message has not been recovered.
Robert JewettMemberThis message has not been recovered.
Loyal WaterMemberThis message has not been recovered.
Matt BucknamParticipantI’m having the same issue except that I don’t get any errors, it simply does not import the exported xmi. I would like to store my uml in source control but would rather use the xmi format so other people with other ~lesser~ tools can open them.
Loyal WaterMemberIf you expand your outline view, can you see all the the elements there. You just have to DnD them to the graph.
SmaylleMemberI’m having the same issue, please help us!!
-
AuthorPosts