Trying to move plans from one project to another results in error

お困りですか?

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

コミュニティに質問

Platform Notice: Server, Data Center, and Cloud By Request - This article was written for the Atlassian server and data center platforms but may also be useful for Atlassian Cloud customers. If completing instructions in this article would help you, please contact Atlassian Support and mention it.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

問題

Trying to move a plan from one project to another results in the following SQL error:

Plan move failed: Hibernate operation: Unable to perform find; uncategorized SQLException for SQL []; SQL state [25P02]; error code [0]; ERROR: current transaction is aborted, commands ignored until end of transaction block; nested exception is org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block

 

Plan gets moved, but old plan still appears in the Dashboard. If you click on the plan under the old project or try to edit it, the following error appears:

Internal server error
Go to...
Site homepage
A system error has occurred - our apologies!
Please create a problem report on our support system at http://support.atlassian.com with the following information:
a description of your problem and what you were doing at the time it occurred
cut & paste the error and system information found below
attach the atlassian-bamboo.log log file found in your application home.
We will respond as promptly as possible.
Thank you!
Version: 5.7.1
Build: 5715
Build Date: 24 Nov 2014
Request information:
Request URL: http://bamboo.dev.com/build/admin/edit/editBuildDetails.action
Scheme: http
Server: bamboo.dev.com
Port: 80
URI: /build/admin/edit/editBuildDetails.action
Context path:
Servlet path: /build/admin/edit/editBuildDetails.action
Path info:
Query string: buildKey=ATL-TEST


Looking at the atlassian-bamboo.log we can see the following:

2015-08-07 14:54:28,025 INFO [http-bio-80-exec-4] [AccessLogFilter] admin GET http://bamboo.dev.com/build/admin/edit/editBuildDetails.action?buildKey=ATL-TEST 90070kb
2015-08-07 14:54:28,028 WARN [http-bio-80-exec-4] [PlanAwareInterceptor] Action 'com.atlassian.bamboo.ww2.actions.build.admin.config.ConfigureBuildDetails@6167502a' is plan aware but no plan can be found. PlanKey was 'ATL-TEST'
2015-08-07 14:54:28,030 ERROR [http-bio-80-exec-4] [ExceptionMappingInterceptor] null
java.lang.NullPointerException
    at com.atlassian.bamboo.ww2.actions.build.admin.config.ConfigureBuildDetails.prepare(ConfigureBuildDetails.java:73)
    at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:167)
    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
    at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:161)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
    at com.atlassian.bamboo.security.acegi.intercept.web.WebworkSecurityInterceptor.intercept(WebworkSecurityInterceptor.java:57)
    at com.atlassian.bamboo.security.acegi.intercept.web.WebworkSecurityInterceptorProxy.intercept(WebworkSecurityInterceptorProxy.java:31)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
    at com.atlassian.xwork.interceptors.AroundInterceptor.intercept(AroundInterceptor.java:25)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
    at com.atlassian.bamboo.ww2.interceptors.OnDemandNotSupportedInterceptor.intercept(OnDemandNotSupportedInterceptor.java:31)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
    at com.atlassian.bamboo.ww2.interceptors.PaginationAwareInterceptor.doIntercept(PaginationAwareInterceptor.java:100)
    at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:34)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
    ...
    

回避策

A simple restart of the application corrects the problem and remove the old/orphan plans.

最終更新日 2016 年 7 月 26 日

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

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