Restore backup fails with ArrayIndexOutOfBound

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Restoring Fisheye backup fails with the following error:

INFO  - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@bbfa5c: defining beans [org.springframework.aop.config.internalAutoProxyCreator,springContext,dbControlFactory,encryptionProvider,effectiveUserProvider,txTemplateRestore,hostContextAccessorRestore,trustedApplicationsManager,trustedApplicationsAuthenticationController,trustedApplicationsAuthenticationListener,trustedApplicationsUserResolver,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,eventManager,eventPublisher,applicationProperties,salPluginSettingsFactory,fisheyeAccessor,hostComponentProvider,projectManager,projectDataFactory,pluginDirectoryConfiguration,osgiPersistentCache,packageScannerConfiguration,pluginEventManager,osgiContainerManager,pluginStateStore,hostContainer,moduleDescriptorFactory,pluginManager,backup,dataSourceProvider]; root of factory hierarchy
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:98)
    at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:41)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at com.cenqua.fisheye.Path.getComponent(Path.java:414)
    at com.atlassian.crucible.migration.item.FileBackupItem.list(FileBackupItem.java:55)
    at com.atlassian.crucible.migration.item.FishEyeCacheBackup$1.restore(FishEyeCacheBackup.java:209)
    at com.cenqua.fisheye.ctl.Restore.run(Restore.java:191)
    at com.cenqua.fisheye.ctl.Restore.main(Restore.java:267)
    ... 6 more

 

原因

The backup containing repository and application caches might be too large for Fisheye to restore.

ソリューション

  1. Backup the data without repository and application caches
  2. Restore the backup in the new server
  3. Manually transfer the following files to the new server:
    • FISHEYE_INST/cache
    • FISHEYE_INST/var/cache
最終更新日 2018 年 7 月 31 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.