MASON-INTEREST-L Archives

December 2011

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:
Wed, 21 Dec 2011 18:15:17 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (16 lines)
Reese, the leads for geomason are away for the holidays so you should expect a slow response on this one.  But we'll get to you as soon as we can.  If it's taking to long, send me a personal reminder.

Sean

On Dec 21, 2011, at 6:02 PM, Reese, Nathan wrote:

> Thanks for the great library and thorough documentation.  I stumbled upon Mason a couple of weeks ago and it has been a great help in quickly getting a simulation off the ground.
> 
> I have been using the GeoMason extension (1.1) and have found a bug in the GeomVectorField class.  The getGeometry method throws a NullPointerException if the MasonGeometry object does not contain any user data.  The getGeometry method also throws a ClassCastException if the MasonGeometry object contains user data that is not of type List<AttributeField>.  Line 387 and 388.  The MasonGeometry object does not require that the userData member be set and does not specify that the userData field have a type of List<AttributeField>.  I found this while trying to search the field for a particular MasonGeometry to see if it had been added or not.  For my purposes, a search using just the underlying JTS Geometry object would be preferred.  Is there any way to make the findGeometry method public?
> 
> Thanks,
> 
> Nathan
> 
> 

ATOM RSS1 RSS2