|
From: | thomas buehrmann |
Subject: | swarm_directory_objc_remove |
Date: | Thu, 26 Apr 2001 18:21:49 +0100 |
The SDG example works fine. Running the heatbug
example however, I get the following error message:
/src/Swarm/swarm/src/defobj/directory.m:507 swarm_directory_objc_remove
0 [sig] java 1000 stackdump:
Dumping stack trace to java.exe.stackdump
I also get a TclNotifier alert window saying 'The instruction at 0x... referenced memory at 0x... The memory could not be "read" '.
Running heatbugs in the swarm terminal using javaswarm,
in contrast, does work.
I also tried to combine the SDG and heatbugs
examples. After I successfully added the HeatSpace to the organization,
I tried to move the agents' schedule( incl. stepAgent) into a buildActions()
method within the SDG modelSwarm:
try {
User2d proto =
(User2d) userList.get(0);
Selector
sel = new Selector (proto.getClass (), "stepAgent", false);
actionForEach
=
modelActions.createFActionForEachHomogeneous$call
(userList,
new FCallImpl (this, proto, sel,
new FArgumentsImpl (this, sel, true)));
} catch (Exception e) {
System.err.println
("Exception stepAgent: " + e.getMessage ());
At this point I get the runtime error mentioned
above again (not with javaswarm).
I do not try to remove an object anywhere
in the program and create only 10 agents. Any idea?
Thanks.
[Prev in Thread] | Current Thread | [Next in Thread] |