On the line: bool travel = fill.travel.Value; I am getting the following error:
bool travel = fill.travel.Value;
Nullable object must have a value
a
I had this happen because there was code like this:
bool? someVariable = (bool)someNullableBool;
The someNullableBool was null and this error was thrown.
The solution was to re-write it as:
bool? someVariable = (bool?)someNullableBool;