mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7272: Router stop fails with NPE. Fixing it by making the hostId as Long object than native type long. The issue was the response was checking for getHostId() != null to populate attribute hypervisor. But since the hostId is declared as long it will never be null, resulting in the NPE when populating hypervisor. Fixed that
This commit is contained in:
parent
8d27c19ae2
commit
f424a04b0c
@ -119,7 +119,7 @@ public class DomainRouterJoinVO extends BaseViewVO implements ControlledViewEnti
|
|||||||
private String ip6Dns2 = null;
|
private String ip6Dns2 = null;
|
||||||
|
|
||||||
@Column(name = "host_id", updatable = true, nullable = true)
|
@Column(name = "host_id", updatable = true, nullable = true)
|
||||||
private long hostId;
|
private Long hostId;
|
||||||
|
|
||||||
@Column(name = "host_uuid")
|
@Column(name = "host_uuid")
|
||||||
private String hostUuid;
|
private String hostUuid;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user