Skip to content

Cannot load from byte/boolean array because "m" is null #12274

@siosios

Description

@siosios

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions