Skip to main content

Questions tagged [nullreferenceexception]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
2 answers

Getting Null Reference Exception when adding field to first layer in map using ArcObjects?

I am trying to add a field to first layer in the map here is my code ESRI.ArcGIS.Framework.IApplication app = ArcMap.Application; ESRI.ArcGIS.Framework.IDocument doc = app.Document; ESRI.ArcGIS....
Velugoti Venkateswarlu's user avatar
1 vote
1 answer

NullReference exception when casting a layer into IGxFile Interface

I'm doing a simple test of a tool that uses a dockable window in an ArcGIS Desktop Add-In. I have a button that opens the window which will be the form that interacts with my other classes. I'm trying ...
cevondanady's user avatar
3 votes
1 answer

Filter Points Layer by Polygon Layer

I come from the Java world and go straight to C# and ArcGis 10 (I have to make a simple task for the university). So this means I don't really know much of C# but I can live with it and don't know ...
Maistora's user avatar
  • 133