Fisheye fails to start with InvocationTargetException caused by ArrayIndexOutOfBoundsException

お困りですか?

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

コミュニティに質問

症状

The following appears in the console while starting Fisheye:

2014-07-04 20:14:12,660 INFO  - UpgradeManager started.
2014-07-04 20:14:12,942 INFO  - loading config from file: /Users/grefosco/Documents/Atlassian/FishEye/fecru-3.4.4/config.xml
2014-07-04 20:14:13,810 INFO  - FishEye: Evaluation License registered to Atlassian.
2014-07-04 20:14:13,867 INFO  - Your license expires in 9 years and 4 months
ERROR: problem running command
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:99)
    at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at com.atlassian.applinks.host.util.InstanceNameGenerator.generateInstanceName(InstanceNameGenerator.java:38)
    at com.cenqua.fisheye.config.RootConfig.start(RootConfig.java:347)
    at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:159)
    at com.cenqua.fisheye.ctl.Run.main(Run.java:56)
    ... 6 more

原因

  • The Site URL was changed, taking effect after Fisheye is restarted, but Fisheye fails to start due to a typo in the URL (e.g. http:/localhost:8060, in which there is a / missing).
  • Also verify for other settings that goes into the config.xml.

ソリューション

  • Edit the Site URL directly in your <FishEye data directory>/config.xml adjusting it as follows:
<web-server site-url="http://localhost:8060">
        <http bind=":8060"/>
    </web-server>
  • Start Fisheye.
最終更新日 2018 年 7 月 31 日

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

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