[mapguide-trac] #1103: MgCooker: Crash on large map bounds

MapGuide Open Source trac_mapguide at osgeo.org
Sat Dec 19 02:19:07 EST 2009


#1103: MgCooker: Crash on large map bounds
----------------------+-----------------------------------------------------
 Reporter:  zspitzer  |         Owner:  ksgeograf
     Type:  defect    |        Status:  reopened 
 Priority:  low       |     Milestone:           
Component:  Maestro   |       Version:           
 Severity:  major     |    Resolution:           
 Keywords:  mgcooker  |   External_id:           
----------------------+-----------------------------------------------------
Changes (by zspitzer):

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

Comment:

 using the same map

 @echo off
 "D:\Program Files\OSGeo\MapGuideMaestro\MgCookerCommandline.exe" batch
 --mapdefinitions="Library://MAPS/MAP.MapDefinition" --basegroups="BASE"
 --scaleindex=14,15,16--
 mapagent="http://localhost/mapguide/mapagent/mapagent.fcgi"
 --username="Anonymous" --password="" --threadcount=16 --random-tile-order

 Update time:    12/19/2009 6:15:00 PM
 Current Map:    Library://MAPS/MAP.MapDefinition (1 of 1)
 Current Group:  BASE (1 of 1)

 Unhandled Exception: System.ArgumentOutOfRangeException: Index was out of
 range.
  Must be non-negative and less than the size of the collection.
 Parameter name: index
    at System.Collections.ArrayList.get_Item(Int32 index)
    at OSGeo.MapGuide.MaestroAPI.DoubleCollection.get_Item(Int32 idx)
    at OSGeo.MapGuide.MgCooker.Program.DisplayProgress(BatchMap map, String
 group
 , Int32 scaleindex, Int32 row, Int32 column, Boolean& cancel)
    at
 OSGeo.MapGuide.MgCooker.Program.bx_FinishRenderingTile(CallbackStates stat
 e, BatchMap map, String group, Int32 scaleindex, Int32 row, Int32 column,
 Boolea
 n& cancel)
    at OSGeo.MapGuide.MgCooker.BatchSettings.InvokeFinishRendering(BatchMap
 batch
 Map, String group, Int32 scaleindex, Int32 row, Int32 col)
    at OSGeo.MapGuide.MgCooker.RenderThreads.RunAndWait()
    at OSGeo.MapGuide.MgCooker.BatchMap.RenderScale(Int32 scaleindex,
 String grou
 p)
    at OSGeo.MapGuide.MgCooker.BatchMap.RenderGroup(String group)
    at OSGeo.MapGuide.MgCooker.BatchMap.Render()
    at OSGeo.MapGuide.MgCooker.BatchSettings.RenderAll()
    at OSGeo.MapGuide.MgCooker.Program.Main(String[] args)
    at OSGeo.MapGuide.MgCooker.Commandline.Program.Main(String[] args)

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


More information about the mapguide-trac mailing list