java.lang.reflect.UndeclaredThrowableException

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.

  • Plan project stopped to work after upgrade from 5.10.1.1->5.12.1 {code} java.lang.reflect.UndeclaredThrowableException at com.sun.proxy.$Proxy12.toMessage(Unknown Source) at com.atlassian.bamboo.v2.build.agent.remote.sender.JmsTemplateMessageSender$3.doInJms(JmsTemplateMessageSender.java:95) at com.atlassian.bamboo.v2.build.agent.remote.sender.JmsTemplateMessageSender$3.doInJms(JmsTemplateMessageSender.java:87) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:491) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:456) at com.atlassian.bamboo.v2.build.agent.remote.sender.JmsTemplateMessageSender.createMessage(JmsTemplateMessageSender.java:86) at com.atlassian.bamboo.v2.build.agent.remote.sender.JmsTemplateMessageSender.send(JmsTemplateMessageSender.java:53) at com.atlassian.bamboo.v2.build.agent.remote.sender.BatchedMessageSender.sendBatch(BatchedMessageSender.java:159) at com.atlassian.bamboo.v2.build.agent.remote.sender.BatchedMessageSender.getBatchForNewMessage(BatchedMessageSender.java:132) at com.atlassian.bamboo.v2.build.agent.remote.sender.BatchedMessageSender.flush(BatchedMessageSender.java:86) at com.atlassian.bamboo.v2.build.agent.remote.sender.BatchedMessageSender.send(BatchedMessageSender.java:64) at com.atlassian.bamboo.v2.build.agent.remote.RemoteTimingPointServiceImpl.publish(RemoteTimingPointServiceImpl.java:48) at com.atlassian.bamboo.v2.build.agent.remote.RemoteTimingPointServiceImpl.publish(RemoteTimingPointServiceImpl.java:30) at com.atlassian.bamboo.v2.build.agent.remote.RemoteExecutionPhaseServiceImpl.executionStarted(RemoteExecutionPhaseServiceImpl.java:104) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:67) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:215) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130) at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:137) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.atlassian.bamboo.spring.LazyComponentProxyFactoryBean$LazyInvocationHandler.invoke(LazyComponentProxyFactoryBean.java:59) ... 26 more Caused by: java.lang.IllegalArgumentException: Unknown key type: class com.atlassian.bamboo.plan.DeploymentResultKeyAsPlanResultKey at com.atlassian.bamboo.v2.build.agent.LogMessageBatchConverter.writeLoggerId(LogMessageBatchConverter.java:221) at com.atlassian.bamboo.v2.build.agent.LogMessageBatchConverter.createMessage(LogMessageBatchConverter.java:100) at com.atlassian.bamboo.v2.build.agent.LogMessageBatchConverter.toMessage(LogMessageBatchConverter.java:168) at com.atlassian.bamboo.v2.build.queue.MessageConverterProxy.toMessage(MessageConverterProxy.java:37) at com.atlassian.bamboo.v2.build.queue.BambooMessageConverter.toMessage(BambooMessageConverter.java:64) ... 30 more {code}
    via by Alexey Chystoprudov,
    • java.lang.reflect.UndeclaredThrowableException at com.sun.proxy.$Proxy12.toMessage(Unknown Source) at com.atlassian.bamboo.v2.build.agent.remote.sender.JmsTemplateMessageSender$3.doInJms(JmsTemplateMessageSender.java:95) at com.atlassian.bamboo.v2.build.agent.remote.sender.JmsTemplateMessageSender$3.doInJms(JmsTemplateMessageSender.java:87) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:491) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:456) at com.atlassian.bamboo.v2.build.agent.remote.sender.JmsTemplateMessageSender.createMessage(JmsTemplateMessageSender.java:86) at com.atlassian.bamboo.v2.build.agent.remote.sender.JmsTemplateMessageSender.send(JmsTemplateMessageSender.java:53) at com.atlassian.bamboo.v2.build.agent.remote.sender.BatchedMessageSender.sendBatch(BatchedMessageSender.java:159) at com.atlassian.bamboo.v2.build.agent.remote.sender.BatchedMessageSender.getBatchForNewMessage(BatchedMessageSender.java:132) at com.atlassian.bamboo.v2.build.agent.remote.sender.BatchedMessageSender.flush(BatchedMessageSender.java:86) at com.atlassian.bamboo.v2.build.agent.remote.sender.BatchedMessageSender.send(BatchedMessageSender.java:64) at com.atlassian.bamboo.v2.build.agent.remote.RemoteTimingPointServiceImpl.publish(RemoteTimingPointServiceImpl.java:48) at com.atlassian.bamboo.v2.build.agent.remote.RemoteTimingPointServiceImpl.publish(RemoteTimingPointServiceImpl.java:30) at com.atlassian.bamboo.v2.build.agent.remote.RemoteExecutionPhaseServiceImpl.executionStarted(RemoteExecutionPhaseServiceImpl.java:104) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:67) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:215) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130) at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:137) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.atlassian.bamboo.spring.LazyComponentProxyFactoryBean$LazyInvocationHandler.invoke(LazyComponentProxyFactoryBean.java:59) ... 26 more Caused by: java.lang.IllegalArgumentException: Unknown key type: class com.atlassian.bamboo.plan.DeploymentResultKeyAsPlanResultKey at com.atlassian.bamboo.v2.build.agent.LogMessageBatchConverter.writeLoggerId(LogMessageBatchConverter.java:221) at com.atlassian.bamboo.v2.build.agent.LogMessageBatchConverter.createMessage(LogMessageBatchConverter.java:100) at com.atlassian.bamboo.v2.build.agent.LogMessageBatchConverter.toMessage(LogMessageBatchConverter.java:168) at com.atlassian.bamboo.v2.build.queue.MessageConverterProxy.toMessage(MessageConverterProxy.java:37) at com.atlassian.bamboo.v2.build.queue.BambooMessageConverter.toMessage(BambooMessageConverter.java:64) ... 30 more
    No Bugmate found.