Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Symptoms

or this exception:


Code Block
languagejava
java.lang.IllegalStateException: Unable to find model version in file /cust/app/jira/temp/activeobjects.xml860047787519460231snapshot.tmp.xml
at com.botronsoft.jira.rollout.model.util.EcoreCustomUtil.getModelVersion(EcoreCustomUtil.java:92)
at com.botronsoft.jira.rollout.model.migration.impl.ModelMigrationServiceImpl.migrate(ModelMigrationServiceImpl.java:138)
at com.botronsoft.jira.rollout.impl.ModelLoader.loadModel(ModelLoader.java:50)
at com.botronsoft.jira.rollout.impl.JiraConfigurationResourceServiceImpl.loadModel(JiraConfigurationResourceServiceImpl.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


Cause

Failures in EcoreCustomUtil.getModelVersion are caused by uploads of a non-snapshot file or a manually modified onecorrupted one (via incorrect manual modification or due to a problematic transfer/donwload).

Resolution

Make sure you're uploading a valid snapshot file that is not manually edited or in any other way corrupted (copying snapshots between VMs or downloading very large files is a common case for this).

...