ErrorRivEX fails with a stack overflow error. It is likely that you are processing a very large river network which is causing the recursive algorithms used by RivEX to encounter a stack overflow and fail.

SolutionA solution is to simplify the network by removing pseudo nodes. This is discussed here.