The problem was that we didn't check on open of sequence if the table is a view, which is not allowed. We are now generating a proper error message for this case.