NullPointerException when creating review from AccuRev repository

お困りですか?

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

コミュニティに質問

症状

A NullPointerException happens when creating a review adding content from an AccuRev repository and leaving the title of the review blank.

Steps to Reproduce:

  1. Click on Create Review. It takes directly to the Add Content menu.
  2. Click on Browse changesets and choose some changeset from an AccuRev repository.
  3. Click in Done to create the review.

atlassian-fisheye.log に次のメッセージが表示される。

2014-12-04 10:00:00,000 WARN  [qtp16353814-6568 ] fisheye TxHelper-rollbackTxIfNotCommitted - Rolled back transaction started from:
java.lang.Throwable: (Stacktrace at transaction start)
(...) 
2014-12-04 10:14:30,917 ERROR [qtp16353814-6568 ] fisheye TotalityFilter-logExceptionDetails - Exception "java.lang.NullPointerException" (javax.servlet.ServletException) while processing "/cru/editRevisionsAjax.do" (Referer:"http://localhost:8060/cru/CR-1/edit-changelog/repo/")
javax.servlet.ServletException: java.lang.NullPointerException
(...)
Caused by: java.lang.NullPointerException

原因

If you use the AccuRev plugin this is most likely a bug and you should reach out to  AccuRev Support for further information. If you do not have AccuRev you may be running into the following bug:  CRUC-7259 - Getting issue details... STATUS

If you do not have AccuRev please follow the resolution and workarounds listed on the bug ticket, if you do have AccuRev continue reading this page. 

回避策

Workaround 1: Before clicking in Done to create the review, click in Edit Details and add a title to the review.

Workaround 2: Add the repository as a native repository (FishEye/Crucible Administration > Repositories > 'Native Repository access' tab > Add Repository) and create the review from this repository.

ソリューション

Version 2014.4-SNAPSHOT of the AccuRev plugin resolves this issue. Please upgrade the plugin in your Fisheye/Crucible instance.

最終更新日 2018 年 7 月 31 日

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

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