We did some more testing on the new router code and found that the new data dates were not being handled correctly in some exceptional cases, such as when no route is found, causing a null pointer exception to be thrown. These changes require the dates to be present for all responses, and also simply output "null" in the case that the dates are null rather than throwing an exception. This is also handy in the case were the data was processed with the old routableBC maker code and don't have the new-format date values in them.
We did some more testing on the new router code and found that the new data dates were not being handled correctly in some exceptional cases, such as when no route is found, causing a null pointer exception to be thrown. These changes require the dates to be present for all responses, and also simply output "null" in the case that the dates are null rather than throwing an exception. This is also handy in the case were the data was processed with the old routableBC maker code and don't have the new-format date values in them.