Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Model Corrupted after saving
Model Corrupted after saving [message #1398104] Thu, 10 July 2014 16:17
giuseppe p is currently offline giuseppe pFriend
Messages: 1
Registered: July 2014
Junior Member
This is my error stack trace, how i can recover the project?

org.eclipse.papyrus.resource.ModelMultiException: Problems encountered while loading one of the models.
----- exceptions : ----------
org.eclipse.papyrus.resource.sasheditor.SashModel : org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'org.eclipse.emf.facet.infra.browser.uicore.internal.model.ModelElementItem@1748df76' is not legal. (platform:/resource/IPC%20Controller%20Model/model.di, 10, 128)
-----------------------------


at org.eclipse.papyrus.resource.ModelSet.loadModels(ModelSet.java:303)

at org.eclipse.papyrus.core.editor.CoreMultiDiagramEditor.init(CoreMultiDiagramEditor.java:532)

at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:828)

at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)

at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)

at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)

at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)

at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2945)

at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)

at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)

at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)

at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)

at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2764)

at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)

at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)

at org.eclipse.papyrus.onefile.providers.PapyrusModelActionProvider$1.run(PapyrusModelActionProvider.java:139)

at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)

at org.eclipse.ui.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:185)

at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)

at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)

at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)

at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)

at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)

at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)

at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:462)

at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)

at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)

at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)

at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)

at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'org.eclipse.emf.facet.infra.browser.uicore.internal.model.ModelElementItem@1748df76' is not legal. (platform:/resource/IPC%20Controller%20Model/model.di, 10, 128)

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:315)

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397)

at org.eclipse.papyrus.resource.ModelSet.getResource(ModelSet.java:141)

at org.eclipse.papyrus.resource.AbstractBaseModel.loadModel(AbstractBaseModel.java:157)

at org.eclipse.papyrus.resource.AbstractModelWithSharedResource.loadModel(AbstractModelWithSharedResource.java:73)

at org.eclipse.papyrus.resource.ModelSet.loadModels(ModelSet.java:298)

... 56 more

Caused by: org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'org.eclipse.emf.facet.infra.browser.uicore.internal.model.ModelElementItem@1748df76' is not legal. (platform:/resource/IPC%20Controller%20Model/model.di, 10, 128)

at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XMLHandler.java:2663)

at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setAttribValue(XMLHandler.java:2717)

at org.eclipse.emf.ecore.xmi.impl.SAXXMIHandler.handleObjectAttribs(SAXXMIHandler.java:85)

at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFactory(XMLHandler.java:2193)

at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFeatureType(XMLHandler.java:2159)

at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:2035)

at org.eclipse.emf.ecore.xmi.impl.XMIHandler.createObject(XMIHandler.java:134)

at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1840)

at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:1023)

at org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMIHandler.java:87)

at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:1001)

at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:712)

at org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHandler.java:169)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)

at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)

at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)

at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)

at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:181)

at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:242)

at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1511)

at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1290)

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255)

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)

... 61 more

Caused by: java.lang.IllegalArgumentException: The value 'org.eclipse.emf.facet.infra.browser.uicore.internal.model.ModelElementItem@1748df76' is invalid.

at org.eclipse.emf.ecore.impl.EFactoryImpl.createFromString(EFactoryImpl.java:462)

at org.eclipse.papyrus.sashwindows.di.impl.DiFactoryImpl.createJavaObjectFromString(DiFactoryImpl.java:263)

at org.eclipse.papyrus.sashwindows.di.impl.DiFactoryImpl.createFromString(DiFactoryImpl.java:108)

at org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.createFromString(XMLHelperImpl.java:1621)

at org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.setValue(XMLHelperImpl.java:1162)

at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XMLHandler.java:2658)

... 91 more

Previous Topic:[Requirement table] Declaring refinement
Next Topic:.di and .notation files are not saved -> out of sync with .uml file
Goto Forum:
  


Current Time: Fri Mar 06 16:17:12 GMT 2015

Powered by FUDForum. Page generated in 0.03066 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software