Sirius change from version 4.1.1 to 5.1.0 [message #1776301] |
Wed, 15 November 2017 03:30  |
Eclipse User |
|
|
|
Hi,
I have a question about migrating from Sirius 4 to Sirius 5.
I made the Sirius change from version 4.1.1 to 5.1.0.
When I want to open a diagram, it's OK.
If you make any changes in odesign (VSM) and then diagram can not be opened and displayed an exception:
Caused by: org.eclipse.sirius.business.api.migration.DescriptionResourceVersionMismatchException: The viewpoint specification model (platform:/plugin/com.ge.eufo.processDesigner.design/description/processDesigner.odesign) can not be loaded because it comes from a more recent Sirius release.
VSM version is: 12.0.0.2017041100
Last Sirius migration version is: 12.0.0.201704030900
at org.eclipse.sirius.business.internal.session.danalysis.DAnalysisSessionImpl.checkResourceErrors(DAnalysisSessionImpl.java:1220)
at org.eclipse.sirius.business.internal.session.danalysis.DAnalysisSessionImpl.open(DAnalysisSessionImpl.java:1186)
at org.eclipse.sirius.business.api.session.DefaultLocalSessionCreationOperation.execute(DefaultLocalSessionCreationOperation.java:71)
at com.ge.eufo.ui.sirius.editor.input.GraphicalProcessEditorInputTranformer.createSession(GraphicalProcessEditorInputTranformer.java:290)
at com.ge.eufo.ui.sirius.editor.input.GraphicalProcessEditorInputTranformer.access$0(GraphicalProcessEditorInputTranformer.java:286)
at com.ge.eufo.ui.sirius.editor.input.GraphicalProcessEditorInputTranformer$1.run(GraphicalProcessEditorInputTranformer.java:170)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Root exception:
org.eclipse.sirius.business.api.migration.DescriptionResourceVersionMismatchException: The viewpoint specification model (platform:/plugin/com.ge.eufo.processDesigner.design/description/processDesigner.odesign) can not be loaded because it comes from a more recent Sirius release.
VSM version is: 12.0.0.2017041100
Last Sirius migration version is: 12.0.0.201704030900
at org.eclipse.sirius.business.internal.session.danalysis.DAnalysisSessionImpl.checkResourceErrors(DAnalysisSessionImpl.java:1220)
at org.eclipse.sirius.business.internal.session.danalysis.DAnalysisSessionImpl.open(DAnalysisSessionImpl.java:1186)
at org.eclipse.sirius.business.api.session.DefaultLocalSessionCreationOperation.execute(DefaultLocalSessionCreationOperation.java:71)
at com.ge.eufo.ui.sirius.editor.input.GraphicalProcessEditorInputTranformer.createSession(GraphicalProcessEditorInputTranformer.java:290)
at com.ge.eufo.ui.sirius.editor.input.GraphicalProcessEditorInputTranformer.access$0(GraphicalProcessEditorInputTranformer.java:286)
at com.ge.eufo.ui.sirius.editor.input.GraphicalProcessEditorInputTranformer$1.run(GraphicalProcessEditorInputTranformer.java:170)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
What is wrong?
Thanks for every advice.
Martin
|
|
|
|
|
|
|
Re: Sirius change from version 4.1.1 to 5.1.0 [message #1776401 is a reply to message #1776322] |
Thu, 16 November 2017 03:13  |
Eclipse User |
|
|
|
Hi Martin,
In the stack trace of your first message, the version of the odesign, platform:/plugin/com.ge.eufo.processDesigner.design/description/processDesigner.odesign, is "12.0.0.2017041100". In your last message, the version of the odesign is "11.1.1.201610211630". It seems that it is not the same file because the version is not consistent. The version that you used when you had the message has been migrated with Sirius 5.1.0. As said by Steve, the migration is automatic. So if you made a change in the odesign and saved it, the odesign has been automatically migrated.
As said before, I really think that when you edited the odesign file, you had plug-in "org.eclipse.sirius.table" in your environment and you had not this plugin in the environment where you tried to open the diagram.
Regards,
Laurent
|
|
|
Powered by
FUDForum. Page generated in 0.27385 seconds