|
From: rashmita p. <ras...@gm...> - 2013-05-21 05:45:05
|
Hi,
We are trying to simulate the TLBO algorithm using GridSim version 5.0. We
have created the following scenario:
School - > Classrooms -> Teacher - > Students [ Each student has a
machine and instance of GridSim ] -> Task is assigned to the student.
During execution
1 -> 5 -> 5 -> 20 /
teacher
We observe that post completion of the tasks of each GridSim node. We get
the following error as seen below.
eduni.simjava.Sim_exception: Sim_system: Attempt to send to a null entity
detected.
at eduni.simjava.Sim_system.process_event(*
Sim_system.java:751*)
at eduni.simjava.Sim_system.run_tick(*Sim_system.java:549*)
at eduni.simjava.Sim_system.run(*Sim_system.java:1843*)
at gridsim.GridSim.startGridSimulation(*GridSim.java:518*)
at rashmita.thesis.TLBSchoolSimulator.main(*
TLBSchoolSimulator.java:142*)
*java.lang.NullPointerException*: GridSim.startGridSimulation() : Error -
you haven't initialized GridSim.
at gridsim.GridSim.startGridSimulation(*GridSim.java:523*)
at rashmita.thesis.TLBSchoolSimulator.main(*
TLBSchoolSimulator.java:142*)
Would you please be able to help us with this error ?
*Note:* We have called GridSim.init(1, Calendar.getInstance(), false);
before start of the execution of the tasks.
--
with regards...
*Rashmita pradhan.*
|