When a bcpDevkit application runs longer than 24 hours it fails with "Object reference not set to an instance of an object."

Description

When a bcpDevkit application runs longer than 24 hours, after instantiating BcpServiceBuilder before BcpServiceBuilder.Flush() is called, it fails with "Object reference not set to an instance of an object."

Solution

Currently the only solution is to run Flush() within 24 hours of instantiating BcpServiceBuilder. This will be addressed in a future update.