xyzf12 / cloudsim

Automatically exported from code.google.com/p/cloudsim
0 stars 0 forks source link

Null reference exception on HostDynamicWorkload::updateVmsProcessing #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a scenario with a large number of hosts (> 50) and virtual machines 
(>100).
2. Use HostDynamicWorkload class to simulate the hosts and make sure all hosts 
have sufficient resources to allocate all VMs.
3. Run the simulation.

What is the expected output? What do you see instead?
The simulation should run normally. Instead, a null reference exception is 
thrown on line 95 of the HostDynamicWorkload class. The method is 
updateVmsProcessing. It tries to retrieve a list of processing elements for a 
VM, but the list is returned as null. Then it tries to iterate on this list and 
the exception is thrown.

What version of the product are you using? On what operating system?

CloudSim 3.0 on Linux.

Please provide any additional information below.

Original issue reported on code.google.com by thiagot...@gmail.com on 3 Sep 2012 at 3:32

GoogleCodeExporter commented 9 years ago
Hi Thiago,

Can you please attach a sample class that shows the issue? Then, I'll try to 
fix it.

Thanks,
Anton

Original comment by anton.be...@gmail.com on 29 Oct 2012 at 7:49

GoogleCodeExporter commented 9 years ago
We don't have enough information to address this issue.

Original comment by rodrigo.calheiros on 29 Apr 2013 at 4:12