swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] Swarm Suppport for Exceptions


From: Marcus G. Daniels
Subject: Re: [Swarm-Support] Swarm Suppport for Exceptions
Date: Tue, 08 Nov 2005 20:55:06 -0700
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)

durga bhavani wrote:

Here is the Simulation

You declare a variable modelActions in buildActions in GroupModelSwarm that overrides the instance variable. Thus the instance varaible is never assigned and you get that null variable complaint.

Other problems that need to be fixed are asking for Selectors to methods that don't exist (e.g. "getvalue", "expertise_growth"), and sending the "addEmUp" to objects of the wrong class (it seems instances of Leaders are to be in leaderList, not instances of MyMathClass). You should only send messages to objects that have implementations of those methods.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]