swarm-support
[Top][All Lists]
Advanced

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

Re: Java SimpleBug Bug


From: Marcus G. Daniels
Subject: Re: Java SimpleBug Bug
Date: 27 Mar 2001 12:03:55 -0800
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "JM" == Jacobo Myerston <address@hidden> writes:

JM> I was trying to run the Java version of SimpleBug and I go this
JM> error

[Jacobo sent me the files.]

The problem is that that code uses the lispAppArchiver to create the
modelSwarm (in ObserverSwarm.java buildObjects), assuming that the
SimpleBug.scm file will be there, but it is not in that tarball.

So, a backup use of the ModelSwarm constructor is needed.  Put the
code below after the "modelSwarm = ..." assignmentment.  (~ line 87 of
ObserverSwarm.java)

  if (modelSwarm == null)
      modelSwarm = new ModelSwarm (getZone ());

Meanwhile, I'll add better error checking in the relevant places..

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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