MASON-INTEREST-L Archives

October 2007

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Sean Luke <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Tue, 23 Oct 2007 00:52:41 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (87 lines)
Fixed.  The new Schedule was using an Object as its lock, and I'd  
forgotten that Objects aren't serializable or unique. I changed it
to a boolean[1], just like SimState has. Thanks, Bruno.

Sean

On Oct 22, 2007, at 10:14 AM, Sean Luke wrote:

> I'll poke around. My first guess is I forgot to set an inner
> classs version number.
>
> Sean
>
> On Oct 22, 2007, at 8:32 AM, Bruno Van Den Bossche wrote:
>
>> Hello all,
>>
>> There seems to be a problem with making checkpoints in simulations
>> with the current version in the CVS-repo. I attached the
>> stacktrace (taken from trying to make a checkpoint when running
>> the HeatBugs3D demo).
>>
>> It's just a java.io.NotSerializableException that pops up. But
>> the trace doesn't really show much more usable info to track the
>> problem down.
>>
>> Any ideas where it might go wrong?
>>
>>
>> greetings
>> Bruno
>>
>> --
>> Bruno Van Den Bossche
>> [log in to unmask]
>> http://www.ibcn.intec.UGent.be
>> java.io.NotSerializableException: java.lang.Object
>> at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>> at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
>> at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
>> at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
>> at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>> at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
>> at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
>> at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
>> at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>> at java.io.ObjectOutputStream.writeObject(Unknown Source)
>> at sim.engine.SimState.writeToCheckpoint(SimState.java:218)
>> at sim.engine.SimState.writeToCheckpoint(SimState.java:231)
>> at sim.display.Console.doSaveAs(Console.java:1752)
>> at sim.display.Console$40$1.run(Console.java:903)
>> at sim.display.Console.doChangeCode(Console.java:2471)
>> at sim.display.Console$40.actionPerformed(Console.java:899)
>> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
>> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
>> Source)
>> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
>> Source)
>> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>> at javax.swing.AbstractButton.doClick(Unknown Source)
>> at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
>> at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased
>> (Unknown Source)
>> at java.awt.Component.processMouseEvent(Unknown Source)
>> at javax.swing.JComponent.processMouseEvent(Unknown Source)
>> at java.awt.Component.processEvent(Unknown Source)
>> at java.awt.Container.processEvent(Unknown Source)
>> at java.awt.Component.dispatchEventImpl(Unknown Source)
>> at java.awt.Container.dispatchEventImpl(Unknown Source)
>> at java.awt.Component.dispatchEvent(Unknown Source)
>> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>> at java.awt.Container.dispatchEventImpl(Unknown Source)
>> at java.awt.Window.dispatchEventImpl(Unknown Source)
>> at java.awt.Component.dispatchEvent(Unknown Source)
>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>> Source)
>> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>> Source)
>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> at java.awt.EventDispatchThread.run(Unknown Source)
>

ATOM RSS1 RSS2