Skip to content

Issue With TandemAppExample5.java #217

@Astabol

Description

@Astabol

Error Message:
Starting TandemAppExample5...
Initialising...
Starting CloudSim version 7.0
0.0: Datacenter_0 is starting...
0.0: Edge0 is starting...
0.0: Edge1 is starting...
0.0: Aggr0 is starting...
0.0: Broker is starting...
Entities started.
0.0: Broker: Cloud Resource List received with 1 datacenter(s)
0.0: Broker: Trying to Create Vm #0 in Datacenter_0
0.0: Broker: Trying to Create Vm #1 in Datacenter_0
0.0: Broker: Trying to Create Vm #2 in Datacenter_0
0.0: Broker: Trying to Create Vm #3 in Datacenter_0
0.0: Broker: Trying to Create Vm #4 in Datacenter_0
0.0: Broker: Trying to Create Vm #5 in Datacenter_0
0.0: Broker: Trying to Create Vm #6 in Datacenter_0
0.0: Broker: Trying to Create Vm #7 in Datacenter_0
0.0: Datacenter_0.guestAllocator: Vm #0 has been allocated to NetworkHost #0
0.0: Datacenter_0.guestAllocator: Vm #1 has been allocated to NetworkHost #1
0.0: Datacenter_0.guestAllocator: Vm #2 has been allocated to NetworkHost #2
0.0: Datacenter_0.guestAllocator: Vm #3 has been allocated to NetworkHost #3
0.0: Datacenter_0.guestAllocator: Vm #4 has been allocated to NetworkHost #0
0.0: Datacenter_0.guestAllocator: Vm #5 has been allocated to NetworkHost #1
0.0: Datacenter_0.guestAllocator: Vm #6 has been allocated to NetworkHost #2
0.0: Datacenter_0.guestAllocator: Vm #7 has been allocated to NetworkHost #3
0.01: Broker: Vm #0 has been created in Datacenter #2, NetworkHost #0
0.01: Broker: Vm #1 has been created in Datacenter #2, NetworkHost #1
0.01: Broker: Vm #2 has been created in Datacenter #2, NetworkHost #2
0.01: Broker: Vm #3 has been created in Datacenter #2, NetworkHost #3
0.01: Broker: Vm #4 has been created in Datacenter #2, NetworkHost #0
0.01: Broker: Vm #5 has been created in Datacenter #2, NetworkHost #1
0.01: Broker: Vm #6 has been created in Datacenter #2, NetworkHost #2
0.01: Broker: Vm #7 has been created in Datacenter #2, NetworkHost #3
0.02: Broker: Sending NetworkCloudlet #0 to Vm #0
0.02: Broker: Sending NetworkCloudlet #1 to Vm #2
18.407448454478686: Broker: Sending Cloudlet #1084 to Vm #2
java.lang.ClassCastException: class org.cloudbus.cloudsim.Cloudlet cannot be cast to class org.cloudbus.cloudsim.network.datacenter.NetworkCloudlet (org.cloudbus.cloudsim.Cloudlet and org.cloudbus.cloudsim.network.datacenter.NetworkCloudlet are in unnamed module of loader 'app')
at org.cloudbus.cloudsim.network.datacenter.NetworkDatacenter.processCloudletSubmit(NetworkDatacenter.java:131)
at org.cloudbus.cloudsim.Datacenter.processEvent(Datacenter.java:148)
at org.cloudbus.cloudsim.core.SimEntity.run(SimEntity.java:453)
at org.cloudbus.cloudsim.core.CloudSim.runClockTick(CloudSim.java:500)
at org.cloudbus.cloudsim.core.CloudSim.run(CloudSim.java:751)
at org.cloudbus.cloudsim.core.CloudSim.startSimulation(CloudSim.java:182)
at org.cloudbus.cloudsim.examples.network.datacenter.TandemAppExample5.main(TandemAppExample5.java:110)
Unwanted errors happen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions