You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot load from byte/boolean array because "m" is null #12274
I'm having a hard time figuring this out, any help would be much appreciated
2025-12-16 14:14:29,520 ERROR [cloud.agent.AgentShell] (main:[]) (logid:) Unable to start agent: java.lang.NullPointerException: Cannot load from byte/boolean array because "m" is null
at com.cloud.utils.net.NetUtils.byte2Mac(NetUtils.java:500)
at com.cloud.utils.net.NetUtils.getNetworkParams(NetUtils.java:479)
at com.cloud.utils.net.NetUtils.getNicParams(NetUtils.java:433)
at com.cloud.resource.ServerResourceBase.isValidNicToUseAsPrivateNic(ServerResourceBase.java:147)
at com.cloud.resource.ServerResourceBase.tryToAutoDiscoverResourcePrivateNetworkInterface(ServerResourceBase.java:125)
at com.cloud.resource.ServerResourceBase.configure(ServerResourceBase.java:79)
at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.configure(LibvirtComputingResource.java:980)
at com.cloud.agent.Agent.<init>(Agent.java:239)
at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:475)
at com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:454)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:438)
at com.cloud.agent.AgentShell.start(AgentShell.java:539)
at com.cloud.agent.AgentShell.main(AgentShell.java:569)
[root@cloud ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether c8:1f:66:e0:27:dd brd ff:ff:ff:ff:ff:ff
altname enp1s0f0
3: eno2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether c8:1f:66:e0:27:de brd ff:ff:ff:ff:ff:ff
altname enp1s0f1
4: eno3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether c8:1f:66:e0:27:df brd ff:ff:ff:ff:ff:ff
altname enp2s0f0
5: eno4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether c8:1f:66:e0:27:e0 brd ff:ff:ff:ff:ff:ff
altname enp2s0f1
6: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 24:8a:07:e9:9b:20 brd ff:ff:ff:ff:ff:ff
inet 192.168.4.65/24 brd 192.168.4.255 scope global noprefixroute enp4s0
valid_lft forever preferred_lft forever
7: enp5s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 24:8a:07:e9:92:a0 brd ff:ff:ff:ff:ff:ff
8: idrac: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether d0:94:66:23:75:29 brd ff:ff:ff:ff:ff:ff
altname enp0s20u12u3
inet 169.254.0.2/24 brd 169.254.0.255 scope link dynamic noprefixroute idrac
valid_lft 504546sec preferred_lft 504546sec
inet6 fe80::5cc0:ddb6:ad4b:bc7b/64 scope link noprefixroute
valid_lft forever preferred_lft forever
9: cloudbr1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 72:f8:c2:f2:a4:7f brd ff:ff:ff:ff:ff:ff
10: cloudbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
inet 192.168.4.48/24 brd 192.168.4.255 scope global noprefixroute cloudbr0
valid_lft forever preferred_lft forever
11: cloud0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
inet 169.254.0.1/16 scope global cloud0
valid_lft forever preferred_lft forever
log entry:
2025-12-16 15:51:57,855 INFO [cloud.agent.AgentShell] (main:[]) (logid:) Agent started
2025-12-16 15:51:57,859 INFO [cloud.agent.AgentShell] (main:[]) (logid:) Implementation Version is 4.22.0.0
2025-12-16 15:51:57,860 INFO [cloud.agent.AgentShell] (main:[]) (logid:) agent.properties found at /etc/cloudstack/agent/agent.properties
2025-12-16 15:51:57,866 DEBUG [agent.properties.AgentPropertiesFileHandler] (main:[]) (logid:) Property [host] was altered. Now using the value [192.168.4.65@static].
2025-12-16 15:51:57,891 DEBUG [agent.properties.AgentPropertiesFileHandler] (main:[]) (logid:) Property [guid] was altered. Now using the value [a667d78d-f97e-34fa-8702-9390d1b5c3ff].
2025-12-16 15:51:57,892 DEBUG [agent.properties.AgentPropertiesFileHandler] (main:[]) (logid:) Property [port] was altered. Now using the value [8250].
2025-12-16 15:51:57,892 DEBUG [agent.properties.AgentPropertiesFileHandler] (main:[]) (logid:) Property [workers] was altered. Now using the value [5].
2025-12-16 15:51:57,893 DEBUG [agent.properties.AgentPropertiesFileHandler] (main:[]) (logid:) Property [zone] was altered. Now using the value [1].
2025-12-16 15:51:57,893 DEBUG [agent.properties.AgentPropertiesFileHandler] (main:[]) (logid:) Property [pod] was altered. Now using the value [1].
2025-12-16 15:51:57,893 DEBUG [agent.properties.AgentPropertiesFileHandler] (main:[]) (logid:) Property [consoleproxy.httpListenPort] has empty or null value. Using default value [443].
2025-12-16 15:51:57,894 DEBUG [agent.properties.AgentPropertiesFileHandler] (main:[]) (logid:) Property [ping.retries] has empty or null value. Using default value [5].
2025-12-16 15:51:57,894 DEBUG [agent.properties.AgentPropertiesFileHandler] (main:[]) (logid:) Property [host.lb.check.interval] has empty or null value. Using default value [null].
2025-12-16 15:51:57,894 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: resource
2025-12-16 15:51:57,894 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: guest.network.device
2025-12-16 15:51:57,894 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: local.storage.uuid
2025-12-16 15:51:57,894 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: LibvirtComputingResource.uuid
2025-12-16 15:51:57,894 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: port
2025-12-16 15:51:57,895 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: LibvirtComputingResource.name
2025-12-16 15:51:57,895 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: iscsi.session.cleanup.enabled
2025-12-16 15:51:57,895 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: host
2025-12-16 15:51:57,895 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: pod
2025-12-16 15:51:57,895 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: guid
2025-12-16 15:51:57,895 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: LibvirtComputingResource.id
2025-12-16 15:51:57,895 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: cluster
2025-12-16 15:51:57,895 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: public.network.device
2025-12-16 15:51:57,895 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: private.network.device
2025-12-16 15:51:57,895 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: zone
2025-12-16 15:51:57,895 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: domr.scripts.dir
2025-12-16 15:51:57,896 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: keystore.passphrase
2025-12-16 15:51:57,896 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: guest.cpu.mode
2025-12-16 15:51:57,896 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: vm.migrate.wait
2025-12-16 15:51:57,896 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: workers
2025-12-16 15:51:57,896 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Found property: hypervisor.type
2025-12-16 15:51:57,896 INFO [cloud.agent.AgentShell] (main:[]) (logid:) Defaulting to using properties file for storage
2025-12-16 15:51:57,897 INFO [cloud.agent.AgentShell] (main:[]) (logid:) Defaulting to the constant time backoff algorithm
2025-12-16 15:51:57,923 INFO [cloud.utils.LogUtils] (main:[]) (logid:) log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml
2025-12-16 15:51:57,924 INFO [cloud.agent.AgentShell] (main:[]) (logid:) Using default Java settings for IPv6 preference for agent connection
2025-12-16 15:51:57,924 DEBUG [agent.properties.AgentPropertiesFileHandler] (main:[]) (logid:) Property [developer] has empty or null value. Using default value [false].
2025-12-16 15:51:57,925 DEBUG [cloud.agent.AgentShell] (main:[]) (logid:) Checking to see if agent.pid exists.
2025-12-16 15:51:57,930 DEBUG [cloud.utils.ProcessUtil] (main:[]) (logid:) Executing command [bash -c echo $PPID ].
2025-12-16 15:51:57,948 DEBUG [cloud.utils.ProcessUtil] (main:[]) (logid:) Successfully executed process [3558631] for command [bash -c echo $PPID ].
2025-12-16 15:51:57,954 DEBUG [agent.properties.AgentPropertiesFileHandler] (main:[]) (logid:) Property [resource] was altered. Now using the value [com.cloud.hypervisor.kvm.resource.LibvirtComputingResource].
2025-12-16 15:51:57,982 DEBUG [agent.properties.AgentPropertiesFileHandler] (main:[]) (logid:) Property [enable.manually.setting.cpu.topology.on.kvm.vm] has empty or null value. Using default value [true].
2025-12-16 15:51:57,991 INFO [cloud.agent.Agent] (main:[]) (logid:) Initialising agent [id: 1, uuid: 4fbc87c7-81d8-44f6-b627-bf1f15d2a120, name: cloud.priv]
2025-12-16 15:51:57,992 DEBUG [agent.properties.AgentPropertiesFileHandler] (main:[]) (logid:) Property [private.network.device] was altered. Now using the value [cloudbr0].
2025-12-16 15:51:57,992 DEBUG [agent.properties.AgentPropertiesFileHandler] (main:[]) (logid:) Property [public.network.device] was altered. Now using the value [cloudbr0].
2025-12-16 15:51:57,994 DEBUG [utils.net.NetUtils] (main:[]) (logid:) Retrieving network interface [cloudbr0].
2025-12-16 15:51:57,995 DEBUG [utils.net.NetUtils] (main:[]) (logid:) Retrieving network interface [cloudbr0].
2025-12-16 15:51:57,995 DEBUG [utils.net.NetUtils] (main:[]) (logid:) Retrieving network params of NIC [name:cloudbr0 (cloudbr0)].
2025-12-16 15:51:57,997 DEBUG [utils.net.NetUtils] (main:[]) (logid:) Retrieving params of address [/192.168.4.48/24 [/192.168.4.255]] of NIC [name:cloudbr0 (cloudbr0)].
2025-12-16 15:51:57,997 ERROR [cloud.agent.AgentShell] (main:[]) (logid:) Unable to start agent: java.lang.NullPointerException: Cannot load from byte/boolean array because "m" is null
at com.cloud.utils.net.NetUtils.byte2Mac(NetUtils.java:500)
at com.cloud.utils.net.NetUtils.getNetworkParams(NetUtils.java:479)
at com.cloud.resource.ServerResourceBase.configure(ServerResourceBase.java:82)
at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.configure(LibvirtComputingResource.java:980)
at com.cloud.agent.Agent.<init>(Agent.java:239)
at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:475)
at com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:454)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:438)
at com.cloud.agent.AgentShell.start(AgentShell.java:539)
at com.cloud.agent.AgentShell.main(AgentShell.java:569)
Activity
boring-cyborg commentedon Dec 16, 2025
Thanks for opening your first issue here! Be sure to follow the issue template!
weizhouapache commentedon Dec 16, 2025
@siosios
can you share the output of
ip acommand ?siosios commentedon Dec 16, 2025
log entry:
weizhouapache commentedon Dec 17, 2025
@siosios
it looks like the
cloudbr0is misconfigured. the state is DOWN, and the mac address is00:00:00:00:00:00