Opened 8 years ago

Closed 8 years ago

#2205 closed defect (fixed)

"Value cannot be null" on references tab in Resource Properties Dialog

Reported by: jng Owned by: jng
Priority: low Milestone: Maestro-5.0
Component: Maestro Version:
Severity: trivial Keywords:
Cc: External ID:

Description

Bring up the resource references tab on the properties for an Application Definition. Maestro errors out with the following:

System.ArgumentNullException: Value cannot be null.
Parameter name: identifier
   at OSGeo.MapGuide.MaestroAPI.Resource.ResourceIdentifier.GetExtension(String identifier) in c:\Program Files (x86)\Jenkins\jobs\Maestro trunk\workspace\OSGeo.MapGuide.MaestroAPI\Resource\ResourceIdentifier.cs:line 401
   at OSGeo.MapGuide.MaestroAPI.Resource.ResourceIdentifier.GetResourceType(String identifier) in c:\Program Files (x86)\Jenkins\jobs\Maestro trunk\workspace\OSGeo.MapGuide.MaestroAPI\Resource\ResourceIdentifier.cs:line 390
   at Maestro.Base.UI.ResourceIconCache.GetImageIndexFromResourceID(String resourceId) in c:\Program Files (x86)\Jenkins\jobs\Maestro trunk\workspace\Maestro.Base\UI\ResourceIconCache.cs:line 142
   at Maestro.Base.UI.ResourcePropertiesDialog.ReferenceWorker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e) in c:\Program Files (x86)\Jenkins\jobs\Maestro trunk\workspace\Maestro.Base\UI\ResourcePropertiesDialog.cs:line 945
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
   at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)

Change History (1)

comment:1 Changed 8 years ago by jng

Resolution: fixed
Status: newclosed

Fixed trunk (r7293) and 4.0.x (r7294)

Note: See TracTickets for help on using tickets.