Open amiribrahim opened 2 years ago
After investigation, this is happening because the datacenter of type: net doesn't have PEs!
java.lang.Exception: net : Error - this entity has no PEs. Therefore, can't process any Cloudlets.
at org.cloudbus.cloudsim.Datacenter.<init>(Datacenter.java:104)
at org.cloudbus.cloudsim.sdn.physicalcomponents.SDNDatacenter.<init>(SDNDatacenter.java:61)
at org.cloudbus.cloudsim.sdn.example.SimpleExampleInterCloud.createSDNDatacenter(SimpleExampleInterCloud.java:293)
at org.cloudbus.cloudsim.sdn.example.SimpleExampleInterCloud.createPhysicalTopology(SimpleExampleInterCloud.java:231)
at org.cloudbus.cloudsim.sdn.example.SimpleExampleInterCloud.main(SimpleExampleInterCloud.java:152)
Still need your help to get the example running without such error or the subsequent runtime error that happens when getting AllHostList and AllSwitchList that belong to a null datacenter!
Tried to run the examples but getting the below error (tried both master and latest release 2.0.1-beta). The mvn clean install finished successfully. using java 1.8, with eclipse Version: 2021-09 (4.21.0)