From: Ravi <thi...@ya...> - 2010-09-27 14:54:13
|
When I run package network.scfq in GridSim application, I have the following error message. ------------ Reading network from C:\Users\Desktop\Grid Computing\gridsim-toolkit501beta\gridsim\examples\network\scfq\network.txt NetworkReader: File not found or weight[] is null. Starting to create one Grid resource with 3 Machines Finally, creates one Grid resource (name: Res_0 - id: 5) Error - router is NULL !! Creating a grid user entity with name = User_0, and id = 10 User_0:Creating 5 Gridlets Error - router is NULL !! Creating a grid user entity with name = User_1, and id = 14 User_1:Creating 5 Gridlets Error - router is NULL !! Creating a grid user entity with name = User_2, and id = 18 User_2:Creating 5 Gridlets Error - router is NULL !! Starting GridSim version 5.0 Entities started. User_1: Sending Gridlet #0 to Res_0 User_0: Sending Gridlet #4 to Res_0 Sim_system: No more future events Gathering simulation data. Exception in thread "User_0" java.lang.NullPointerException at network.scfq.NetUser.body(NetUser.java:134) at eduni.simjava.Sim_entity.run(Sim_entity.java:605) Exception in thread "User_1" java.lang.NullPointerException at network.scfq.NetUser.body(NetUser.java:134) at eduni.simjava.Sim_entity.run(Sim_entity.java:605) Exception in thread "User_2" java.lang.NullPointerException at network.scfq.NetUser.body(NetUser.java:134) at eduni.simjava.Sim_entity.run(Sim_entity.java:605) |