com.atlassian.theplugin.commons.remoteapi.RemoteApiException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • In the IntelliJ IDEA Atlassian connector, submitting a pre-commit code review triggers a stacktrace: com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 403 (Forbidden) Reason: NotPermitted Message: You do not have permission to Edit Review Details the review CR-TEST-123: com.cenqua.crucible.model.Review@27d at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.buildExceptionText(AbstractHttpSession.java:487) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:430) at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromUpload(CrucibleSessionImpl.java:1253) at com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.createReviewFromUpload(CrucibleServerFacadeImpl.java:143) at com.atlassian.connector.intellij.crucible.IntelliJCrucibleServerFacade.createReviewFromUpload(IntelliJCrucibleServerFacade.java:130) at com.atlassian.theplugin.idea.crucible.AbstractCrucibleCreatePreCommitReviewForm.createReviewImpl(AbstractCrucibleCreatePreCommitReviewForm.java:56) at com.atlassian.theplugin.idea.crucible.CrucibleCreatePreCommitUploadReviewForm.createReview(CrucibleCreatePreCommitUploadReviewForm.java:60) at com.atlassian.theplugin.idea.crucible.CrucibleReviewCreateForm$8.run(CrucibleReviewCreateForm.java:811) 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)
    via by Jeff Turner,
  • In the IntelliJ IDEA Atlassian connector, submitting a pre-commit code review triggers a stacktrace: com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 403 (Forbidden) Reason: NotPermitted Message: You do not have permission to Edit Review Details the review CR-TEST-123: com.cenqua.crucible.model.Review@27d at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.buildExceptionText(AbstractHttpSession.java:487) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:430) at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromUpload(CrucibleSessionImpl.java:1253) at com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.createReviewFromUpload(CrucibleServerFacadeImpl.java:143) at com.atlassian.connector.intellij.crucible.IntelliJCrucibleServerFacade.createReviewFromUpload(IntelliJCrucibleServerFacade.java:130) at com.atlassian.theplugin.idea.crucible.AbstractCrucibleCreatePreCommitReviewForm.createReviewImpl(AbstractCrucibleCreatePreCommitReviewForm.java:56) at com.atlassian.theplugin.idea.crucible.CrucibleCreatePreCommitUploadReviewForm.createReview(CrucibleCreatePreCommitUploadReviewForm.java:60) at com.atlassian.theplugin.idea.crucible.CrucibleReviewCreateForm$8.run(CrucibleReviewCreateForm.java:811) 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)
    via by Jeff Turner (Unused account),
  • 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.
    via by Krystian Brazulewicz,
  • 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)
    via by Piotr Maruszak,
  • 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)
    via by Ben Warner,
  • h3.Steps to reproduce: # Open a Project # Add a new file (example, test.sh) anywhere within the project # Create a pre-commit review with Mercurial (our chosen version control system) by selecting the file -> Mercurial -> Commit -> Crucible Pre-Commit-Review. # Add a comment and commit to the default project in Mercurial. This fails with the following error in IntelliJ: {noformat} com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 500 (Internal Server Error) Reason: Message: Unable to anchor patch [CR-25-patch-0.txt] to repository [BiitMercurial]: Crucible tried to anchor your patch to 'BiitMercurial', but did not find any matching paths. at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.buildExceptionText(AbstractHttpSession.java:639) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternalImpl(AbstractHttpSession.java:458) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternal(AbstractHttpSession.java:373) {noformat} FishEye log: {noformat} 2013-08-26 15:49:26,334 DEBUG [btpool0-12 ] fisheye ProfilingServletFilter-logRequest - end request POST /rest-service/auth-v1/login?userName=admin&password=XXXX sessionid=4c6nkowhlnx3dse9jesa1tqi 2013-08-26 15:49:26,341 DEBUG [btpool0-12 ] fisheye ProfilingServletFilter-logRequest - start request POST /rest-service/reviews-v1 sessionid=4c6nkowhlnx3dse9jesa1tqi 2013-08-26 15:49:26,806 DEBUG [btpool0-12 ] fisheye RepositoryHandle-acquire - acquire engine on BiitMercurial, count=1 2013-08-26 15:49:26,807 WARN [btpool0-12 ] fisheye TxHelper-rollbackTxIfNotCommitted - Rolled back transaction started from: -> com.atlassian.fisheye.spi.impl.DefaultTxTemplate.execute(DefaultTxTemplate.java:122) -> com.atlassian.fisheye.spi.impl.DefaultTxTemplate.execute(DefaultTxTemplate.java:114) -> sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source) -> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) -> java.lang.reflect.Method.invoke(Method.java:597) 2013-08-26 15:49:26,808 ERROR [btpool0-12 ] com.atlassian.plugins.rest.common.error.jersey.ThrowableExceptionMapper ThrowableExceptionMapper-toResponse - Uncaught exception thrown by REST service com.atlassian.crucible.spi.services.PatchAnchorFailedException: Unable to anchor patch [CR-25-patch-0.txt] to repository [BiitMercurial]: Crucible tried to anchor your patch to 'BiitMercurial', but did not find any matching paths. at com.atlassian.crucible.spi.impl.DefaultReviewService.doSearchAndSetAnchor(DefaultReviewService.java:300) at com.atlassian.crucible.spi.impl.DefaultReviewService.tryAnchorPatch(DefaultReviewService.java:279) at com.atlassian.crucible.spi.impl.DefaultReviewService.access$400(DefaultReviewService.java:142) at com.atlassian.crucible.spi.impl.DefaultReviewService$7.doInTransaction(DefaultReviewService.java:675) at com.atlassian.crucible.spi.impl.DefaultReviewService$7.doInTransaction(DefaultReviewService.java:661) at com.atlassian.fisheye.spi.impl.DefaultTxTemplate.execute(DefaultTxTemplate.java:126) at com.atlassian.fisheye.spi.impl.DefaultTxTemplate.execute(DefaultTxTemplate.java:114) at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) {noformat} Tested uploading the patch file manually to the same review in the UI able to anchor to the repository BiitMercurial. Tested REST API to add the patch file but unable to reproduce the same error in the log. The patch is able to anchor to the repository but not added in the list of file in the review.
    via by Kah Loun Foong [Atlassian],
  • h3.Steps to reproduce: # Open a Project # Add a new file (example, test.sh) anywhere within the project # Create a pre-commit review with Mercurial (our chosen version control system) by selecting the file -> Mercurial -> Commit -> Crucible Pre-Commit-Review. # Add a comment and commit to the default project in Mercurial. This fails with the following error in IntelliJ: {noformat} com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 500 (Internal Server Error) Reason: Message: Unable to anchor patch [CR-25-patch-0.txt] to repository [BiitMercurial]: Crucible tried to anchor your patch to 'BiitMercurial', but did not find any matching paths. at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.buildExceptionText(AbstractHttpSession.java:639) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternalImpl(AbstractHttpSession.java:458) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternal(AbstractHttpSession.java:373) {noformat} FishEye log: {noformat} 2013-08-26 15:49:26,334 DEBUG [btpool0-12 ] fisheye ProfilingServletFilter-logRequest - end request POST /rest-service/auth-v1/login?userName=admin&password=XXXX sessionid=4c6nkowhlnx3dse9jesa1tqi 2013-08-26 15:49:26,341 DEBUG [btpool0-12 ] fisheye ProfilingServletFilter-logRequest - start request POST /rest-service/reviews-v1 sessionid=4c6nkowhlnx3dse9jesa1tqi 2013-08-26 15:49:26,806 DEBUG [btpool0-12 ] fisheye RepositoryHandle-acquire - acquire engine on BiitMercurial, count=1 2013-08-26 15:49:26,807 WARN [btpool0-12 ] fisheye TxHelper-rollbackTxIfNotCommitted - Rolled back transaction started from: -> com.atlassian.fisheye.spi.impl.DefaultTxTemplate.execute(DefaultTxTemplate.java:122) -> com.atlassian.fisheye.spi.impl.DefaultTxTemplate.execute(DefaultTxTemplate.java:114) -> sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source) -> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) -> java.lang.reflect.Method.invoke(Method.java:597) 2013-08-26 15:49:26,808 ERROR [btpool0-12 ] com.atlassian.plugins.rest.common.error.jersey.ThrowableExceptionMapper ThrowableExceptionMapper-toResponse - Uncaught exception thrown by REST service com.atlassian.crucible.spi.services.PatchAnchorFailedException: Unable to anchor patch [CR-25-patch-0.txt] to repository [BiitMercurial]: Crucible tried to anchor your patch to 'BiitMercurial', but did not find any matching paths. at com.atlassian.crucible.spi.impl.DefaultReviewService.doSearchAndSetAnchor(DefaultReviewService.java:300) at com.atlassian.crucible.spi.impl.DefaultReviewService.tryAnchorPatch(DefaultReviewService.java:279) at com.atlassian.crucible.spi.impl.DefaultReviewService.access$400(DefaultReviewService.java:142) at com.atlassian.crucible.spi.impl.DefaultReviewService$7.doInTransaction(DefaultReviewService.java:675) at com.atlassian.crucible.spi.impl.DefaultReviewService$7.doInTransaction(DefaultReviewService.java:661) at com.atlassian.fisheye.spi.impl.DefaultTxTemplate.execute(DefaultTxTemplate.java:126) at com.atlassian.fisheye.spi.impl.DefaultTxTemplate.execute(DefaultTxTemplate.java:114) at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) {noformat} Tested uploading the patch file manually to the same review in the UI able to anchor to the repository BiitMercurial. Tested REST API to add the patch file but unable to reproduce the same error in the log. The patch is able to anchor to the repository but not added in the list of file in the review.
    via by Kah Loun Foong [Atlassian],
  • 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)
    via by Piotr Maruszak,
  • 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)
    via by Ben Warner,
    • com.atlassian.theplugin.commons.remoteapi.RemoteApiException: Server returned HTTP 403 (Forbidden) Reason: NotPermitted Message: You do not have permission to Edit Review Details the review CR-TEST-123: com.cenqua.crucible.model.Review@27d at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.buildExceptionText(AbstractHttpSession.java:487) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:430) at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromUpload(CrucibleSessionImpl.java:1253) at com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.createReviewFromUpload(CrucibleServerFacadeImpl.java:143) at com.atlassian.connector.intellij.crucible.IntelliJCrucibleServerFacade.createReviewFromUpload(IntelliJCrucibleServerFacade.java:130) at com.atlassian.theplugin.idea.crucible.AbstractCrucibleCreatePreCommitReviewForm.createReviewImpl(AbstractCrucibleCreatePreCommitReviewForm.java:56) at com.atlassian.theplugin.idea.crucible.CrucibleCreatePreCommitUploadReviewForm.createReview(CrucibleCreatePreCommitUploadReviewForm.java:60) at com.atlassian.theplugin.idea.crucible.CrucibleReviewCreateForm$8.run(CrucibleReviewCreateForm.java:811) 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)
    No Bugmate found.