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

Atlassian JIRA | James Dumay [Atlassian] | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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}

    Atlassian JIRA | 7 years ago | James Dumay [Atlassian]
    java.lang.ClassCastException: $Proxy222 cannot be cast to com.atlassian.bamboo.build.CustomBuildCompleteAction
  2. 0

    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}

    Atlassian JIRA | 7 years ago | James Dumay [Atlassian]
    java.lang.ClassCastException: $Proxy222 cannot be cast to com.atlassian.bamboo.build.CustomBuildCompleteAction

    Root Cause Analysis

    1. java.lang.ClassCastException

      $Proxy222 cannot be cast to com.atlassian.bamboo.build.CustomBuildCompleteAction

      at com.atlassian.bamboo.plugin.descriptor.CustomBuildCompleteActionModuleDescriptor.getModule()
    2. com.atlassian.bamboo
      BambooEventManager$2.run
      1. com.atlassian.bamboo.plugin.descriptor.CustomBuildCompleteActionModuleDescriptor.getModule(CustomBuildCompleteActionModuleDescriptor.java:30)
      2. com.atlassian.bamboo.v2.build.events.BuildCompletedEventListener.performCustomBuildCompleteAction(BuildCompletedEventListener.java:63)
      3. com.atlassian.bamboo.v2.build.events.BuildCompletedEventListener.handleEvent(BuildCompletedEventListener.java:44)
      4. com.atlassian.bamboo.event.BambooEventManager$2.run(BambooEventManager.java:67)
      4 frames
    3. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      2 frames
    4. com.atlassian.bamboo
      NamedThreadFactory$2.run
      1. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47)
      1 frame
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:637)
      1 frame