When every we try to convert one of our existing project to the current Designer version we receive the following exception:

# Conversion log for project 'xapf_customer' from version 0 to 51917
# Created on 07.12.2016 13:50:18
07.12.2016 13:50:18 : Info      : Scanning contents of <L/xapf_customer/src_rd/ch/ivyteam/ivy/addons/commondialogs/MessageDialogOverride/MessageDialogOverride.eventmappings>
07.12.2016 13:50:18 : Info      : Scanning contents of <L/xapf_customer/src_rd/ch/ivyteam/ivy/addons/commondialogs/LoginDialogOverride/LoginDialogOverride.eventmappings>
07.12.2016 13:50:18 : New Task  : Updating cms/configurations of project.
07.12.2016 13:50:18 : New Task  : Removing obsolete content from project cms.
07.12.2016 13:50:18 : New Task  : Adding new default HMTL content to project cms.
07.12.2016 13:50:18 : New Task  : Creating configuration DB with content.
07.12.2016 13:50:18 : Error     :  Unexpected error when converting project 'xapf_customer'.
07.12.2016 13:50:18 : Error     : ch.ivyteam.ivy.cm.exceptions.CmsExistsAlreadyException: Cms with name/id <config> exists already for process model version <designer$xapf_customer$1>
    at ch.ivyteam.ivy.cm.internal.ContentManagement.createCms_aroundBody24(ContentManagement.java:700)
    at ch.ivyteam.ivy.cm.internal.ContentManagement.createCms_aroundBody25$advice(ContentManagement.java:34)
    at ch.ivyteam.ivy.cm.internal.ContentManagement.createCms(ContentManagement.java:1)
    at ch.ivyteam.ivy.cm.impl.DesignerContentManagement.createConfigCms(DesignerContentManagement.java:181)
    at ch.ivyteam.ivy.designer.project.internal.convert.tasks.UpdateContentToVersion3.doConvertProject(UpdateContentToVersion3.java:85)
    at ch.ivyteam.ivy.designer.project.restricted.convert.AbstractIvyProjectConverterTask.convertProject(AbstractIvyProjectConverterTask.java:96)
    at ch.ivyteam.ivy.designer.project.restricted.convert.IvyProjectConverter$1.run(IvyProjectConverter.java:293)
    at ch.ivyteam.eclipse.util.WorkspaceRunnable$1.run(WorkspaceRunnable.java:71)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2295)
    at ch.ivyteam.eclipse.util.WorkspaceRunnable.execute(WorkspaceRunnable.java:88)
    at ch.ivyteam.ivy.designer.project.restricted.convert.IvyProjectConverter.convertProject(IvyProjectConverter.java:316)
    at ch.ivyteam.ivy.designer.project.restricted.convert.IvyProjectConverter$2.run(IvyProjectConverter.java:486)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

Can someone please explain what is going on?

asked 07.12.2016 at 13:55

ruffzy's gravatar image

ruffzy
61448
accept rate: 100%

edited 09.12.2016 at 11:53

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
6.5k11038


It is strange that the version number of the original project is '0'. It seems that the file ch.ivyteam.ivy.designer.prefs does not contain the correct information about the project version. You can find the mentioned file in the root directory of your project in the .settings folder. It should look similar like the following one:

ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_DATA_CLASS=my.call.ws.project.Data
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=my.call.ws.project
ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=51917
eclipse.preferences.version=1

The relevant part is the third line where the project version is defined. If there is '0' or something other strange, you should replace this with the correct version which belongs to the designer where you worked on the project before. To find out which one this was, just create a new project in the old designer and get the version number from its ch.ivyteam.ivy.designer.prefs file.

link

answered 07.12.2016 at 16:44

Barbara%20Brugger's gravatar image

Barbara Brugger ♦♦
5363920
accept rate: 100%

Thank you very much for the hint in the right direction. The problem was indeed this project version - but our problem was that the .settings folder wasn't there at all. Someone added the settings folder to the git ignore list and therefore this folder wasn't pulled to my system.

(08.12.2016 at 14:51) ruffzy ruffzy's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×60
×29
×23
×12
×4

Asked: 07.12.2016 at 13:55

Seen: 478 times

Last updated: 09.12.2016 at 11:53