From: Marcos D. de A. <ma...@cs...> - 2008-12-31 06:13:08
|
Hi Ye, What version of GridSim are you using? I think I have come against this bug a while ago and I remember of fixing the GridSim version available at the trunk of the svn repository. I don't remember which version I fixed at that time. Regards, Marcos On 30/12/2008, at 2:59 AM, ye huang wrote: > Hi, dear all: > > I just encountered a problem while using RegionalGIS recently. > Within RegionalGIS demo of GridSimDemo, I tried to decrease the > "num_GIS", (class: ExampleGIS, line 41). > > I was prompted the following error when I decreased its value to 1. > It seems if I need to utilize RegtionalGIS, I should generate at > least two regionalGIS, even one of it is empty, right? > > Thanks! > Best > ye > > Exception in thread "Thread-49" java.lang.NullPointerException > at RegionalGIS.NetUserGIS.body(NetUserGIS.java:108) > at eduni.simjava.Sim_entity.run(Sim_entity.java:603) > Exception in thread "Thread-53" Exception in thread "Thread-52" > Exception in thread "Thread-54" java.lang.NullPointerException > at gridsim.net.RIPRouter.dequeue(Unknown Source) > at gridsim.net.RIPRouter.processInternalEvent(Unknown Source) > at gridsim.net.RIPRouter.processEvent(Unknown Source) > at gridsim.net.Router.body(Unknown Source) > at eduni.simjava.Sim_entity.run(Sim_entity.java:603) > java.lang.NullPointerException > at gridsim.net.RIPRouter.dequeue(Unknown Source) > at gridsim.net.RIPRouter.processInternalEvent(Unknown Source) > at gridsim.net.RIPRouter.processEvent(Unknown Source) > at gridsim.net.Router.body(Unknown Source) > at eduni.simjava.Sim_entity.run(Sim_entity.java:603) > java.lang.NullPointerException > at gridsim.net.RIPRouter.dequeue(Unknown Source) > at gridsim.net.RIPRouter.processInternalEvent(Unknown Source) > at gridsim.net.RIPRouter.processEvent(Unknown Source) > at gridsim.net.Router.body(Unknown Source) > at eduni.simjava.Sim_entity.run(Sim_entity.java:603) > > > > > > ---------------------------------------------------------------------- > -------- > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users Marcos Dias de Assuncao Grid Computing and Distributed Systems (GRIDS) Laboratory Department of Computer Science and Software Engineering The University of Melbourne, Australia Email: ma...@cs... ------------- "It is well enough that people of the nation do not understand our banking and monetary system, for if they did, I believe there would be a revolution before tomorrow morning." Henry Ford |