Deployment plans not replicating

Issue #16 resolved
Sergey Zorchenko created an issue

When I simply update deployment plan, used as template - nothing happens. When I press 'Replicate Deployments' in administrative section, I see this in log: WARN @ AuthorizationLoggerListener

Credentials not found: org.acegisecurity.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext; secure object: ReflectiveMethodInvocation: public abstract java.util.List com.atlassian.bamboo.deployments.projects.service.DeploymentProjectService.getAllDeploymentProjects(); target is of class [com.atlassian.bamboo.deployments.projects.service.DeploymentProjectServiceImpl]; configuration attributes: [ROLE_USER, ROLE_ANONYMOUS, AFTER_ACL_COLLECTION_READ]

and moments later ERROR @ AsynchronousAbleEventDispatcher

There was an exception thrown trying to dispatch event [org.valens.bamboo.events.DeployReplicationEvent[source=0]] from the invoker [LegacyListenerInvoker{eventListener=org.valens.bamboo.listeners.DeploymentConfigurationListener@4e788278}]
org.acegisecurity.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext
    at org.acegisecurity.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:339)
...
    at com.sun.proxy.$Proxy1673.getAllDeploymentProjects(Unknown Source)
    at org.valens.bamboo.listeners.DeploymentConfigurationListener.replicateAllDeploymentProjects(DeploymentConfigurationListener.java:66)
    at org.valens.bamboo.listeners.DeploymentConfigurationListener.handleEvent(DeploymentConfigurationListener.java:251)

Comments (7)

  1. Hutuleac Iulius repo owner

    Lets try to update to latest and check. I reverted the change I did yesterday for another issue - Thread Stuck exception, for deployment projects is not that important as replication is very fast. Build project replication is being hit by ThreadStuck Exception mostly.

    I will try to find another option for deployment project Thread exception on very large installations.

    Julius

  2. Log in to comment