AnsweredAssumed Answered

FieldException: Cannot set field on a immutable GeoEvent

Question asked by geonetadmin on Dec 17, 2013
Latest reply on Dec 17, 2013 by geonetadmin
Original User: LuisARG_Esri

I have developed a Processor that modify a GeoEvent. When it's done a set in a GeoEvent field, it's thrown the following exception
com.esri.ges.core.geoevent.FieldException: Cannot set field on a immutable GeoEvent

Why the GeoEvent is immutable? How can I convert the GeoEvent to mutable.
public GeoEvent process(GeoEvent geoEvent) throws Exception
{
        try
        {
         geoEvent.setField("RateOfTurn", new Integer(0));

Attachments

Outcomes