[mapguide-trac] #708: Exceptions thrown on SELECTFEATURES instead of being handled gracefully.

MapGuide Open Source trac_mapguide at osgeo.org
Tue Sep 23 14:37:45 EDT 2008


#708: Exceptions thrown on SELECTFEATURES instead of being handled gracefully.
-------------------------+--------------------------------------------------
   Reporter:  jng        |       Owner:       
       Type:  defect     |      Status:  new  
   Priority:  high       |   Milestone:  2.1  
  Component:  Map Agent  |     Version:  2.0.1
   Severity:  critical   |    Keywords:       
External_id:             |  
-------------------------+--------------------------------------------------
 When doing a SELECTFEATURES operation via the mapagent interface,
 exceptions are being thrown for trivial reasons instead of being handled
 gracefully by the mapagent.

 Some examples using the Sheboygan data set.

 1) Do a vanilla query on
 Library://Samples/Sheboygan/Data/Parcels.FeatureSource on class: Parcels
 with no filter

 {{{
 Invalid argument(s): [1] = "2" The geometry is invalid because it has too
 few coordinates.
 Invalid argument(s): [1] = "2" The geometry is invalid because it has too
 few coordinates. Exception occurred in method MgLinearRing.MgLinearRing at
 line 37 in file
 d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\common\geometry\LinearRing.cpp
 }}}

 2) Do a vanilla query on
 Library://Samples/Symbolization/Highways/Data/Interstate.FeatureSource
 with class: interstate and no filter

 {{{
 Value for PREFIX property is null.
 Value for PREFIX property is null. Exception occurred in method
 MgNullableProperty.CheckNull at line 73 in file
 d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\common\foundation\Data/NullableProperty.cpp
 }}}

 3) Do a vanilla query on
 Library://Samples/Sheboygan/Data/BuildingOutlines.FeatureSource with
 class: BuildingOutlines and no filter

 {{{
 Argument is out of range.
 Argument is out of range. Exception occurred in method MgByte.MgByte at
 line 34 in file
 d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\common\foundation\Data/Byte.cpp
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/708>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list