java.lang.ClassCastException: $Proxy222 cannot be cast to com.atlassian.bamboo.build.CustomBuildCompleteAction

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.

  • Found in log: {noformat} 2010-03-31 17:10:36,420 INFO [BAM::Events:pool-1-thread-11] [DashboardCacheListener] event: com.atlassian.bamboo.event.BuildFinishedEvent[source=com.atlassian.bamboo.build.DefaultBuildExecutionManager@4262f926] 2010-03-31 17:10:36,455 INFO [BAM::Events:pool-1-thread-12] [DependencyBuildListener] Checking children plans of 'Crowd - Components' for build CWD-COMP-7 2010-03-31 17:10:36,459 INFO [BAM::Events:pool-1-thread-6] [BuildCompletedEventListener] Running build post actions 'Crowd - Components' 2010-03-31 17:10:36,474 INFO [BAM::Events:pool-1-thread-12] [DependencyBuildListener] Finished checking children plans of 'Crowd - Components' for build CWD-COMP-7 2010-03-31 17:10:53,439 ERROR [BAM::Events:pool-1-thread-13] [NamedThreadFactory] Uncaught exception in thread BAM::Events:pool-1-thread-13 java.lang.ClassCastException: $Proxy222 cannot be cast to com.atlassian.bamboo.build.CustomBuildCompleteAction at com.atlassian.bamboo.plugin.descriptor.CustomBuildCompleteActionModuleDescriptor.getModule(CustomBuildCompleteActionModuleDescriptor.java:30) at com.atlassian.bamboo.v2.build.events.PostBuildCompletedEventListener.performAction(PostBuildCompletedEventListener.java:55) at com.atlassian.bamboo.v2.build.events.PostBuildCompletedEventListener.handleEvent(PostBuildCompletedEventListener.java:39) at com.atlassian.bamboo.event.BambooEventManager$2.run(BambooEventManager.java:67) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Thread.java:637) 2010-03-31 17:10:53,440 ERROR [BAM::Events:pool-1-thread-6] [NamedThreadFactory] Uncaught exception in thread BAM::Events:pool-1-thread-6 java.lang.ClassCastException: $Proxy222 cannot be cast to com.atlassian.bamboo.build.CustomBuildCompleteAction at com.atlassian.bamboo.plugin.descriptor.CustomBuildCompleteActionModuleDescriptor.getModule(CustomBuildCompleteActionModuleDescriptor.java:30) at com.atlassian.bamboo.v2.build.events.BuildCompletedEventListener.performCustomBuildCompleteAction(BuildCompletedEventListener.java:63) at com.atlassian.bamboo.v2.build.events.BuildCompletedEventListener.handleEvent(BuildCompletedEventListener.java:44) at com.atlassian.bamboo.event.BambooEventManager$2.run(BambooEventManager.java:67) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Thread.java:637) 2010-03-31 17:10:58,414 INFO [BAM::Events:pool-1-thread-10] [ChainExecutionManagerImpl] Build CWD-DIST has been dispatched 2010-03-31 17:10:58,504 INFO [968463089@qtp-1902716336-8] [AccessLogFilter] admin http://localhost:8085/build/viewCurrentRunningBuild.action?buildKey=CWD-COMP 52268kb 2010-03-31 17:10:58,660 INFO [BAM::Events:pool-1-thread-17] [BuildQueueManagerImpl] Attempting to queue CWD-DIST with CWD-DIST-7. 2010-03-31 17:10:58,665 INFO [BAM::Events:pool-1-thread-17] [BuildQueueManagerImpl] Attempting to add to build queue... 2010-03-31 17:10:58,665 INFO [BAM::Events:pool-1-thread-17] [BuildQueueManagerImpl] Obtained write lock to add to build queue 2010-03-31 17:10:58,766 INFO [BAM::Events:pool-1-thread-17] [BuildQueueManagerImpl] CWD-DIST-7 added to queue. 2010-03-31 17:10:58,807 INFO [BAM::Default Agent::Agent:pool-4-thread-1] [AgentQueueAccessorImpl] CWD-DIST-7 taken from queue. 2010-03-31 17:10:58,808 INFO [BAM::Default Agent::Agent:pool-4-thread-1] [DefaultBuildExecutionManager] Plan 'CWD-DIST-7' started on agentId 131073 2010-03-31 17:10:58,834 INFO [BAM::Default Agent::Agent:pool-4-thread-1] [BuildAgentControllerImpl] Build CWD-DIST-7 started building on agent Default Agent 2010-03-31 17:10:58,834 INFO [BAM::Default Agent::Agent:pool-4-thread-1] [DefaultBuildAgent] Running build task: com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild {noformat}
    via by James Dumay [Atlassian],
  • Found in log: {noformat} 2010-03-31 17:10:36,420 INFO [BAM::Events:pool-1-thread-11] [DashboardCacheListener] event: com.atlassian.bamboo.event.BuildFinishedEvent[source=com.atlassian.bamboo.build.DefaultBuildExecutionManager@4262f926] 2010-03-31 17:10:36,455 INFO [BAM::Events:pool-1-thread-12] [DependencyBuildListener] Checking children plans of 'Crowd - Components' for build CWD-COMP-7 2010-03-31 17:10:36,459 INFO [BAM::Events:pool-1-thread-6] [BuildCompletedEventListener] Running build post actions 'Crowd - Components' 2010-03-31 17:10:36,474 INFO [BAM::Events:pool-1-thread-12] [DependencyBuildListener] Finished checking children plans of 'Crowd - Components' for build CWD-COMP-7 2010-03-31 17:10:53,439 ERROR [BAM::Events:pool-1-thread-13] [NamedThreadFactory] Uncaught exception in thread BAM::Events:pool-1-thread-13 java.lang.ClassCastException: $Proxy222 cannot be cast to com.atlassian.bamboo.build.CustomBuildCompleteAction at com.atlassian.bamboo.plugin.descriptor.CustomBuildCompleteActionModuleDescriptor.getModule(CustomBuildCompleteActionModuleDescriptor.java:30) at com.atlassian.bamboo.v2.build.events.PostBuildCompletedEventListener.performAction(PostBuildCompletedEventListener.java:55) at com.atlassian.bamboo.v2.build.events.PostBuildCompletedEventListener.handleEvent(PostBuildCompletedEventListener.java:39) at com.atlassian.bamboo.event.BambooEventManager$2.run(BambooEventManager.java:67) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Thread.java:637) 2010-03-31 17:10:53,440 ERROR [BAM::Events:pool-1-thread-6] [NamedThreadFactory] Uncaught exception in thread BAM::Events:pool-1-thread-6 java.lang.ClassCastException: $Proxy222 cannot be cast to com.atlassian.bamboo.build.CustomBuildCompleteAction at com.atlassian.bamboo.plugin.descriptor.CustomBuildCompleteActionModuleDescriptor.getModule(CustomBuildCompleteActionModuleDescriptor.java:30) at com.atlassian.bamboo.v2.build.events.BuildCompletedEventListener.performCustomBuildCompleteAction(BuildCompletedEventListener.java:63) at com.atlassian.bamboo.v2.build.events.BuildCompletedEventListener.handleEvent(BuildCompletedEventListener.java:44) at com.atlassian.bamboo.event.BambooEventManager$2.run(BambooEventManager.java:67) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Thread.java:637) 2010-03-31 17:10:58,414 INFO [BAM::Events:pool-1-thread-10] [ChainExecutionManagerImpl] Build CWD-DIST has been dispatched 2010-03-31 17:10:58,504 INFO [968463089@qtp-1902716336-8] [AccessLogFilter] admin http://localhost:8085/build/viewCurrentRunningBuild.action?buildKey=CWD-COMP 52268kb 2010-03-31 17:10:58,660 INFO [BAM::Events:pool-1-thread-17] [BuildQueueManagerImpl] Attempting to queue CWD-DIST with CWD-DIST-7. 2010-03-31 17:10:58,665 INFO [BAM::Events:pool-1-thread-17] [BuildQueueManagerImpl] Attempting to add to build queue... 2010-03-31 17:10:58,665 INFO [BAM::Events:pool-1-thread-17] [BuildQueueManagerImpl] Obtained write lock to add to build queue 2010-03-31 17:10:58,766 INFO [BAM::Events:pool-1-thread-17] [BuildQueueManagerImpl] CWD-DIST-7 added to queue. 2010-03-31 17:10:58,807 INFO [BAM::Default Agent::Agent:pool-4-thread-1] [AgentQueueAccessorImpl] CWD-DIST-7 taken from queue. 2010-03-31 17:10:58,808 INFO [BAM::Default Agent::Agent:pool-4-thread-1] [DefaultBuildExecutionManager] Plan 'CWD-DIST-7' started on agentId 131073 2010-03-31 17:10:58,834 INFO [BAM::Default Agent::Agent:pool-4-thread-1] [BuildAgentControllerImpl] Build CWD-DIST-7 started building on agent Default Agent 2010-03-31 17:10:58,834 INFO [BAM::Default Agent::Agent:pool-4-thread-1] [DefaultBuildAgent] Running build task: com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild {noformat}
    via by James Dumay [Atlassian],
    • java.lang.ClassCastException: $Proxy222 cannot be cast to com.atlassian.bamboo.build.CustomBuildCompleteAction at com.atlassian.bamboo.plugin.descriptor.CustomBuildCompleteActionModuleDescriptor.getModule(CustomBuildCompleteActionModuleDescriptor.java:30) at com.atlassian.bamboo.v2.build.events.BuildCompletedEventListener.performCustomBuildCompleteAction(BuildCompletedEventListener.java:63) at com.atlassian.bamboo.v2.build.events.BuildCompletedEventListener.handleEvent(BuildCompletedEventListener.java:44) at com.atlassian.bamboo.event.BambooEventManager$2.run(BambooEventManager.java:67) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Thread.java:637)
    No Bugmate found.