swarm-support
[Top][All Lists]
Advanced

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

list shuffler (java)


From: Matteo Richiardi
Subject: list shuffler (java)
Date: Fri, 7 Jun 2002 14:51:41 +0200

dear list members,
i have a problem with the list shuffler, in a java application.
 
My code goes like this:
 
*** CODE STARTS HERE ***
import swarm.collections.ListImpl;
import swarm.collections.ListShufflerImpl;
private ListShufflerImpl listShuffler;
  listShuffler.shuffleWholeList((ListImpl) agentList);
*** CODE ENDS HERE ***
 
where agentList is a define list of agents.
 
I get this error msg:
 
*** ERROR MSG STARTS HERE ***
$ jdkswarm StartFirms
*** event raised for error: InvalidArgument
*** function: nil_method(), file: /src/Swarm/swarm/src/defobj/internal.m, line:
637
The message `shuffleWholeList:' was sent to nil.
*** execution terminating due to error
/src/Swarm/swarm/src/defobj/Symbol.m:173 -[Error(c) _raiseEvent:]
         0 [sig] java 1612895 open_stackdumpfile: Dumping stack trace to JAVA.EXE.s
tackdump
Signal 6
*** ERROR MSG ENDS HERE ***
 
 
I also tried simply with 
  listShuffler.shuffleWholeList(agentList)
but it did not work either.
 
Any suggestion ?
 
Many thanks in advance,
 
Matteo Richiardi
(Torino, Italy)

reply via email to

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