[
https://issues.apache.org/jira/browse/CLOUDSTACK-7563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14231320#comment-14231320
]
ASF subversion and git services commented on CLOUDSTACK-7563:
-------------------------------------------------------------
Commit f40e31e061a6e10c67fc3c4db997138e071f9fa2 in cloudstack's branch
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f40e31e ]
CLOUDSTACK-7563: Fix potential NPE in checking answer
Signed-off-by: Rohit Yadav <[email protected]>
(cherry picked from commit d42e3df9cf43b0ad46d406c6ab5b1d8c811d0239)
Signed-off-by: Rohit Yadav <[email protected]>
> ClassCastException in VirtualMachineManagerImpl in handling various Agent
> command answer.
> -----------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-7563
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7563
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Affects Versions: 4.3.0
> Reporter: Min Chen
> Assignee: Min Chen
> Priority: Critical
> Fix For: 4.5.0
>
>
> irtualMachineManagerImpl has many methods directly cast the Answer received
> from AgentManager.send or AgentManager.easySend to the expected Answer class
> in the normal case. This will throw unhandled ClassCastException in some
> unexcepted cases where host is down and agent is disconnected, which will
> lead to cloud instability.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)