[Mapguide-trac] [mapguide-trac] #2185: Error: Invalid argument(s): The value cannot be less than or equal to zero.

MapGuide Open Source trac_mapguide at osgeo.org
Thu Nov 22 00:44:33 PST 2012


#2185: Error: Invalid argument(s):         The value cannot be less than or equal
to zero.
-------------------------------+--------------------------------------------
 Reporter:  cmy                |         Owner:          
     Type:  defect             |        Status:  reopened
 Priority:  high               |     Milestone:          
Component:  Rendering Service  |       Version:  2.0.2   
 Severity:  trivial            |    Resolution:          
 Keywords:                     |   External_id:          
-------------------------------+--------------------------------------------
Changes (by cmy):

  * status:  closed => reopened
  * resolution:  duplicate =>


Comment:

 I do not know when it will cause this exception?

 root/tags/MAPGUIDE2.0.2/Server/src/Services/Rendering/ServerRenderingService.cpp

 1040        if (width <= 0 || height <= 0 || dpi <= 0 || scale <= 0.0 ||
 metersPerUnit <= 0.0)
 1041            throw new
 MgInvalidArgumentException(L"MgServerRenderingService.RenderForSelection",
 __LINE__, __WFILE__, NULL, L"MgValueCannotBeLessThanOrEqualToZero", NULL);




 <2012-11-15T09:26:22>           10.98.54.217    Anonymous
  Error: Invalid argument(s):
         The value cannot be less than or equal to zero.
  StackTrace:
   - MgRenderingServiceHandler.ProcessOperation line 83 file
 d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp
   - MgOpQueryFeatures.Execute line 125 file
 d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\rendering\OpQueryFeatures.cpp
   - MgServerRenderingService.QueryFeatures line 652 file
 d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\rendering\ServerRenderingService.cpp
   - MgServerRenderingService.RenderForSelection line 1041 file
 d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\rendering\ServerRenderingService.cpp
 Invalid argument(s):
 The value cannot be less than or equal to zero.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2185#comment:4>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list