com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 400 (Bad Request) Reason: IllegalArgument Message: CreateReview requires at least one ReviewData or DetailedReviewData element

Atlassian JIRA | Ben Warner | 3 years ago
  1. 0

    Hi there, We are using Intellij v13.0. Atlassian Connector for IntelliJ IDE v3.0.13, SVN:1312051023 Crucible Version:2.6.1 Build:20110621071349 2011-06-22 When committing some code with the option: "Crucible Pre-commit Review..." We are seeing an error in Intellij: com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 400 (Bad Request) Reason: IllegalArgument Message: CreateReview requires at least one ReviewData or DetailedReviewData element at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.buildExceptionText(AbstractHttpSession.java:665) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternalImpl(AbstractHttpSession.java:484) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternal(AbstractHttpSession.java:393) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:384) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:374) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:362) at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromPatch(CrucibleSessionImpl.java:1304) at com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.createReviewFromPatch(CrucibleServerFacadeImpl.java:381) at com.atlassian.connector.intellij.crucible.IntelliJCrucibleServerFacade.createReviewFromPatch(IntelliJCrucibleServerFacade.java:241) at com.atlassian.theplugin.idea.crucible.AbstractCrucibleCreatePreCommitReviewForm.createReviewImpl(AbstractCrucibleCreatePreCommitReviewForm.java:63) at com.atlassian.theplugin.idea.crucible.CrucibleCreatePreCommitUploadReviewForm.createReview(CrucibleCreatePreCommitUploadReviewForm.java:76) at com.atlassian.theplugin.idea.crucible.CrucibleReviewCreateForm$8.run(CrucibleReviewCreateForm.java:805) at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:464) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178) at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171) at com.intellij.openapi.progress.impl.ProgressManagerImpl$8.run(ProgressManagerImpl.java:373) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:436) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:153)

    Atlassian JIRA | 3 years ago | Ben Warner
    com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 400 (Bad Request) Reason: IllegalArgument Message: CreateReview requires at least one ReviewData or DetailedReviewData element
  2. 0

    Hi there, We are using Intellij v13.0. Atlassian Connector for IntelliJ IDE v3.0.13, SVN:1312051023 Crucible Version:2.6.1 Build:20110621071349 2011-06-22 When committing some code with the option: "Crucible Pre-commit Review..." We are seeing an error in Intellij: com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 400 (Bad Request) Reason: IllegalArgument Message: CreateReview requires at least one ReviewData or DetailedReviewData element at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.buildExceptionText(AbstractHttpSession.java:665) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternalImpl(AbstractHttpSession.java:484) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternal(AbstractHttpSession.java:393) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:384) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:374) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:362) at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromPatch(CrucibleSessionImpl.java:1304) at com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.createReviewFromPatch(CrucibleServerFacadeImpl.java:381) at com.atlassian.connector.intellij.crucible.IntelliJCrucibleServerFacade.createReviewFromPatch(IntelliJCrucibleServerFacade.java:241) at com.atlassian.theplugin.idea.crucible.AbstractCrucibleCreatePreCommitReviewForm.createReviewImpl(AbstractCrucibleCreatePreCommitReviewForm.java:63) at com.atlassian.theplugin.idea.crucible.CrucibleCreatePreCommitUploadReviewForm.createReview(CrucibleCreatePreCommitUploadReviewForm.java:76) at com.atlassian.theplugin.idea.crucible.CrucibleReviewCreateForm$8.run(CrucibleReviewCreateForm.java:805) at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:464) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178) at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171) at com.intellij.openapi.progress.impl.ProgressManagerImpl$8.run(ProgressManagerImpl.java:373) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:436) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:153)

    Atlassian JIRA | 3 years ago | Ben Warner
    com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 400 (Bad Request) Reason: IllegalArgument Message: CreateReview requires at least one ReviewData or DetailedReviewData element
  3. 0

    I was trying to create precommit review but without success. Before revision exists in FE but after is empty? Is it a problem for Crucible that after revision is empty? Creating precommit review without anchor works. IDE Connector sends request (see attachement) and HTTP 500 is generated: com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 500 (Internal Server Error) Reason: Message: Unable to anchor patch [GT-15-patch-0.txt] to repository [PreCommit]: Crucible tried to anchor your patch to 'PreCommit', but did not find any matching revisions. at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.buildExceptionText(AbstractHttpSession.java:625) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternalImpl(AbstractHttpSession.java:444) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternal(AbstractHttpSession.java:359) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:350) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:345) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:338) at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromPatch(CrucibleSessionImpl.java:1302) at com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.createReviewFromPatch(CrucibleServerFacadeImpl.java:381) at com.atlassian.connector.intellij.crucible.IntelliJCrucibleServerFacade.createReviewFromPatch(IntelliJCrucibleServerFacade.java:241) at com.atlassian.theplugin.idea.crucible.AbstractCrucibleCreatePreCommitReviewForm.createReviewImpl(AbstractCrucibleCreatePreCommitReviewForm.java:63) at com.atlassian.theplugin.idea.crucible.CrucibleCreatePreCommitUploadReviewForm.createReview(CrucibleCreatePreCommitUploadReviewForm.java:76) at com.atlassian.theplugin.idea.crucible.CrucibleReviewCreateForm$8.run(CrucibleReviewCreateForm.java:805) at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:464) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:181) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:172) at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:340) at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:375) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)

    Atlassian JIRA | 5 years ago | Piotr Maruszak
    com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 500 (Internal Server Error) Reason: Message: Unable to anchor patch [GT-15-patch-0.txt] to repository [PreCommit]: Crucible tried to anchor your patch to 'PreCommit', but did not find any matching revisions.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I was trying to create precommit review but without success. Before revision exists in FE but after is empty? Is it a problem for Crucible that after revision is empty? Creating precommit review without anchor works. IDE Connector sends request (see attachement) and HTTP 500 is generated: com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 500 (Internal Server Error) Reason: Message: Unable to anchor patch [GT-15-patch-0.txt] to repository [PreCommit]: Crucible tried to anchor your patch to 'PreCommit', but did not find any matching revisions. at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.buildExceptionText(AbstractHttpSession.java:625) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternalImpl(AbstractHttpSession.java:444) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternal(AbstractHttpSession.java:359) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:350) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:345) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:338) at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromPatch(CrucibleSessionImpl.java:1302) at com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.createReviewFromPatch(CrucibleServerFacadeImpl.java:381) at com.atlassian.connector.intellij.crucible.IntelliJCrucibleServerFacade.createReviewFromPatch(IntelliJCrucibleServerFacade.java:241) at com.atlassian.theplugin.idea.crucible.AbstractCrucibleCreatePreCommitReviewForm.createReviewImpl(AbstractCrucibleCreatePreCommitReviewForm.java:63) at com.atlassian.theplugin.idea.crucible.CrucibleCreatePreCommitUploadReviewForm.createReview(CrucibleCreatePreCommitUploadReviewForm.java:76) at com.atlassian.theplugin.idea.crucible.CrucibleReviewCreateForm$8.run(CrucibleReviewCreateForm.java:805) at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:464) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:181) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:172) at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:340) at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:375) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)

    Atlassian JIRA | 5 years ago | Piotr Maruszak
    com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 500 (Internal Server Error) Reason: Message: Unable to anchor patch [GT-15-patch-0.txt] to repository [PreCommit]: Crucible tried to anchor your patch to 'PreCommit', but did not find any matching revisions.
  6. 0

    During creation of code reviev from checkin (window Changes/Repository) I get: com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 400 (Bad Request) Reason: IllegalArgument Message: Specified change set id does not exist: 77589 at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.buildExceptionText(AbstractHttpSession.java:465) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:353) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:309) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:302) at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromRevision(CrucibleSessionImpl.java:1251) at com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.createReviewFromRevision(CrucibleServerFacadeImpl.java:217) at com.atlassian.theplugin.idea.crucible.AbstractCrucibleCreatePostCommitReviewForm.createReviewImpl(AbstractCrucibleCreatePostCommitReviewForm.java:68) at com.atlassian.theplugin.idea.crucible.CrucibleCreatePostCommitReviewFromChangeListForm.createReview(CrucibleCreatePostCommitReviewFromChangeListForm.java:52) at com.atlassian.theplugin.idea.crucible.CrucibleReviewCreateForm$9.run(CrucibleReviewCreateForm.java:737) at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:3) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:5) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:13) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:101) at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:16) at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:8) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:5) Maybe it will help: I've tried to create review right after I made a commit. After a minute or two it worked.

    Ecosystem JIRA | 8 years ago | Krystian Brazulewicz
    com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 400 (Bad Request) Reason: IllegalArgument Message: Specified change set id does not exist: 77589

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.theplugin.commons.remoteapi.RemoteApiException

      Server returned HTTP 400 (Bad Request) Reason: IllegalArgument Message: CreateReview requires at least one ReviewData or DetailedReviewData element

      at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.buildExceptionText()
    2. com.atlassian.theplugin
      CrucibleServerFacadeImpl.createReviewFromPatch
      1. com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.buildExceptionText(AbstractHttpSession.java:665)
      2. com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternalImpl(AbstractHttpSession.java:484)
      3. com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternal(AbstractHttpSession.java:393)
      4. com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:384)
      5. com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:374)
      6. com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:362)
      7. com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromPatch(CrucibleSessionImpl.java:1304)
      8. com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.createReviewFromPatch(CrucibleServerFacadeImpl.java:381)
      8 frames
    3. com.atlassian.connector
      IntelliJCrucibleServerFacade.createReviewFromPatch
      1. com.atlassian.connector.intellij.crucible.IntelliJCrucibleServerFacade.createReviewFromPatch(IntelliJCrucibleServerFacade.java:241)
      1 frame
    4. com.atlassian.theplugin
      CrucibleReviewCreateForm$8.run
      1. com.atlassian.theplugin.idea.crucible.AbstractCrucibleCreatePreCommitReviewForm.createReviewImpl(AbstractCrucibleCreatePreCommitReviewForm.java:63)
      2. com.atlassian.theplugin.idea.crucible.CrucibleCreatePreCommitUploadReviewForm.createReview(CrucibleCreatePreCommitUploadReviewForm.java:76)
      3. com.atlassian.theplugin.idea.crucible.CrucibleReviewCreateForm$8.run(CrucibleReviewCreateForm.java:805)
      3 frames
    5. IDEA
      ApplicationImpl$8.run
      1. com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:464)
      2. com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
      3. com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
      4. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
      5. com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
      6. com.intellij.openapi.progress.impl.ProgressManagerImpl$8.run(ProgressManagerImpl.java:373)
      7. com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:436)
      7 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      5. java.lang.Thread.run(Thread.java:724)
      5 frames
    7. IDEA
      ApplicationImpl$1$1.run
      1. com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:153)
      1 frame