From: Marcos D. de A. <ma...@cs...> - 2009-02-14 03:43:39
|
Dear Jeyarani, please note that as the entities in a simulation are threads, sometimes you get an error message that is not very related to what is actually causing the problem. So, it is difficult to say what might be causing the problem in your case. Please check if in the policy you implemented you are setting the status of the gridlets properly before returning them to the user entity. Also, check if the user entity waits for the return of the gridlets before shutting the simulation down. Regards, Marcos On 10/02/2009, at 4:09 AM, Jeyarani Rajarathinam wrote: > Hi Friends, > I am using GridSim4.0 and I have created new internal policy > instead of FCFS. I get the following error. Please help me to > correct the problem > > JR > I have submitted 4 gridlets and the fourth gridlet is small > compared to rest. > > Sim_system: No more future events > Gathering simulation data. > GridResource_0: Warning - Gridlet #3 owned by User_0 is already > completed/finish > ed.Exception in thread "Thread-9" > java.lang.NullPointerExceptionTherefore, it is not being executed > again > > at Example8.body(Example8.java:107) > > at eduni.simjava.Sim_entity.run(Sim_entity.java:603) > ---------------------------------------------------------------------- > -------- > Create and Deploy Rich Internet Apps outside the browser with Adobe > (R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills > and code to > build responsive, highly engaging applications that combine the > power of local > resources and data with the reach of the web. Download the Adobe > AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/ > adobe-com_______________________________________________ > 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 |