NullPointerException when creating a review for a file from Perforce

お困りですか?

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

コミュニティに質問

問題

When creating a review for a file that comes from a Perforce repository Fisheye/Crucible throws a NullPointerException and the following appears in the atlassian-fisheye.log

2015-04-29 14:00:00,000 WARN  [qtp1491126818-31907 ] fisheye StreamIndexedLineReader-guardLineNumber - unknown line number 13 only know about 12 in P4:Perforce:Repo/path/to/file
2015-04-29 14:00:00,001 ERROR [qtp1491126818-31918 ] fisheye TotalityFilter-logExceptionDetails - Exception "java.lang.NullPointerException" (javax.servlet.ServletException) while processing "/cru/createDialog.do" (Referer:"https://fisheye.corp.alexa.com/browse/Perforce/Repo/path/to/file")
javax.servlet.ServletException: java.lang.NullPointerException

原因

This issue is usually due to mixed line endings which confuses Fisheye.

ソリューション

  1. Go to FishEye/Crucible Administration > Repositories and open the repository configuration.
  2. At SCM Details set the option Disable Multiple Print.
  3. At Maintenance, under Repository Source Index, click Start for Re-index. This will rebuild the indexes for this repository from scratch.

最終更新日 2018 年 7 月 31 日

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

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