Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Getting selected items from map

On Sun, May 17, 2009 at 8:59 AM, Jody Garnett <jody.garnett@xxxxxxxxx> wrote:
>>     GetSelectedFeaturesFromLayer.getSelectedFeaturesFromLayerRestrictedToFIDs(selectedLayer,
>> null);
>> }
>>
>> and there, while calling getSelectedFeaturesFromLayerRestrictedToFIDs,
>> i get exception that schema is null.
>> getSelectedFeaturesFromLayerRestrictedToFIDs can be found here:
>> http://www.koders.com/java/fidF3B10E04E5583C0120063667A798B0E4FBC4599B.aspx?s=FeatureExportTask
>>
>> any ideas?
>
> Can you step through with the debugger?

I particular you are wanting to find out the class that getSchema() is
called on; it should be some kind of wrapper geoResourceObject;
probably checking if a georesource resolves to a FeatureType or
something.

Jody

>


Back to the top