swarm-support
[Top][All Lists]
Advanced

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

RE: event raised for error: InvalidOperation


From: Sven Thommesen
Subject: RE: event raised for error: InvalidOperation
Date: Fri, 11 May 2001 17:00:43 -0500

At 09:14 AM 5/11/01 +0200, you wrote:
Here is the code, thanks a lot...

Marcus,

I can confirm that I also get the aforementioned error message. This happens under the following conditions:

1. Swarm snapshot 02-10, java sim, running in gui mode
2. I have a 'stopSchedule' which executes 'stopRunning()' at a predetermined time step
3. 'stopRunning' executes 'getControlPanel().setStateStopped()'

This works fine, in the sense that the simulation halts when directed. If I then press QUIT, however, the offending error message appears. I have gone over my own code with a fine-tooth comb, and I cannot see that my code tries to call getCurrentTime() or anything else at that point.

FWIW, I have used this method to halt objC-based sims without problems for a long time, so the issue may be limited to the java version (or it may have been introduced by recent fixes?)

Sven


                 ==================================
  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]