If you examine the input data values in the statement generating the error, I think you will see at least one of them is NaN, which CVX can’t deal with.
NaN