Details
-
Bug
-
Resolution: Fixed
-
High
-
2.3.6
-
1
-
Description
If you create a backup with the "repository and application caches" flag set, it's unable to be restored on a new instance. The following error is thrown during the restore process:
... Extracting cache/var/cache/FECRUPlugin/hgfelog/hgFeGenTestData.py (4K)... Extracting cache/var/cache/FECRUPlugin/hgfelog/hgfelog_currentRepoTest.py (635B)... Replacing existing cache for deleteme.txt... ERROR: problem running command java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:106) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:39) Caused by: java.lang.NullPointerException at com.cenqua.fisheye.util.FileUtils.deleteTree(FileUtils.java:30) at com.atlassian.crucible.migration.item.FishEyeCacheBackup$1.restore(FishEyeCacheBackup.java:150) at com.cenqua.fisheye.ctl.Restore.run(Restore.java:157) at com.cenqua.fisheye.ctl.Restore.main(Restore.java:212) ... 6 more
To reproduce:
- Create a backup with the "repository and application caches" flag set.
- Try to restore the backup in a new instance:
./fisheyectl.sh restore -f /usr/local/fecru/fecru-2.3.6/backup/backup_2010-08-10_1329.zip -t built-in