|
From: Alex G. <fro...@ya...> - 2010-03-13 08:21:54
|
Hello,
when running the RegionalGIS example (example.regionalGIS) from the package examples if i change the number of Regional GIS to 1 (i.e only one RegionalGIS) i get the following exceptions:
///////////////////////////////////
Sim_system: No more future events
Gathering simulation data.
User_0: number of Global Resource = 0.
///////////////////////////////////
User_0: number of Global AR Resource = 0.
///////////////////////////////////
User_0: trying to ping Regional_GIS_0
-------- User_0 ----------------
null
-------- User_0 ----------------
User_0:%%%% Exiting body() at time 31.620026666666696
Exception in thread "router3" 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:605)
Exception in thread "router1" 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:605)
Exception in thread "router2" 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:605)
Any explanations?
Best regards,
Alex
|