Struggling to debug a problem with a geometryservice projectasync callcode (and I've verified the arguments)
Dim svcGeom As GeometryService = New GeometryService()
svcGeom.Url = "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"
AddHandler svcGeom.ProjectCompleted, AddressOf projectCompleted
AddHandler svcGeom.Failed, AddressOf svcGeom_Failed
svcGeom.ProjectAsync(gfxLyr.Graphics.ToList(), New SpatialReference("2838"))
StackTrace: at ESRI.ArcGIS.Client.Tasks.GeometryService.GetProjectParameter(IList`1 graphics, SpatialReference outSpatialReference, GeometryType& geomType) at ESRI.ArcGIS.Client.Tasks.GeometryService.ProjectAsync(IList`1 graphics, SpatialReference outSpatialReference, Object userToken) at ESRI.ArcGIS.Client.Tasks.GeometryService.ProjectAsync(IList`1 graphics, SpatialReference outSpatialReference) at SL1.MainPage.dlGeomComplete(Object sender, DownloadStringCompletedEventArgs e) at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e) at System.Net.WebClient.DownloadStringOperationCompleted(Object arg)I know that the error does not lie with the URL nor the event handlers since it never makes it there. The error I get is a null reference exception. I'm totally lost here...Thanks to anyone who can help,Ben SainsburyOregon MetroPortland, OR