From: ye h. <hua...@gm...> - 2008-12-29 15:59:57
|
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) |