Skip to end of banner
Go to start of banner

Corrupted snapshot file

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Current »

Symptoms


Error message


or this exception:


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 corrupted one (via incorrect manual modification or due to a problematic transfer/download).

Resolution

  1. 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 cause for this).

  2. Try to download the snapshot file again. If the file is with a bigger size you could choose to exclude the attachments as described in this wiki page: Moving attachments.
  3. If the problem persists validate the integrity of the ZIP file (the actual steps depends on the operating system of the client machine).
  4. Other workarounds:

Need help?

If none of the tips above help, contact our support team at Botron's Support Portal. Attaching a support zip from the target instance and the snapshot will help our support team a lot.

Related KB article

Moving attachments


  • No labels