[mapguide-trac] #1879: Maestro API - Fail to Create RuntimeMap

MapGuide Open Source trac_mapguide at osgeo.org
Sat Jan 21 12:21:22 EST 2012


#1879: Maestro API - Fail to Create RuntimeMap
----------------------------+-----------------------------------------------
   Reporter:  crispinatime  |       Owner:  jng        
       Type:  defect        |      Status:  new        
   Priority:  medium        |   Milestone:  Maestro-4.1
  Component:  Maestro       |     Version:             
   Severity:  major         |    Keywords:  Maestro API
External_id:                |  
----------------------------+-----------------------------------------------

Comment(by crispinatime):

 This issue hit a break on the Trace today and when I looked in the MG
 Server logs at the same instant I saw that one of my layers is failing
 because the .FeatureSource (Oracle in this case) is invalid.

 Please see below MapGuide trace and MGServer log.

 Obviously it's ideal to have all ones connections working, but Maestro
 should throw a meaningful error, rather than a NullRefEx


 System.NullReferenceException: Object reference not set to an instance of
 an object.
    at
 OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMapLayer.InitIdentityProperties(IVectorLayerDefinition
 vl) in
 E:\Projects\Maestro\OSGeo.MapGuide.MaestroAPI\Mapping\RuntimeMapLayer.cs:line
 281


 <2012-01-21T16:54:03>   4852    MapGuide Maestro API v4.0.0.6359
 ::1     Administrator
  Error: An exception occurred in FDO component.
         ORA-12170: TNS:Connect timeout occurred

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


More information about the mapguide-trac mailing list