From: ye h. <hua...@gm...> - 2008-12-31 12:37:10
|
Hi, Marcos: I am working on GridSim4.1. By the way, it also seems RegionalGIS has some special requirement on the policy used on GridResource, I am using a self-defined policy extended from AllocPolicy, but the resources could not be recognized by RegionalGIS. It seems I need to re-check my own policy class carefully :-p Regards ye On 31 Dec, 2008, at 7:12 AM, Marcos Dias de Assuncao wrote: > > 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 > -- Ye Huang, Department of Informatics University of Fribourg / Pérolles 2 - Bld de Pérolles 90 1700 Fribourg, Switzerland e-mail: ye....@he..., ye....@un... http://diuf.unifr.ch/people/huangy/ Office: +41 26 429 65 95 |