internal error r_pipe read

SUGGESTED

On the highlighted read below, there is no record found.  It sets fstat to 5, which indicates no record found, and that is fine.  The problem is, it also throws an exception related to r_pipe read.  This read doesn't throw the pipe an exception if a record exists.  Does anybody have any ideas?

Here is the read statement that fails:

Here is the error: