Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to split feature, by point, into 2 new features.

 var pFeatureEdit = lineToSplit.Feature as IFeatureEdit;
 var set = pFeatureEdit.Split(point);

When this feature has configured relation, I got exception.

Got next COM error: The field is not nullable [FIELDID] Where FIELDID - not nullable foreign key in database

Anybody know how to solve this issue?

UPD. When I split this feature using standard Split Tool in ArcMap - it splits successfully. This uses another method to split features?

share|improve this question
By "configured relation" Do you mean that once you have a relationship defined between this feature class and another feature class, the operaiton raises an error? – Jakub Sep 28 '12 at 15:51
yes. I define Relationship Class between these feature classes in ArcCatalog. – barbarian Oct 1 '12 at 10:57

You did not provide information as to if you were using .shp files, feature classes (i.e. .shp representation in a geodatabase), or a combination of the two as inputs into your operation. This is important because .shp files and geodatabases have distinctions on use of null columns. Specifically .shp files don't allow numeric nulls while feature classes do. This could have an influence on why your operation does not run properly.

share|improve this answer

Based on your comment I am pretty sure you are using ArcVIew license (or basic in 10.1). As a result you are running into a licensing restriction - you can't edit features and geometry of feature classes that participate in a relationship under a basic license.

Quoting; "you cannot edit data from connections to ArcSDE geodatabases, feature classes that participate in geometric networks or geodatabase topologies, feature-linked annotation, relationship classes, dimension feature classes, or parcel fabric layers. If you need to create or edit these types of data, you should upgrade your ArcGIS license to ArcEditor or ArcInfo."

Source: About Edit Sessions

share|improve this answer

Is the field property 'Allow NULL values' for the field in question set to 'No'? If it isn't a licencing issue, as Jakub suggests, this would be the first thing I check. enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.