[mapguide-users] selectAggregate error

Nandorov nandorov at gmail.com
Fri Sep 26 11:02:46 EDT 2008


hello,
i need some help. Do you know why i get the following error in this line?

$dataReader = $featureService->SelectAggregate($resId,
$layer->GetFeatureClassName(), $aggregateOptions);

where, $aggregateOptions is
$aggregateOptions->AddFeatureProperty($this->args['PROPERTYNAME']);
$aggregateOptions->SelectDistinct(true);

Index is out of range. Exception occurred in method GetItem at line 81 in
file
d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\common\foundation\System/DisposableCollection.cpp 
Index is out of range.
- MgFeatureServiceHandler.ProcessOperation line 83 file
d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\server\src\services\feature\FeatureServiceHandler.cpp
- MgOpSelectFeaturesSpatial.Execute line 110 file
d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\server\src\services\feature\OpSelectFeaturesSpatial.cpp
- MgServerSelectFeatures.SelectFeatures line 249 file
d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\server\src\services\feature\ServerSelectFeatures.cpp
- GetItem line 81 file
d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\common\foundation\System/DisposableCollection.cpp 

thanks ;)

-- 
View this message in context: http://www.nabble.com/selectAggregate-error-tp19690193p19690193.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list