On Sat, Feb 2, 2013 at 12:12 PM, Mark Coletti <[log in to unmask]> wrote:
On Thu, Jan 31, 2013 at 3:31 AM, Nick Malleson <[log in to unmask]> wrote:When I press 'stop' on the campus world model I get the following exception,
although the model keeps running. Not tried to debug this yet but thought
I'd post it FYI.
Error in ShapeFileExporter:write:
java.nio.BufferOverflowException
at java.nio.Buffer.nextPutIndex(Buffer.java:499)
at java.nio.HeapByteBuffer.putDouble(HeapByteBuffer.java:500)
at sim.io.geo.ShapeFileExporter.write(ShapeFileExporter.java:230)Ok, I was able to reproduce this error, and I'll fix it this weekend. Meanwhile, you can work around this problem by temporarily commenting out the ShapeFileExporter.write() call in finish(). One of the recent changes must've broken it. :-\